February 2012
Intermediate to advanced
800 pages
23h 55m
English
OllyDbg has an easy (if undocumented) way to analyze shellcode. Follow these steps to use this approach:
Copy shellcode from a hex editor to the clipboard.
Within the memory map, select a memory region whose type is Priv. (This is private memory assigned to the process, as opposed to the read-only
executable images that are shared among multiple processes.)
Double-click rows in the memory map to bring up a hex dump so you can examine the contents. This region should contain a few hundred bytes of contiguous zero bytes.
Right-click the chosen region in the Memory Map window, and select Set Access ▶ Full Access to give the region read, write, and execute permissions.
Return to the memory dump window. Highlight a region of zero-filled ...