Skip to content

SSL Pinning Bypass for iOS — iptables (OpenVPN + iptables tr...#2039

Open
carlospolop wants to merge 1 commit intomasterfrom
update_SSL_Pinning_Bypass_for_iOS___iptables__OpenVPN___i_20260320_125641
Open

SSL Pinning Bypass for iOS — iptables (OpenVPN + iptables tr...#2039
carlospolop wants to merge 1 commit intomasterfrom
update_SSL_Pinning_Bypass_for_iOS___iptables__OpenVPN___i_20260320_125641

Conversation

@carlospolop
Copy link
Collaborator

🤖 Automated Content Update

This PR was automatically generated by the HackTricks News Bot based on a technical blog post.

📝 Source Information

  • Blog URL: https://github.com/SahilH4ck4you/iOS-SSL-pinning-bypass-without-jalibreak
  • Blog Title: SSL Pinning Bypass for iOS — iptables (OpenVPN + iptables transparent proxy setup)
  • Suggested Section: Mobile Pentesting -> iOS Pentesting (or Android Applications Pentesting) -> Burp Suite Configuration / MITM / SSL Pinning Bypass (add subsection: Transparent proxying via OpenVPN + iptables REDIRECT)

🎯 Content Summary

What this repository is
A GitHub repo titled “SSL Pinning Bypass for iOS — iptables” that provides bash scripts to build a repeatable traffic interception lab for iOS apps without jailbreaking, by forcing the device’s traffic through a researcher-controlled gateway and then transparently redirecting HTTP/HTTPS (80/443) to a local interception proxy (e.g., Burp Suite or mitmproxy) using OpenVPN + iptables NAT.

Importan...

🔧 Technical Details

  1. Transparent interception via VPN + iptables REDIRECT: Put a target device behind an OpenVPN tunnel so all traffic reaches a controlled Linux gateway on tun0, then add iptables NAT rules that redirect TCP flows destined to ports 80 and 443 to a local interception proxy port (e.g., 8080). This forces traffic into the proxy without configuring a client-side proxy per app/device, enabling scalable testing and capture of app traffic.

    2) “Invisible proxying” requirement for transparent mode: When redirecting traffic at L3/L4, the proxy must accept connections that were not explicitly configured to talk to it (i.e., transparent mode). Tools like Burp Suite support this via an “invisible proxying” option so the proxy can handle requests originally intended for arbitrary hosts/ports.

    3) Trust establishment for HTTPS decryption: To decrypt HTTPS in a MITM proxy, install the proxy’s CA on the device so t...

🤖 Agent Actions

Updated burp-configuration-for-ios.md with a new subsection covering transparent interception through an OpenVPN gateway plus iptables PREROUTING/POSTROUTING NAT, Burp invisible proxying, CA trust requirements, and the key limitation that this does not itself bypass real certificate pinning.

I kept the change in a single existing iOS Burp page, added the missing technical workflow and example rules, and appended a final ## References section with the GitHub repo and PortSwigger invisible proxy documentation. Verified the result with a file reread and git diff; no broader test/build step was run.


This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.

@carlospolop
Copy link
Collaborator Author

🔗 Additional Context

Original Blog Post: https://github.com/SahilH4ck4you/iOS-SSL-pinning-bypass-without-jalibreak

Content Categories: Based on the analysis, this content was categorized under "Mobile Pentesting -> iOS Pentesting (or Android Applications Pentesting) -> Burp Suite Configuration / MITM / SSL Pinning Bypass (add subsection: Transparent proxying via OpenVPN + iptables REDIRECT)".

Repository Maintenance:

  • MD Files Formatting: 954 files processed

Review Notes:

  • This content was automatically processed and may require human review for accuracy
  • Check that the placement within the repository structure is appropriate
  • Verify that all technical details are correct and up-to-date
  • All .md files have been checked for proper formatting (headers, includes, etc.)

Bot Version: HackTricks News Bot v1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant