-
Notifications
You must be signed in to change notification settings - Fork 30
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
my shellcode run, but the src exe cann't execute #7
Comments
@qiushifengyu I'm assuming you're injecting into a PE for Windows, because you said exe. On Windows, binjection will automatically add a JMP back to the original entry point to the end of your shellcode. This is where the injection is happening:. There are two possibilities I can see:
Are you able to step through the binjected binary in a debugger and see which of these is the case? Thanks! |
yes,I see.thank you very much,I will debug my shellcode。 |
@qiushifengyu Please let me know which of those it turns out being. If it's number 1, I'll close the issue, but if it's number 2, I'll have to fix something :) |
thanks a lot, I debuged my sc.I have RET before before jmp back. I use the SRDI make my dll to shell code |
is the code cave completed? |
Code cave detection is implemented, but not actually used for Windows. In our experiments, we found that changes to the windows compiler have basically removed most simple (continuous) code caves from PE binaries. We have not implemented code cave chaining yet, which is the only thing that might work on some programs. The method we're currently using adds a new section. This seems to be the most stable. |
yes,it is seems to be the most stable, but can't bypass AV |
@awgh First of all thank you and your team for binjection! 😊 I'm running into the same problem as @tooBugs: Shell code runs, but source file won't be executed What's weird is that shell code and source file are both simple hello world programs, which work individually and don't crash. Here are the steps to reproduce:
I thought that maybe the source file cannot print the string to stdout, but is actually running - therefore I also tried an executable that creates a file, but also that didn't happen. The executable works fine individually. Do you know what the issue could be here? Thanks! |
my shellcode run, but the src exe cann't execute
The text was updated successfully, but these errors were encountered: