SSLPinDetect Advanced SSL Pinning Detection for Android Secu...#1375
Merged
carlospolop merged 2 commits intomasterfrom Sep 3, 2025
Conversation
…droid Sec... - Remove searchindex.js (auto-generated file)
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://petruknisme.medium.com/sslpindetect-advanced-ssl-pinning-detection-for-android-security-analysis-1390e9eca097 Content Categories: Based on the analysis, this content was categorized under "Mobile Application Pentesting -> Android -> SSL/TLS Pinning (Detection & Bypass) [add a Static Detection subsection referencing SSLPinDetect and pattern examples]". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
ef47d69 to
7b4b7a7
Compare
Collaborator
Author
|
merge |
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
…vanced_SSL_Pinning_Detection_for_A_20250901_123952 SSLPinDetect Advanced SSL Pinning Detection for Android Secu...
carlospolop
added a commit
that referenced
this pull request
Sep 29, 2025
…vanced_SSL_Pinning_Detection_for_A_20250901_123952 SSLPinDetect Advanced SSL Pinning Detection for Android Secu...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
SSLPinDetect
Overview
SSLPinDetect is an open‑source static-analysis utility to quickly locate SSL/TLS pinning logic in Android apps. It decompiles an APK to
Smaliand scans for curated patterns covering popular frameworks and custom implementations, returning precise file paths, line numbers, and code previews to guide further analysis.Why it matters
SSL pinning thwarts man‑in‑the‑middle (MITM) interception during...
🔧 Technical Details
Static pattern discovery of SSL pinning in Android Smali: Decompile an APK with apktool, then scan Smali using pre‑compiled regex signatures that target known pinning constructs (OkHttp CertificatePinner usage, custom javax.net.ssl.X509TrustManager.checkServerTrusted, SSLContext.init with custom managers, and Network Security Config XML). The tool returns file/line/snippet, enabling fast navigation to enforcement points that matter for deeper code review or runtime testing.
Customizable rulesets for broader coverage: Maintain a JSON rules file (or use the public smali-sslpin-patterns set) to add signatures for proprietary libraries or app‑specific pinning styles. This turns the approach into a reusable playbook: define bytecode identifiers and method names, scan at scale, and triage matches by location and preview.
🤖 Agent Actions
I explored the Mobile Application Pentesting -> Android content and found that while SSL/TLS pinning bypass is covered, there wasn’t a concise “Static detection” subsection to quickly locate pinning logic during static analysis.
What I updated:
Files modified:
No new files were created.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
🗑️ File Cleanup