One-click SSL-Pinning Bypass Setup

I'm leading the Research at Credshields, and Pentest teams at Cobalt Labs and HackerOne. I occasionally blog about my findings and adventures in pentesting.
Search for a command to run...

I'm leading the Research at Credshields, and Pentest teams at Cobalt Labs and HackerOne. I occasionally blog about my findings and adventures in pentesting.
No comments yet. Be the first to comment.
Overview During a recent pentest of an iOS health application (let's call it MedVault), I came across something interesting. The app was using custom URL schemes for deep linking but had no Universal

Analysis and PoC of Damn Vulnerable DeFi Level 06 - Selfie

Analysis and PoC of Damn Vulnerable DeFi Level 05 - The Rewarder

Analysis and PoC of Damn Vulnerable DeFi Level 04 - Side Entrance

Analysis and PoC of Damn Vulnerable DeFi Level 03 - Truster

Android app Pentests can become torturous when you don't have the right environment setup.
This of course refers to the SSL-pinning that is implemented in the apps which prevent Security Researchers from intercepting the traffic.
There are a lot of great tutorials on the internet which tell you the easy way to bypass SSL pinning and set up your environment. (Linked them below).
I've often found myself doing the same steps again and again whenever I need a new environment installed or if I'm working on a new system.
So using some publicly available resources and using my poor bash scripting skills, I've written a script that does all this for me. You can find it here - Frida Setup

frida_setup.sh to start the installer.Here's what the script does in the background.
frida and frida-tools using pip. Don't forget to export the installed path otherwise, sometimes it does not work by default.export PATH=$PATH:/home/<your_user>/.local/bin
Here's what you need to do after the Android reboots.
Burp > Proxy > Options and add a Proxy listener for your android.
adb shell and run the frida-server from /data/local/tmp.frida2.js OR frida.js script provided in the Github repository to bypass SSL Pinning - frida -U -f <package_name> -l frida2.js --no-pause
frida-ps -U | grep "your_app"
Note: Recommend using frida2.js instead of frida.js
References