Skip to content
Back to skills

Android Ssl Pinning Bypass

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 11 views
  • Added November 17, 2026
securityrusttestingapibackendsecurity

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill android-ssl-pinning-bypass --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Ssl Pinning Bypass?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Ssl Pinning Bypass
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-android-ssl-pinning-bypass/badge)](https://www.skillsdirectory.com/skills/anandjogawade-android-ssl-pinning-bypass)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android-ssl-pinning-bypass
description: 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.
---

# 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`.

## Modern / rare techniques
- **Native / BoringSSL pinning** (incl. Flutter) — hook `SSL_CTX_set_custom_verify` with Frida (see `android-native-lib-analysis`, `android-crossplatform-flutter-rn-xamarin`).
- **Spawn-gating** (`frida -f ... --no-pause`) to beat pinning set up at startup before you can attach.
- Combine with `android-root-antidebug-bypass` when the app also detects root/Frida and refuses to run.

## Bypass / evasion
If the app kills itself under Frida, apply anti-root/anti-Frida hooks first (`android-root-antidebug-bypass`), then unpin; for gadget-injected (non-root) flows use `objection patchapk`.

## Escalation / chaining
Unlocks the entire backend for `android-network-cleartext-tls` and `android-backend-api-testing`/`api-security` — do this early. Also enables MITM content injection for `android-webview-attacks`.

## Backend & tooling
Preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike). Needs the user's device/emulator (Frida-server matching arch, or objection patchapk) + Burp/mitmproxy; route through Burp if a Burp MCP is present. Windows-local last resort. See `zazy-orchestrator`.

## Verification (background, before reporting)
Confirm previously-pinned HTTPS traffic is now visible in the proxy (a real request/response appears) after the hook/patch — that is the verification. Re-confirm the channel stays intercepted across app restart.

## Evidence
Which method worked, the hook/patch applied, and proxied traffic from the "protected" channel. Remediation note: pinning alone is not anti-tamper — combine with root/Frida detection, integrity checks, and attestation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.