From c109b1544660feffbb2c6dffe28bfff53ff10c4f Mon Sep 17 00:00:00 2001 From: tr4m0ryp Date: Mon, 6 Apr 2026 02:08:23 +0200 Subject: [PATCH] feat(bounty): Add bounty registry, exploit test log, and /bounty skill Bug bounty tracker with overview.md registry, exploit test log documenting all 8 test cycles on iPad8,10 iOS 26.3, and /bounty skill for find/verify/test/report/status commands. Co-Authored-By: Claude Opus 4.6 (1M context) --- bounty/exploit_tests/log.md | 82 +++++++++++++++++++++++++++++++++++++ bounty/overview.md | 51 +++++++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 bounty/exploit_tests/log.md create mode 100644 bounty/overview.md diff --git a/bounty/exploit_tests/log.md b/bounty/exploit_tests/log.md new file mode 100644 index 0000000..06de0e2 --- /dev/null +++ b/bounty/exploit_tests/log.md @@ -0,0 +1,82 @@ +# Exploit Test Log + +## Test 2026-04-05 22:00 -- USB Activation Protocol +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** HandleActivationInfoRequest with crafted records (plain, FDR-LOCAL signed, host-key signed, escrow bag) +- **Result:** Failed +- **Error:** "Invalid activation nonce" (Code -1) for all variants +- **State after:** Unactivated +- **Notes:** Nonce check happens before certificate validation. FDR-LOCAL keys produce valid signatures but nonce is checked first. + +## Test 2026-04-05 22:15 -- Factory Activation Commands +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** CreateTunnel1FactoryActivationInfoRequest, CreateFactoryActivationInfoRequest, FactoryActivateRequest +- **Result:** Failed +- **Error:** "Received unknown command" -- commands REMOVED on 26.3 +- **State after:** Unactivated +- **Notes:** Apple stripped factory activation entirely from iOS 26.2+ + +## Test 2026-04-05 22:30 -- AFC File Manipulation +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** Write SkipSetup, SetupDone, crafted downloads.28.sqlitedb, BLDatabaseManager.sqlite, EPUB payload +- **Result:** Failed +- **Error:** Files written successfully but ignored after reboot / not processed by daemons +- **State after:** Unactivated +- **Notes:** bookassetd exploit (Hana Kim bl_sbx) not processed on 26.3 (patched). SkipSetup ignored because activation check precedes setup skip. + +## Test 2026-04-05 22:45 -- Lockdownd Flag Manipulation +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** Set 25 flags: allow-hactivation, DisableHactivation, IsProtoDevice, FactoryDevice, BuddySetupComplete, SetupState=Finished, etc. +- **Result:** Failed +- **Error:** All flags set and persistent, but mobileactivationd reads SEP state not lockdownd flags +- **State after:** Unactivated +- **Notes:** Hactivation flags only read by restored_external during DFU restore. Not by running mobileactivationd. + +## Test 2026-04-05 23:00 -- Recovery Mode NVRAM +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** setenv activation-override=true, skip-setup=true, boot-args skip-activation=1 in recovery mode +- **Result:** Failed +- **Error:** Env vars accepted but don't survive boot on A12+ (SEP controls activation) +- **State after:** Unactivated +- **Notes:** Recovery mode env vars are volatile on A12+. + +## Test 2026-04-05 23:15 -- Boot Timing Race +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** 200 rapid-fire activation record submissions during boot, with FDR-LOCAL signed records +- **Result:** Failed +- **Error:** All rejected with nonce error, no timing window found +- **State after:** Unactivated +- **Notes:** mobileactivationd initializes nonce check atomically before accepting commands. + +## Test 2026-04-05 23:30 -- Personalization Nonce Roll +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** Roll personalization nonce via mobile_image_mounter, use as activation nonce +- **Result:** Failed +- **Error:** Personalization nonce is different crypto domain from activation nonce +- **State after:** Unactivated +- **Notes:** Image mounter nonce and activation nonce are independent. + +## Test 2026-04-06 01:05 -- WiFi Captive Portal + JS Execution +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** DNS interception -> HTTP captive portal -> JavaScript execution in WebSheet +- **Result:** Partial -- JS executes, HTTPS blocked by cert pinning +- **Error:** iPad connects to albert.apple.com:443 but rejects our self-signed cert +- **State after:** Unactivated +- **Notes:** Confirmed JavaScript runs in WebSheet on activation-locked device. Navigation API available. Local services (lockdownd) not accessible from JS. CVE-2026-20643 SOP bypass doesn't work cross-host. + +## Test 2026-04-06 01:37 -- WebSheet Profile Installation +- **Device:** iPad8,10 iOS 26.3 +- **State before:** Unactivated +- **Exploit:** Serve .mobileconfig via data: URI, blob URL, iframe, XHR in WebSheet JS +- **Result:** Failed +- **Error:** Profile link shows "fout bij laden pagina" (page loading error). data: URI redirect fires but no installation dialog. +- **State after:** Unactivated +- **Notes:** WebSheet on activation lock screen cannot install configuration profiles despite profiled-access entitlement. diff --git a/bounty/overview.md b/bounty/overview.md new file mode 100644 index 0000000..be84f3b --- /dev/null +++ b/bounty/overview.md @@ -0,0 +1,51 @@ +# Bug Bounty Registry + +## Summary +- Total findings: 2 +- Confirmed bugs: 1 +- Likely bugs: 1 +- Estimated total payout: $12,500 - $35,000 +- Submitted: 0 +- Last updated: 2026-04-06 + +## Findings + +### #01: FDR-LOCAL Private Key Exposure in Firmware +- **File:** bounty/01-fdr-local-key-exposure.md +- **Severity:** High +- **Verified:** CONFIRMED BUG +- **Estimated payout:** $10,000 - $25,000 +- **Submitted:** No +- **Apple response:** -- +- **Key evidence:** RSA-2048 and ECDSA P-256 private keys identical across all IPSW ramdisks, extractable with `strings` command. Keys used by AMFDRCryptoCreateLocalSigned* functions. Self-signed cert with fdr-dev@group.apple.com (dev artifact in production). SHA1 signature (deprecated). +- **Risk of "by design" rejection:** Medium -- Apple may argue LOCAL keys are intended for offline restore. Counter: identical static keys across entire fleet = single point of compromise. + +### #02: Sensitive Services on Activation-Locked Device +- **File:** bounty/02-sensitive-services-locked-device.md +- **Severity:** Medium-High +- **Verified:** LIKELY BUG +- **Estimated payout:** $2,500 - $10,000 +- **Submitted:** No +- **Apple response:** -- +- **Key evidence:** pcapd (network capture), diagnostics_relay (unauthenticated reboot), AFC (read/write personal media), syslog streaming, crash log access, recovery mode entry with nonce exposure -- all without pairing or authentication on activation-locked device. Hactivation factory flags settable and persistent via lockdownd. +- **Risk of "by design" rejection:** Medium -- AFC read access may be intentional for setup. pcapd and diagnostics reboot are harder to justify. + +## Exploit Test Results + +### Latest Test Cycle: 2026-04-06 +- Device: iPad8,10 iOS 26.3 +- USB activation attempts: ALL FAILED (activation nonce barrier) +- WiFi captive portal: JS execution achieved, HTTPS cert pinning blocks MITM +- AFC manipulation: Files written, daemons don't process on 26.3 +- Recovery mode: Env vars don't affect SEP activation +- Status: **No bypass achieved** + +## Pending Research + +- [ ] Extract mobileactivationd from iOS 26.1 IPSW and diff against 26.3 +- [ ] Analyze CVE-2026-28859 (WebKit sandbox escape) for exploitation +- [ ] Deep RE of libFDR nonce generation code path +- [ ] Fuzz mobileactivationd with crafted plist structures +- [ ] Analyze AppleKeyStoreTestUserClient in kernel for IOKit access +- [ ] Test all captive portal profile installation methods +- [ ] Research HTTP (non-HTTPS) activation endpoints