mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
44 lines
1.5 KiB
Markdown
44 lines
1.5 KiB
Markdown
# API Reference — Performing Mobile App Certificate Pinning Bypass
|
|
|
|
## Libraries Used
|
|
- **subprocess**: Execute frida, objection, apktool, adb commands
|
|
- **pathlib**: Read decompiled APK smali files
|
|
|
|
## CLI Interface
|
|
```
|
|
python agent.py detect --apk app.apk
|
|
python agent.py frida --package com.example.app [--device emulator-5554]
|
|
python agent.py objection --package com.example.app
|
|
python agent.py proxy
|
|
```
|
|
|
|
## Core Functions
|
|
|
|
### `detect_pinning_implementation(apk_path)` — Static APK analysis
|
|
Decompiles APK with apktool. Searches smali for pinning indicators:
|
|
OkHttp CertificatePinner, X509TrustManager, network_security_config,
|
|
WebView SSL error handler, Conscrypt TrustManagerImpl, Certificate Transparency.
|
|
|
|
### `run_frida_bypass(package_name, device_id)` — Dynamic Frida bypass
|
|
Injects JavaScript to bypass: TrustManagerImpl.verifyChain, OkHttp CertificatePinner.check,
|
|
WebViewClient.onReceivedSslError.
|
|
|
|
### `run_objection_bypass(package_name)` — Objection framework bypass
|
|
Runs `android sslpinning disable` via objection exploration mode.
|
|
|
|
### `check_proxy_setup()` — Verify interception environment
|
|
Checks: Android proxy settings, system CA certificates, user-installed CA certs.
|
|
|
|
## Pinning Strength Classification
|
|
| Level | Criteria |
|
|
|-------|----------|
|
|
| STRONG | 3+ pinning implementations detected |
|
|
| MODERATE | 1-2 implementations |
|
|
| NONE | No pinning indicators found |
|
|
|
|
## Dependencies
|
|
```
|
|
pip install frida-tools objection
|
|
```
|
|
System: apktool, adb (Android Debug Bridge)
|