AVE27 — standalone POC app for CVE-2026-112705 (AppleAVE2 NTL OOB write)
- All stages ported from MchinaMd57764/AVETemporalPoC (orig. Calif/Chollima): stage1-12, 20, 21, fuzz, SBE — launch-arg parity kept - New: stage13 NTL threshold sweep, stage14 usage×rc acceptance matrix, stage15 private-key entitlement audit (23 keys) - Panic journal: kern.boottime-based in-app panic evidence after reboot - Interactive SwiftUI console + NTL field + report share; header shows PANIC-CAPABLE on iOS 27.0-27.1, FIXED BUILD on 27.2+ - App icon: temporal-layer stack, top layer displaced past the stack edge - scripts/build-device.sh → unsigned arm64 IPA (iOS 17.0+)
This commit is contained in:
commit
bc019e2b6c
11 files changed
+1829
No files matched your search
Executable
+69
@@ -0,0 +1,69 @@
|
||||
#!/bin/bash
|
||||
# Build an unsigned arm64 IPA for AVE27 (CVE-2026-112705 standalone POC).
|
||||
# The IPA is deliberately unsigned — sign it with your own certificate / profile.
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
OUT="$ROOT/build/device"
|
||||
APP="$OUT/Payload/AVE27.app"
|
||||
IPA="$ROOT/dist/AVE27-unsigned.ipa"
|
||||
SDK="$(xcrun --sdk iphoneos --show-sdk-path)"
|
||||
MIN_IOS="${MIN_IOS:-17.0}"
|
||||
|
||||
echo "== icon =="
|
||||
if [ ! -f "$ROOT/Resources/AppIcon-1024.png" ]; then
|
||||
python3 "$ROOT/scripts/gen_icon.py" > /dev/null
|
||||
fi
|
||||
|
||||
echo "== clean =="
|
||||
rm -rf "$OUT"
|
||||
mkdir -p "$APP"
|
||||
|
||||
echo "== compile (arm64, min iOS $MIN_IOS) =="
|
||||
xcrun --sdk iphoneos swiftc \
|
||||
-parse-as-library \
|
||||
-swift-version 5 \
|
||||
-O \
|
||||
-target "arm64-apple-ios$MIN_IOS" \
|
||||
-sdk "$SDK" \
|
||||
-o "$APP/AVE27" \
|
||||
"$ROOT"/Sources/*.swift
|
||||
|
||||
echo "== resources =="
|
||||
cp "$ROOT/Info.plist" "$APP/Info.plist"
|
||||
printf 'APPL????' > "$APP/PkgInfo"
|
||||
|
||||
echo "== asset catalog =="
|
||||
xcrun actool "$ROOT/Resources/Assets.xcassets" \
|
||||
--compile "$APP" \
|
||||
--platform iphoneos \
|
||||
--minimum-deployment-target "$MIN_IOS" \
|
||||
--app-icon AppIcon \
|
||||
--output-partial-info-plist "$OUT/assetcatalog_generated_info.plist" \
|
||||
--target-device iphone \
|
||||
--target-device ipad > /dev/null
|
||||
|
||||
echo "== merge asset catalog Info.plist keys =="
|
||||
python3 - "$APP/Info.plist" "$OUT/assetcatalog_generated_info.plist" <<'PY'
|
||||
import plistlib, sys
|
||||
info_path, partial_path = sys.argv[1], sys.argv[2]
|
||||
with open(info_path, "rb") as fh:
|
||||
info = plistlib.load(fh)
|
||||
with open(partial_path, "rb") as fh:
|
||||
partial = plistlib.load(fh)
|
||||
partial.pop("com.apple.actool.compilation-results", None)
|
||||
info.update(partial)
|
||||
with open(info_path, "wb") as fh:
|
||||
plistlib.dump(info, fh, fmt=plistlib.FMT_BINARY)
|
||||
PY
|
||||
|
||||
chmod 755 "$APP/AVE27"
|
||||
chmod 644 "$APP/Info.plist"
|
||||
/usr/bin/plutil -lint "$APP/Info.plist"
|
||||
|
||||
echo "== package Payload/ -> .ipa =="
|
||||
mkdir -p "$ROOT/dist"
|
||||
rm -f "$IPA"
|
||||
( cd "$OUT" && zip -qry "$IPA" Payload )
|
||||
echo "IPA: $IPA"
|
||||
ls -lh "$IPA"
|
||||
Reference in new issue
Block a user