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
49 lines
1.7 KiB
Markdown
49 lines
1.7 KiB
Markdown
# API Reference: iOS App Reverse Engineering with Frida
|
|
|
|
## Frida CLI Tools
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `frida-ps -Ua` | List running apps on USB device |
|
|
| `frida -U -n AppName -e "script"` | Attach to app and run script |
|
|
| `frida -U -f com.app.bundle -l script.js` | Spawn app with script |
|
|
| `frida-trace -U -n AppName -m "*[ClassName *]"` | Trace ObjC methods |
|
|
| `frida-discover -U -n AppName` | Discover available functions |
|
|
|
|
## Frida JavaScript API
|
|
|
|
| API | Description |
|
|
|-----|-------------|
|
|
| `ObjC.classes.ClassName` | Access Objective-C class |
|
|
| `ObjC.classes.Cls.$ownMethods` | List class methods |
|
|
| `Interceptor.attach(target, callbacks)` | Hook native function |
|
|
| `Interceptor.replace(target, replacement)` | Replace function implementation |
|
|
| `Module.findExportByName(null, "func")` | Find exported C function |
|
|
| `ObjC.Object(ptr)` | Wrap pointer as ObjC object |
|
|
| `Memory.readUtf8String(ptr)` | Read string from memory |
|
|
|
|
## Common iOS Security Hooks
|
|
|
|
| Target | Purpose |
|
|
|--------|---------|
|
|
| `SSLSetPeerDomainName` | Bypass SSL pinning |
|
|
| `NSFileManager fileExistsAtPath:` | Jailbreak detection |
|
|
| `CCCrypt` | Intercept encryption calls |
|
|
| `NSURLSession` | Monitor network requests |
|
|
| `SecItemCopyMatching` | Keychain access |
|
|
|
|
## Python Libraries
|
|
|
|
| Library | Version | Purpose |
|
|
|---------|---------|---------|
|
|
| `subprocess` | stdlib | Execute frida CLI tools |
|
|
| `frida` | >=16.0 | Frida Python bindings |
|
|
| `json` | stdlib | Report generation |
|
|
|
|
## References
|
|
|
|
- Frida Documentation: https://frida.re/docs/home/
|
|
- Frida JavaScript API: https://frida.re/docs/javascript-api/
|
|
- objection: https://github.com/sensepost/objection
|
|
- OWASP Mobile Testing Guide: https://mas.owasp.org/MASTG/
|