
Emulators(exception/native)
86
•Abusing Java Exception handling subsystem
–Call chain of functions executing the exploit
code into the Exception handlers
–Building this chain by reusing exceptions
thrown by mis-called standard JRE functions
•Abusing JRE native methods
–Using obscure native methods like
Math.hypot (thanks to @mihi42)
•NOTE: if the emulator is not able to run the
code, the AV will not be able to see the exploit,
as the exploit flow will be revealed only when
the code is actually executed