FrenchYeti / interruptor

Human-friendly cross-platform system call tracing and hooking library based on Frida's Stalker
Other
324 stars 45 forks source link

How SVC hooking is implemented #9

Closed ghost closed 1 year ago

ghost commented 2 years ago

How is SVC / syscall hooking is implemented?

If someone tries to bypass Frida by using syscalls directly without libc wrapper will we detect them? For example some packers do that

FrenchYeti commented 1 year ago

Interrutor use only instruction level hooking. There is only two features temporary based on function hooking : followingThread depending on libc, and startOnLoad depending on linker64.

Interruptor uses following strategy :