/cybersecurity-skills-zh:analyzing-ios-app-security-with-objectionfrom cybersecurity-skills-zh
Runs runtime mobile security probes on iOS apps via Objection (Frida), including Keychain dump, SSL pinning bypass, and filesystem inspection. Activates for iOS security testing requests.
Ships in cybersecurity-skills-zh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
以下情况使用本 skill:
不适用于:在没有明确授权的情况下在生产设备上使用本 skill——Objection 会修改应用运行时行为,可能触发安全监控。
pip install objectionpip install frida-toolsobjection patchipa 向 IPA 注入 Frida gadget针对越狱设备:
# 通过 Cydia/Sileo 在设备上安装 Frida server
# SSH 登录设备并启动 Frida server
ssh root@<device_ip> "/usr/sbin/frida-server -D"
# 验证 Frida 连接
frida-ps -U # 列出 USB 连接设备上的进程
针对非越狱设备(授权测试):
# 向 IPA 注入 Frida gadget
objection patchipa --source target.ipa --codesign-signature "Apple Development: [email protected]"
# 安装已打包的 IPA
ideviceinstaller -i target-patched.ipa
# 通过 bundle ID 附加到正在运行的应用
objection --gadget "com.target.app" explore
# 或启动新的应用进程
objection --gadget "com.target.app" explore --startup-command "ios hooking list classes"
附加成功后,Objection 提供交互式 REPL 进行运行时探测。
# 转储应用可访问的 iOS Keychain 条目
ios keychain dump
# 列出应用沙盒中的文件
ios plist cat Info.plist
env # 显示应用环境路径
# 检查 NSUserDefaults 中的敏感数据
ios nsuserdefaults get
# 列出 SQLite 数据库
sqlite connect app_data.db
sqlite execute query "SELECT * FROM credentials"
# 检查粘贴板中的敏感数据
ios pasteboard monitor
# 禁用 SSL/TLS 证书固定(certificate pinning)
ios sslpinning disable
# 通过 Burp Suite 代理观察流量,验证 pinning 是否已绕过
# 监控与网络相关的类方法调用
ios hooking watch class NSURLSession
ios hooking watch class NSURLConnection
# 列出所有 Objective-C 类
ios hooking list classes
# 搜索与认证相关的类
ios hooking search classes Auth
ios hooking search classes Login
ios hooking search classes Token
# Hook 认证方法以观察参数
ios hooking watch method "+[AuthManager validateToken:]" --dump-args --dump-return
# 监控生物认证调用
ios hooking watch class LAContext
# 检查越狱检测实现
ios jailbreak disable
# 模拟越狱检测绕过
ios jailbreak simulate
# 列出已加载的框架和库
memory list modules
# 在内存中搜索敏感字符串
memory search "password" --string
memory search "api_key" --string
memory search "Bearer" --string
# 转储特定内存区域
memory dump all dump_output/
# 列出应用注册的 URL scheme
ios info binary
ios bundles list_frameworks
# Hook URL scheme 处理程序
ios hooking watch method "-[AppDelegate application:openURL:options:]" --dump-args
# 监控剪贴板访问
ios pasteboard monitor
# 检查自定义键盘限制
ios hooking search classes UITextField
| 术语 | 定义 |
|---|---|
| Objection | 基于 Frida 构建的运行时移动探测工具包,提供用于常见安全测试任务的预置脚本 |
| Frida Gadget | 注入到应用进程中的共享库,无需越狱即可实现 Frida 插桩 |
| Keychain | iOS 安全凭据存储系统;Objection 可转储目标应用 keychain access group 可访问的条目 |
| SSL Pinning 绕过 | 对证书验证逻辑进行运行时修改,允许代理拦截 HTTPS 流量 |
| 方法 Hook(Method Hooking) | 在运行时拦截 Objective-C/Swift 方法调用,以观察参数、返回值并修改行为 |
--startup-command 在应用生命周期早期 hook 反 Frida 检测逻辑。ios hooking list classes 配合 grep 查找反混淆后的名称。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mobile-security, ios, objection, frida, runtime-analysis, penetration-testing
npx claudepluginhub killvxk/cybersecurity-skills-zh --plugin cybersecurity-skills-zh735 skills in this plugin
/acquiring-disk-image-with-dd-and-dcfldd使用 dd 和 dcfldd 创建取证级逐位磁盘镜像,通过哈希验证保持证据完整性。/analyzing-active-directory-acl-abuse使用 ldap3 检测 Active Directory 中危险的 ACL 配置错误,识别 GenericAll、WriteDACL 和 WriteOwner 等滥用路径/analyzing-android-malware-with-apktool使用 apktool 进行反编译、jadx 恢复 Java 源码、androguard 进行权限分析,对 Android APK 恶意软件样本执行静态分析,包括清单检查和可疑 API 调用检测。Other plugins' skills for the same job