Skip to content

Commit

Permalink
randomise ekko XOR key
Browse files Browse the repository at this point in the history
  • Loading branch information
armysick committed Nov 20, 2024
1 parent 50cd340 commit e8809d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion implant/sliver/ekko/ekko.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ekko

import (
"crypto/rand"
"log"
"syscall"
"unsafe"
Expand Down Expand Up @@ -144,7 +145,8 @@ func ekko(sleepTime uint64) error {
var RopProtRX CONTEXT
var RopSetEvt CONTEXT

keybuf := [16]uint8{0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55}
var keybuf [16]byte
rand.Read(keybuf[:])

var Key, Img UString

Expand Down

0 comments on commit e8809d9

Please sign in to comment.