Files
Anthropic-Cybersecurity-Skills/skills/reverse-engineering-ios-app-with-frida/references/api-reference.md
T
mukul975 c21af3347e Complete folder anatomy for all 649 cybersecurity skills + update LICENSE to Mahipal
- Add scripts/agent.py and references/api-reference.md to all remaining skills
- Update all 648 LICENSE files: copyright now reads 'Mahipal'
- Add implementing-security-monitoring-with-datadog (new skill with full anatomy)
- All 649 skills now have: SKILL.md, LICENSE, scripts/agent.py, references/api-reference.md
2026-03-11 00:22:12 +01:00

1.7 KiB

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