Skip to content

WQGuard v1.3.4 · 真机系统/TestFlight零误报、团队自域钥匙串与宿主自白名单加固

Choose a tag to compare

@Kianuni Kianuni released this 19 Nov 05:42
· 2 commits to main since this release

WQGuard v1.3.4 (Build 25)

全面消除 iOS 26 / iOS 27 真机预装系统应用、团队自域钥匙串通配符、TestFlight 测试版应用及 /private/var 临时路径解包误报,打通企业签 / 侧载重签后的 WQGuard 宿主自白名单闭环,并保留全套密码学签名链验真、Mach-O / ZIP64 全链路防绕过解析、2026 最新漏洞特征库、ARM64 svc #0x80 直接系统调用扫描与 13 项固件 CVE 暴露雷达。


中文更新说明

  • iOS 26 / 27 官方预装与第一方应用零误报加固(InstalledAppRegistryScanner):
    • 完整覆盖驻留于 /private/var/containers/Bundle/Application/<UUID>/ 且在 CoreTrust 静态缓存中省略 SignerIdentity 的 120+ 款 Apple 原厂预装可卸载应用与系统 UI 服务(如设置、Siri、信息、健康、App Store、快捷指令、文件、时钟、日历、备忘录、提醒事项、翻译、遥控器、聚焦、库乐队、Swift Playgrounds 等)及官方非 com.apple.* 应用(如 App Store 签名的 Shazam)。
    • 完善 Apple 官方内部共享容器命名空间识别(如 group.tvappservices.*、group.is.workflow.*、<TeamID>.groups.com.apple.* 等)与原厂系统级 no-sandbox 预装应用边界校验;同时保持对 TrollStore 伪装系统注册、/var/jb/ 无根越狱路径、Ad Hoc / 第三方 Team ID / 第三方 App Group 伪造包的 100% 高危检出。
  • 团队自域钥匙串通配符精准区分(ExpandedThreatCatalog / IPAPackageScanner):
    • 将合法的开发者自身团队前缀钥匙串通配符(<OwnTeamID>.* 与历史迁移 <LegacyAppIDPrefix>.*)与高危全局通配符 "*"、"com.apple.*"、跨团队通配符及未签名/Ad-Hoc 通配符严格区分,彻底消除正版 App Store 应用与正常企业签应用(如微博、Erosion、Lokey)的钥匙串误报。
  • TestFlight 官方渠道精准识别(InstalledAppRegistryScanner / CSBlobParser / SecurityPipeline):
    • 支持识别 Apple 官方 TestFlight 云端重签名证书 "TestFlight Beta Distribution",避免将 TestFlight 测试版应用(如 Surge、APTV)误标为「企业签」;同时阻止未加密本地侧载克隆包与 FairPlay 加密 TestFlight 安装项混并,并对第三方组织名含 TestFlight 字样的伪造企业证书继续按「企业签」严查。
  • 真机 /private/var 解包路径词法规范化修复(IPAPackageScanner):
    • 引入不依赖文件系统存在性的纯词法路径规范化 lexicalStandardizedPath,彻底修复 iOS 真机 /private/var/mobile/... 临时沙盒在解包未签名 .ipa(含 _CodeSignature/ 目录项)时因 /private 前缀折叠不一致导致的 MalformedPackage:ZipSlipOrSymlink 误报,同时保留对真实 ../ 路径穿越与软链接逃逸的严格拦截。
  • 重签宿主自身白名单闭环(InstalledAppRegistryScanner / WhitelistEngine / SecurityPipeline):
    • 支持经企业描述文件或个人证书重签(含显式 application-identifier 变更、App Group 重写及覆盖安装后缓存快照 UUID 变更)的 iOS 运行宿主 WQGuard 正确归入「已知工具」(KNOWN_TOOL),同时继续严格拦截任何 .highRisk 指标、Apple 系统容器组与主流钱包/通讯应用 App Group 抢占。
  • 全量验证:
    • Swift 严格并发模式下 45 个 XCTest 套件、872 项自动化测试全部通过(0 失败、0 跳过),并完成 Release wqguard-cli 与 WQGuard_v1.3.4.ipa 成品严格自审(KNOWN_TOOL)及实机验证。

English Release Notes

  • Zero False Positives on iOS 26 / 27 Stock & First-Party Apps (InstalledAppRegistryScanner):
    • Added comprehensive verification for 120+ preinstalled/staged Apple stock apps and UI services under /private/var/containers/Bundle/Application/<UUID>/ where installation_proxy omits SignerIdentity (including Settings, Siri, Messages, Health, App Store, Shortcuts, Files, Clock, Calendar, Notes, Reminders, Translate, TV Remote, Spotlight, GarageBand, Swift Playgrounds, etc.) as well as Apple-owned App Store apps (Shazam), internal Apple App Group namespaces (group.tvappservices.*, group.is.workflow.*, <TeamID>.groups.com.apple.*), and factory no-sandbox stock constraints — while preserving 100% .highRisk detection on TrollStore system-registration spoofs, rootless jailbreak paths, and third-party Team ID / App Group spoofs.
  • Own-Team Keychain Wildcard Differentiation (ExpandedThreatCatalog / IPAPackageScanner):
    • Exempts legitimate developer own-team <OwnTeamID>.* and <LegacyAppIDPrefix>.* keychain-access-groups wildcards on signed builds while continuing to flag global "*", "com.apple.*", cross-team wildcards, and ad-hoc/unsigned wildcards as .highRisk.
  • Accurate TestFlight Channel Classification (InstalledAppRegistryScanner / CSBlobParser / SecurityPipeline):
    • Recognizes Apple's official "TestFlight Beta Distribution" cloud re-signing leaf certificate so TestFlight apps (e.g. Surge, APTV) are classified as TestFlight (Safe) rather than Enterprise In-House, while keeping third-party org-name spoofs ("iPhone Distribution: TestFlight ...") under strict enterprise scrutiny.
  • Lexical /private/var Temporary Path Canonicalization (IPAPackageScanner):
    • Replaced filesystem-dependent standardizedFileURL prefix checks with pure lexical canonicalization (lexicalStandardizedPath), eliminating false-positive MalformedPackage:ZipSlipOrSymlink errors when unpacking .ipa archives inside iOS /private/var/mobile/... temporary directories while catching all real ../ traversal and symlink escapes.
  • Re-signed Host Self-Whitelist Continuity (InstalledAppRegistryScanner / WhitelistEngine / SecurityPipeline):
    • Properly recognizes the running iOS WQGuard host installation as KNOWN_TOOL after enterprise or personal sideload re-signing (including across cached registry snapshots after in-place app updates), while rejecting any .highRisk indicator, Apple system group, or wallet/messenger App Group squatting.
  • Verification:
    • swift test --disable-sandbox -Xswiftc -strict-concurrency=complete: 45 XCTest suites, 872/872 tests passing (0 failures, 0 skipped), plus Release wqguard-cli and WQGuard_v1.3.4.ipa (KNOWN_TOOL) self-audit and physical iPhone verification.

Release Assets / 发布附件

  • WQGuard_v1.3.4.ipa — Unsigned ad-hoc IPA (v1.3.4, Build 25) for iOS 16+ / 17+ / 18+ / 26+ / 27+ (SHA-256: c8c0f64e1c3e3cef97f387d9a3b14a695419e905135c90bec029eb495e46272d)
  • WQGuard-Brotli-Shield.sgmodule — Surge
  • WQGuard-Brotli-Shield.module — Shadowrocket
  • WQGuard-Brotli-Shield.conf — Quantumult X
  • WQGuard-Brotli-Shield.plugin — Loon
  • WQGuard-Brotli-Shield.stoverride — Stash