Universally (Un)Reliable Frida Instrumentation
summary
Shows concrete, reproducible techniques: memory patching replaces pinned SHA‑256 hashes in memory (succeeds for some pins but misses values spread across multiple structures), reverse pointer-walking locates X.509 structs by starting from CA names and walking back to BoringSSL structures, and pattern scanning builds a partial-structure fingerprint to find and replace certs — enough to substitute a Burp cert in some Android configs. Introduces an eBPF Procmon-style tool (Fremont/Frimon) that traces syscalls and file descriptors against RASP, and demos React Native/Hermes UI hooks and WebView remote debugging.
AI-written summary · about
chapters (16)
- 0:00Introduction to unreliable instrumentation
- 2:25What is Frida tool
- 3:47SSL pinning basics
- 6:11Memory patching approach
- 10:38Patching X.509 certificates
- 17:11Finding structures in memory
- 23:27Results of memory patching
- 27:16Demo bypassing X.509 pinning
- 29:46Second approach: procman for Android
- 34:23Limitations of Fremont
- 34:46UI instrumentation attempts
- 38:11React Native and Hermes engine
- 40:57WebView instrumentation
- 41:59Android UI specifics
- 42:41Other instrumentation techniques
- 43:01Conclusion and Q&A
