I am new to the ollydbg world- I am in the middle of injecting shellcode (created with msfvenom...) into a small PE, and during debugging, I can't get it to halt at the breakpoints I set.

If I run the PE, the shellcode successfully gives me a reverse shell, but since I don't reset the register to the proper address, the actual PE program never runs. I realize I need to set the stack to point back to the beginning of the actual program, but I can't do that without it honoring the breakpoint I set.

For more detail- it appears to be terminating after a loop, but I can't figure out why it would terminate as if it is an error, yet still properly gives me a shell. Any help would be greatly appreciated!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.