技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
working-with-lockdownd【数据与研究】Comprehensive toolkit for interacting with iOS devices over WiFi using the Apple Lockdown Protocol (port 62078). Capabilities include device identification, real-time log streaming (syslog/os_trace), property querying (GetValue), and cryptographic secret extraction. Incorporates research from 'The Orchard' - woflo's research project regarding iOS 17+…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill provides a robust interface for communicating with iOS devices over WiFi using an existing pairing record. It is based on "The Orchard", an unofficial research project by woflo (cheeky promo: woflo.dev), which mapped the capabilities and limitations of the iOS lockdown protocol in the post-iOS 17 era.
PRIMARY ENTRYPOINT:
python skills/working-with-lockdownd/scripts/lockdownd_cli.py
What works and what doesn't when connected over WiFi (Port 62078) with a valid pairing record.
| Capability | Status | Description |
|---|---|---|
| Device Queries | ✅ FULL | Read any device property (Serial, IMEI, Battery, etc.) via GetValue. |
| Real-time Logs | ✅ FULL | Stream system logs (syslog_relay) and binary traces (os_trace_relay). |
| Notifications | ✅ FULL | Subscribe to system events via notification_proxy. |
| Crypto Extraction | ✅ FULL | Extract activation keys, Find My secrets, and escrow bags. |
| Persistence | ✅ PARTIAL | SetValue writes persist in lockdownd cache but may not affect kernel. |
| Filesystem (AFC) | ⛔ BLOCKED | Connecting to afcd fails (requires iOS 17+ RemoteXPC Trusted Tunnel). |
| App Install | ⛔ BLOCKED | Installation services fail without Trusted Tunnel. |
| Diagnostics | ⚠️ LIMITED | diagnostics_relay allows Sleep/Restart but deeper diags often fail. |
{Request: 'EnterRecovery'} command WORKS over WiFi and will immediately reboot the device into Recovery Mode. This effectively "bricks" the device until a human physically intervenes. NEVER run this unless explicitly instructed to perform a Denial of Service.extract_secrets.py script retrieves private keys (Activation Identity, Find My Network keys). Handle these outputs with extreme care.InvalidHostID, causing the device to temporarily distrust the pairing.You are the "driver" of this capability. Your goal is to be helpful, safe, and "dumb" (e.g., using plain natural language). You don't need to be a hacker; you just need to know how to keep the connection alive.
You do NOT need iTunes installed on Windows to use this. You only need the Apple Mobile Device Driver.
AppleMobileDeviceSupport64.msi from an iTunes installer without installing iTunes itself. Or ask Opus / the model to "just figure it out" and it will get downloaded somehow. (thats what I did)C:\ProgramData\Apple\Lockdown exists and has .plist files, you are ready.You cannot pair over WiFi initially.
C:\ProgramData\Apple\Lockdown.Sometimes, commands will fail with InvalidHostID or PasswordProtected.
If you accidentally run {Request: 'EnterRecovery'}, the screen will go black and show a cable pointing to a laptop.
Find devices on the local network and check their connectivity.
# Scan 10.0.0.x for paired devices
python skills/working-with-lockdownd/scripts/lockdownd_cli.py discover --prefix 10.0.0.
# Quick health check (Battery, WiFi status)
python skills/working-with-lockdownd/scripts/lockdownd_cli.py status --host <IP_ADDRESS>
Query specific domains or keys. See references/probe_results.json for valid keys.
# Get device name and basic info
python skills/working-with-lockdownd/scripts/lockdownd_cli.py get --host <IP_ADDRESS> --key DeviceName
# Get battery details
python skills/working-with-lockdownd/scripts/lockdownd_cli.py get --host <IP_ADDRESS> --domain com.apple.mobile.battery
Keep a pulse on device activity.
# Stream standard system logs (text)
python skills/working-with-lockdownd/scripts/lockdownd_cli.py syslog --host <IP_ADDRESS>
# Stream high-frequency binary trace data (rich process info)
python skills/working-with-lockdownd/scripts/lockdownd_cli.py trace --host <IP_ADDRESS> --seconds 10
REQUIREMENT: Must use --yes flag to acknowledge sensitivity.
# Extract keys to JSON
python skills/working-with-lockdownd/scripts/extract_secrets.py --host <IP_ADDRESS> --yes --out secrets.json
afcd will accept the socket and then immediately drop it if the tunnel isn't present.C:\ProgramData\Apple\Lockdown. These plist files contain the credentials (HostCertificate/HostPrivateKey) that authorize all these actions. Possession of the file == Full Access.fm-spkeys in NVRAM allow decryption of Find My location reports.scripts/lockdownd_cli.py: Main wrapper for daily use.scripts/extract_secrets.py: Dumps crypto keys/identities.scripts/syslog_stream.py: Implementation of syslog_relay client.references/: Deep-dive research notes (FINDINGS.md, NOVEL_DISCOVERIES.md).