re-ios-jb

Analyze iOS jailbreak detection, reverse tweaks, and debug apps on jailbroken devices.

64|9|Updated Aug 17, 2026
One-click install
npx skills add https://github.com/dslsdzc/rev-skills --skill re-ios-jb-dslsdzc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: re-ios-jb
Source: https://github.com/dslsdzc/rev-skills/tree/main/.claude/skills/re-ios-jb
Command: npx skills add https://github.com/dslsdzc/rev-skills --skill re-ios-jb-dslsdzc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security researchers analyzing iOS apps often hit jailbreak detection that crashes the app on launch, or need to understand what an existing Substrate tweak hooks. This Skill provides a complete workflow for setting up a jailbroken test device (palera1n), identifying and bypassing jailbreak detection, reverse-engineering tweaks, and performing remote LLDB debugging. ## Core Features & Use Cases - Jailbreak Environment Setup: Step-by-step installation of palera1n, Theos, Frida, and LLDB with iproxy/usbmuxd port forwarding on a controlled test device. - Detection Identification & Bypass: Static string/xref analysis plus Frida hooking of file-existence APIs (access, stat, dlopen) to enumerate detection points and neutralize them. - Tweak Reverse Engineering: Unpack .deb packages, inspect MobileSubstrate plist filters, and locate MSHookMessageEx/MSHookFunction calls to map hooked classes and methods. - Use Case: An app crashes immediately on a jailbroken device. Use this Skill to spawn it under Frida, log which jailbreak artifact paths it checks, bypass each check, then attach LLDB remotely to continue dynamic analysis. ## Quick Start Analyze this iOS app's jailbreak detection on my palera1n test device and list the detection points with bypass steps.

Frequently Asked Questions about re-ios-jb

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bypass iOS jailbreak detection in an app?▼

First identify detection points statically by searching binary strings for jailbreak paths like /var/jb or cydia://, then use Frida in spawn mode to hook file-existence APIs such as access, stat, and dlopen. Record each checked path and patch return values per detection point.

How do I analyze what an iOS tweak hooks?▼

Unpack the tweak's .deb with dpkg-deb, inspect the MobileSubstrate plist filter to see targeted processes, then reverse the dylib in Ghidra or IDA. Look for MSHookMessageEx and MSHookFunction calls whose arguments reveal the hooked classes, methods, and replacement implementations.

Which devices does palera1n support for jailbreaking?▼

palera1n only supports checkm8-vulnerable devices, meaning A8 through A11 chips, and only specific iOS versions listed in the official support matrix at docs.palera.in. It cannot run inside a virtual machine because it requires direct USB access without PCI passthrough.

Why does my tweak not work after a rootless jailbreak?▼

Rootless jailbreaks like palera1n 2.x keep the system volume read-only and place all jailbreak files under the /var/jb prefix. Tweaks or tools that write to system partitions will silently fail unless they are rootless-compatible or the device uses a rootful jailbreak on older iOS.

Why does the app crash when I attach LLDB on a jailbroken device?▼

The app likely uses anti-debugging checks such as ptrace(PT_DENY_ATTACH), sysctl P_TRACED flag inspection, or getppid checks. Set breakpoints on ptrace and sysctl before attaching to alter their return values, or write an anti-anti-debug tweak with Theos.

When should I not use a jailbroken device for iOS analysis?▼

Avoid jailbreak-based dynamic analysis when no compatible device is available or when only static structure and decryption are needed; static analysis and frida-ios-dump decryption come first. Jailbreaking must only be done on dedicated, authorized test devices, never daily-use or production devices.