Skip to Main Content
Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
book

Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals

by James C Foster
April 2005
Intermediate to advanced content levelIntermediate to advanced
700 pages
20h 39m
English
Syngress
Content preview from Sockets, Shellcode, Porting, and Coding: Reverse Engineering Exploits and Tool Coding for Security Professionals
address in our attack string, we can copy the value of this register into EIP, which now
points to our attack string.
The process involved with the shared library method is somewhat more complex
than returning directly to the stack. Instead of overwriting the return address with an
address on the stack, the return address is overwritten with the address of an instruction
that will copy the value of the register pointing to the payload into the EIP register.To
redirect control of EIP with the shared library technique, you need to follow these steps
(see Figure 12.17):
1. Assume register EAX points to our payload and overwrite the saved return
address ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

32/64-Bit 80x86 Assembly Language Architecture

32/64-Bit 80x86 Assembly Language Architecture

James Leiterman

Publisher Resources

ISBN: 9781597490054