Chuyển đến nội dung
Skillpedia
Kiểm thử35k · #8247

performing-ios-app-security-assessment

Skill này làm gì

Công cụ này giúp kiểm tra bảo mật ứng dụng trên iPhone. Nó xem xét ứng dụng cả khi không chạy và khi đang sử dụng, tìm các điểm yếu bảo mật phổ biến.

Khi nào nên dùng

  • ✓Khi kiểm thử bảo mật một ứng dụng có sự cho phép.
  • ✓Khi cần xem một ứng dụng có che giấu mật khẩu và dữ liệu đúng cách không.
  • ✓Khi cần kiểm tra một ứng dụng có thể phát hiện điện thoại đã bị sửa đổi hay không.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ios-app-security-assessment/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-ios-app-security-assessment/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phân tích bảo mật ứng dụng iOS này và cho tôi biết có điểm yếu nào không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các công cụ khác để kiểm tra mã của ứng dụng, xem nó hoạt động gì khi đang chạy và thử truy cập thông tin cần được bảo vệ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Performing iOS App Security Assessment

Disclaimer

This skill is intended for authorized security testing, penetration testing engagements, CTF competitions, and educational purposes only. Unauthorized access to applications or devices is illegal. Always obtain written authorization before performing any security assessment. Misuse of these techniques may violate computer fraud and abuse laws in your jurisdiction.

When to Use

Use this skill when:

  • Conducting authorized penetration tests of iOS applications against OWASP MASVS/MASTG criteria
  • Performing dynamic analysis of iOS apps using Frida instrumentation and Objection runtime exploration
  • Bypassing SSL/TLS certificate pinning to intercept and analyze app network traffic through a proxy
  • Extracting and auditing iOS Keychain contents for insecure credential storage practices
  • Performing static analysis of IPA packages to identify hardcoded secrets, entitlements, and binary protections
  • Assessing jailbreak detection and anti-tampering controls in iOS applications

Do not use against applications without explicit written authorization. Do not use on production devices containing real user data unless the engagement scope permits it.

Prerequisites

  • Python 3.10+ with pip
  • Frida toolkit: pip install frida-tools frida
  • Objection: pip install objection
  • Target iOS device (jailbroken with frida-server, or non-jailbroken with patched IPA)
  • macOS with Xcode command-line tools (recommended for code signing and ideviceinstaller)
  • Burp Suite or mitmproxy for traffic interception after SSL pinning bypass
  • For jailbroken devices: SSH access and frida-server running on the device
  • For non-jailbroken devices: Apple Developer certificate for IPA re-signing

Workflow

Step 1: IPA Static Analysis

Extract and analyze the IPA binary before runtime testing:

# Unzip IPA for static analysis
unzip target.ipa -d target_app/

# Check binary architectures and protections
otool -hv target_app/Payload/*.app/AppExecutable
otool -l target_app/Payload/*.app/AppExecutable | grep -A4 LC_ENCRYPTION

# Extract Info.plist for entitlements and URL schemes
plutil -p target_app/Payload/*.app/Info.plist

# Search for hardcoded secrets in binary strings
strings target_app/Payload/*.app/AppExecutable | grep -iE "api[_-]?key|secret|password|token|firebase"

# Check embedded provisioning profile
security cms -D -i target_app/Payload/*.app/embedded.mobileprovision

# Identify linked frameworks
otool -L target_app/Payload/*.app/AppExecutable

Step 2: Environment Setup and Frida Attachment

# For jailbroken device: verify Frida server is running
frida-ps -U

# Spawn target app with Frida
frida -U -f com.target.app --no-pause

# For non-jailbroken device: patch IPA with Frida Gadget
objection patchipa --source target.ipa --codesign-signature "Apple Development: tester@example.com"

# Install patched IPA
ideviceinstaller -i target-patched.ipa

# Attach Objection to running app
objection --gadget "com.target.app" explore

Step 3: SSL Pinning Bypass

Bypass certificate pinning to enable traffic interception:

# Using Objection's built-in bypass
objection --gadget "com.target.app" explore --startup-command "ios sslpinning disable"

# Using Frida script for more comprehensive bypass
frida -U -f com.target.app -l ssl_pinning_bypass.js --no-pause

# Verify bypass by configuring device proxy to Burp Suite
# Device Settings -> Wi-Fi -> HTTP Proxy -> Manual -> <burp_ip>:8080
# Install Burp CA certificate on device via http://<burp_ip>:8080/cert

The Frida SSL pinning bypass script hooks into NSURLSession, NSURLConnection, and AFNetworking/Alamofire trust evaluation delegates to override certificate validation at the TLS handshake level.

Step 4: Keychain Extraction and Credential Analysis

# Dump all accessible keychain items via Objection
ios keychain dump

# Dump keychain with raw data output
ios keychain dump --json

# Check keychain item accessibility attributes
# Items with kSecAttrAccessibleAlways or kSecAttrAccessibleAfterFirstUnlock
# are accessible without device unlock - this is a finding

# Search for specific credential types
ios keychain dump | grep -i "password\|token\|secret\|oauth"

# Inspect NSUserDefaults for sensitive data leaks
ios nsuserdefaults get

# Check for sensitive data in app cookies
ios cookies get

Step 5: Runtime Method Hooking and Analysis

# List all loaded classes

…
Câu hỏi thường gặp

Tôi có cần iPhone đã jailbreak không?

Với một số phân tích sâu hơn thì có. Nhưng công cụ cũng hoạt động trên điện thoại thường với một vài điều chỉnh.

Đây có phải công cụ để hack ứng dụng không?

Không. Đây là công cụ kiểm tra bảo mật ứng dụng khi có sự cho phép, giống như một “kiểm tra sức khỏe” bảo mật, nhằm tìm và sửa lỗi trước khi kẻ xấu khai thác.

Tôi có thể dùng với mọi ứng dụng không?

Chỉ với các ứng dụng bạn có quyền kiểm thử. Dùng với ứng dụng không được phép là vi phạm pháp luật.

Chi tiết

Mô tả gốc của tác giả

Performs comprehensive iOS application security assessments using Frida for dynamic instrumentation, Objection for runtime exploration, SSL pinning bypass for traffic interception, keychain extraction for credential analysis, and IPA static analysis for binary-level review. Use when conducting authorized iOS penetration tests, evaluating mobile app security posture against OWASP MASTG, or assessin

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8247
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự