Frida-libcurlUnpinning
Frida-libcurlUnpinning copied to clipboard
A Frida script to bypass libcurl (NDK) SSL-Pinning protection in Android apps.
Introdution
English | 中文
Bypass libcurl (NDK) SSL-Pinning protection presented in some Android apps.
Pre-requisites
- Frida access to your mobile device
Usage
Spawn mode
frida -U -f com.example --no-pause -l Frida-libcurlUnpinning.js
U
: Connect to remote devicef
: Spawn specified app--no-pause
: Resume main thread after spawning appl
: Load & run script
Attach mode (Recommended)
frida -U -F -l Frida-libcurlUnpinning.js
U
: Connect to remote deviceF
: Attach to foreground appl
: Load & run script
Example
Credits
- iOS libcurl hooking by @Nevermoe
Q & A
- Q: How does it work?
- A: It’s just ~~a balloon stretched over a cup~~. Jk, it simply hooks curl_easy_setopt and blocks options related to SSL-Pinning.