Skip to content
This repository was archived by the owner on Mar 29, 2025. It is now read-only.

A couple of methods for detecting Frida on Android.

Notifications You must be signed in to change notification settings

muellerberndt/frida-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Frida Detection Examples

Some random ideas for detecting Frida instrumentation from within a process:

  • Scan all local TCP ports, sending a D-Bus message to each port to identify fridaserver.
  • Scan text sections for a string found inside frida-gadget*.so / frida-agent*.so. File operations are implemented in ASM so prevent easy bypassing with libc function hooks.

These examples were developed to accompany a blog post. Note that copy/pasting this into your own code will not guarantee any meaningful protection.