Back to Skills

ios-pentesting-tricks

iOS pentesting playbook. Use when testing iOS applications for keychain extraction, URL scheme hijacking, Universal Links exploitation, runtime manipulation, binary protection analysis, data storage issues, and transport security bypass during authorized mobile security assessments.

1,292stars177forksUpdated 7/6/2026

Security Assessment

Low Risk(70/100)

Detected risks:

Secret Exposure([IOS_RUNTIME_TRICKS.md] token =, [IOS_RUNTIME_TRICKS.md] Token =)
Security Score70/100

About ios-pentesting-tricks

An offensive-security playbook for authorized iOS application security assessments. It applies when testing iOS apps for keychain extraction, URL scheme hijacking, Universal Links exploitation, runtime manipulation, binary protection analysis, data storage issues, and transport security bypass. It routes to companion skills for SSL pinning bypass, Android testing of the same app, and backend API security once traffic is intercepted.

It contrasts jailbroken and non-jailbroken methodology in a capability table and shows a non-jailbreak setup using ideviceinstaller and ios-deploy to extract an IPA, frida-ios-dump for a decrypted IPA on jailbroken devices, and inserting a Frida gadget into a re-signed app for runtime hooking. Keychain coverage explains the protection classes (WhenUnlocked, AfterFirstUnlock, the deprecated Always, and WhenPasscodeSetThisDeviceOnly) and their risk levels, extraction with keychain-dumper, Objection's ios keychain dump, or Frida, and the keychain item classes worth harvesting such as generic and internet passwords, certificates, identities, and keys.

URL scheme hijacking is covered by discovering custom schemes in Info.plist CFBundleURLTypes and registering a duplicate scheme in a malicious app to intercept OAuth callbacks and deep links, with a comparison to the stronger Universal Links model. Universal Links exploitation focuses on AASA misconfiguration such as overly broad wildcard paths or missing files that force a fallback to the less secure scheme. Runtime manipulation uses Frida for ObjC class enumeration and Interceptor method hooks that alter return values, and Objection commands for keychain, cookies, pasteboard, jailbreak-detection and SSL-pinning bypass, and method hooking.

FAQ

What areas of iOS security does the playbook cover?

Keychain extraction, URL scheme hijacking, Universal Links exploitation, runtime manipulation, binary protection analysis, data storage issues, and transport security bypass.

Do you need a jailbroken device to use these techniques?

A jailbreak gives full capability, but the playbook also describes non-jailbreak testing via re-signed apps with a Frida gadget and backup-based extraction, noting the reduced access.

How is the iOS keychain extracted?

On jailbroken devices with keychain-dumper, Objection's ios keychain dump, or Frida scripts; the item's protection class determines when it is accessible.

How does URL scheme hijacking work?

A malicious app registers the same custom URL scheme found in the target's Info.plist CFBundleURLTypes, so iOS may open it and let the attacker capture OAuth codes or deep-link data.

What tools are used for runtime manipulation?

Frida for ObjC class enumeration and Interceptor hooks that modify return values, and Objection commands such as ios hooking, ios keychain dump, and pinning or jailbreak bypasses.

All Files

2 files
SKILL.md13.7 KB
View
IOS_RUNTIME_TRICKS.md12.7 KB
View

Install ios-pentesting-tricks

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill