Skip to content

A simple way to spoof return addresses using an exception handler

Notifications You must be signed in to change notification settings

gmh5225/Exception-Ret-Spoofing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Exception Ret Spoofing

A simple and minimalistic way to spoof return addresses using an exception handler

Pros & Cons

Pros:

  • Very easy to implement
  • Very easy to use
  • Can easily be used with other exceptions/gadgets

Cons:

  • Very slight but noticeable performance decrease when used in loops or frequently called hooks
  • Relies on the preservation of the nonvolatile GPRs of the x64 calling convention

Results

Successful_Call Successful Return

About

A simple way to spoof return addresses using an exception handler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%