Structured Exception Handler Based Stack Overflow
Structured Exception Handler Based Stack Overflow
• The last steps of exploiting and bypassing SEH protection is the usage
of POP, POP and RET operations.
• By performing two POP operations we can remove the top entries of
the stack.
• And then with RETURN we can take and execute the memory address
and the instructions on that address.
• That address will be the next SEH that will be placed on EIP for
executing.
•
Junk = A*780
NOP sleed
Shell code
Junk