← ClaudeAtlas

android-ssl-pinning-bypasslisted

Bypass Android certificate pinning four ways — objection/Frida runtime hooks (universal unpinning scripts), network-security-config user-CA patch, API-23 downgrade, and reversing custom TrustManager/OkHttp pinning. Tier 1. Use when proxied HTTPS fails due to pinning. Aligns to OWASP MASTG MASVS-NETWORK.
AnandJogawade/Zazy-Pentest-Plugin-for-Claude · ★ 26 · Testing & QA · score 82
Install: claude install-skill AnandJogawade/Zazy-Pentest-Plugin-for-Claude
# Android Certificate Pinning Bypass Pinning hides the backend from your proxy. Defeat it so you can test the API — the real impact lives there. ## Trigger phrases `ssl pinning, certificate pinning, pinning bypass, objection sslpinning, frida unpinning, trustmanager, okhttp certificatepinner, network security config user ca` ## Method (four approaches — try in order) 1. **A — objection + Frida (runtime hook, fastest):** - Rooted/Frida-server device: `objection -g <package> explore` → `android sslpinning disable`. - No root: `objection patchapk -s target.apk && adb install target.objection.apk`, then the same. - Universal Frida scripts: - `frida -U -f <package> --codeshare pcipolloni/universal-android-ssl-pinning-bypass-with-frida --no-pause` - `frida -U -f <package> --codeshare akabe1/frida-multiple-unpinning --no-pause` 2. **B — trust user CA via network-security-config (API 24+):** patch `res/xml/network_security_config.xml`: ```xml <trust-anchors><certificates src="user"/><certificates src="system"/></trust-anchors> ``` repackage (`apktool b` + `uber-apk-signer`) and install. 3. **C — API-23 downgrade:** lower `minSdk`/`targetSdk` to 23 in the manifest so the user CA store is trusted by default; repackage. 4. **D — reverse custom pinning:** `d2j-dex2jar app.apk` → JD-GUI, find the validation method; or `objection` → `android hooking search classes TrustManager` and hook `OkHttp CertificatePinner` / `TrustManagerImpl.verifyChain`. ## Moder