How to Run Shellcode in OllyDbg
July 2, 2016
Running Shellcode in OllyDbg
- Copy shellcode to clipboard
- Within Memory Map select a priv region
- Double-click rows to bring up hex dump
- Right-click in Memory Map window select Set Access -> Full Access
- This gives the shellcode read, write, execute permisions
- Return to Mem Dump Windo, highlight a region of zero-filled bytes large enough for shellcode.
- Right-click and select Binary -> Binary Paste
- Set EIP to shellcode by right-clicking an instruction in the disassemble window and selecting New Origin Here