SEH Based Buffer Overflow
SEH 101

Exploring TEB / TIB / SEH Chains
Memory Structures



Actual Memory Structures














Exploiting SEH Overflow
Intro
Confirming the Crash





Confirming SEH Record Offset




POP POP RET
ROP Chaining: Return Oriented Programming

Finding POP POP RET


Overwriting SEH Record and Subverting Code Execution Flow



Adding Shellcode


Jumping Over to Shellcode

Exploit


Summary


References
Last updated
