AI Security AI安全 8h ago Updated 2h ago 更新于 2小时前 49

13 Malicious Packagist Packages Target Unpatched iPhones to Steal Crypto Wallet Seeds 13个恶意Packagist软件包针对未修补的iPhone窃取加密货币钱包种子

13 malicious Composer theme packages on Packagist were identified, posing as OphimCMS themes to inject JavaScript into Vietnamese streaming sites The injected code executes a dual attack: mobile ad-fraud/gambling redirects for all visitors, and a WebKit-to-kernel exploit chain specifically targeting unpatched iPhones The iOS exploit chain weaponizes CVE-2025-31277 and CVE-2025-43529 to escape the WebContent sandbox, pivot through the GPU process, and achieve kernel-level read/write privileges vi 13个恶意Packagist Composer主题包被用于向越南电影/漫画流媒体网站注入恶意JavaScript,针对未修补的iOS设备实施攻击 攻击利用WebKit漏洞(CVE-2025-31277和CVE-2025-43529)构建WebKit-to-kernel漏洞利用链,绕过沙箱获取内核级读写权限 恶意软件窃取Keychain数据库、Wi-Fi密码、SMS、照片、联系人、cookies、位置历史及加密货币钱包种子(Bitget、Phantom、Trust Wallet等7个钱包) 攻击基础设施由美国制裁实体Funnull提供,目标设备为iOS 18.4-18.6.x版本的iPhone

72
Hot 热度
68
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • 13 malicious Composer theme packages on Packagist were identified, posing as OphimCMS themes to inject JavaScript into Vietnamese streaming sites
  • The injected code executes a dual attack: mobile ad-fraud/gambling redirects for all visitors, and a WebKit-to-kernel exploit chain specifically targeting unpatched iPhones
  • The iOS exploit chain weaponizes CVE-2025-31277 and CVE-2025-43529 to escape the WebContent sandbox, pivot through the GPU process, and achieve kernel-level read/write privileges via AppleM2ScalerCSCDriver IOKit
  • The final payload exfiltrates keychain databases, Wi-Fi passwords, SMS, contacts, photos, browser cookies, location history, and cryptocurrency wallet seeds from wallets including Bitget, Phantom, Trust Wallet, and OKX
  • The campaign infrastructure is hosted by Funnull, a U.S.-sanctioned entity linked to over $200 million in cryptocurrency losses from romance scams

Why It Matters

This attack demonstrates how supply chain compromises in seemingly unrelated ecosystems (PHP Composer packages) can be weaponized to deliver sophisticated mobile exploits, creating a dangerous bridge between web infrastructure and mobile device compromise. The targeting of cryptocurrency wallet seeds represents a direct financial motivation that could drive significant adoption of similar techniques by threat actors seeking profitable attacks against mobile users.

Technical Details

  • Supply Chain Vector: 13 trojanized Composer packages across five vendor namespaces (vsmov, vsphim, haiau009, chilltvcms, ophimcms) disguised as OphimCMS and KKPhim themes, leveraging "Custom JS" fields to inject malicious code into every page served by compromised streaming sites
  • Exploit Chain Architecture: The iOS attack inserts a hidden iframe to detect the iOS version, then loads version-specific exploits targeting CVE-2025-31277 (patched in iOS 18.6) and CVE-2025-43529 (patched in iOS 18.7.3/26.2), analogous to the DarkSword exploit kit
  • Privilege Escalation Path: WebContent sandbox → GPU process pivot → kernel escape through AppleM2ScalerCSCDriver IOKit user client → read/write kernel privileges (suspected unpatched vulnerability related to CVE-2025-43398/CVE-2025-43510/CVE-2025-43520, patched in iOS/macOS 26.1)
  • Data Exfiltration: Collected data including keychain, Wi-Fi passwords, SMS database, address book, Photos, browser cookies, call history, location history, and account databases are AES-encrypted and uploaded via HTTPS POST to rotating C2 domains, with exploitation progress beaconed to cloudfareintcdn[.]com
  • Crypto Wallet Targeting: The August 2026 payload update specifically queries password stores for wallet material from Bitget, BitKeep, Bitpie, Phantom, Tonkeeper, Trust Wallet, and OKX, focusing on iOS versions 18.4 through 18.6.x on iPhone XS through iPhone 16

Industry Insight

  • Supply Chain Vigilance: Package repository maintainers and developers must implement stricter verification for theme packages, particularly those offering "Custom JS" injection capabilities, as these represent high-impact attack surfaces that can compromise entire websites and their visitors
  • Mobile Exploit Economics: The direct financial motivation from cryptocurrency wallet theft suggests this attack pattern will proliferate, with threat actors increasingly targeting mobile devices through web-based exploit chains rather than traditional app store malware
  • Patch Management Urgency: The campaign specifically targets devices running iOS 18.4-18.6.x, demonstrating that unpatched WebKit vulnerabilities remain critically exploitable; organizations and users must prioritize iOS updates, especially on older device models that may be deprioritized for security updates

TL;DR

  • 13个恶意Packagist Composer主题包被用于向越南电影/漫画流媒体网站注入恶意JavaScript,针对未修补的iOS设备实施攻击
  • 攻击利用WebKit漏洞(CVE-2025-31277和CVE-2025-43529)构建WebKit-to-kernel漏洞利用链,绕过沙箱获取内核级读写权限
  • 恶意软件窃取Keychain数据库、Wi-Fi密码、SMS、照片、联系人、cookies、位置历史及加密货币钱包种子(Bitget、Phantom、Trust Wallet等7个钱包)
  • 攻击基础设施由美国制裁实体Funnull提供,目标设备为iOS 18.4-18.6.x版本的iPhone XS至iPhone 16
  • 网站运营者同样受害,需立即检查已安装的Composer包、移除恶意主题、轮换凭证并审计jQuery和主题脚本

为什么值得看

供应链攻击正从传统软件生态扩展到PHP Composer包管理平台,威胁面持续扩大。针对加密货币钱包的定向窃取表明攻击者将财务收益作为核心目标,这对移动安全和开源生态安全具有重要警示意义。

技术解析

  • 攻击通过13个伪装成OphimCMS和KKPhim主题的恶意Composer包实现,分布在5个vendor命名空间(vsmov、vsphim、haiau009、chilltvcms、ophimcms),注入的JavaScript同时执行移动广告欺诈/赌博重定向链和iOS漏洞利用链
  • 利用两个WebKit漏洞(CVE-2025-31277需iOS 18.6修补,CVE-2025-43529需iOS 18.7.3/26.2修补)构建漏洞利用链,从WebContent沙箱 pivoting 到GPU进程,再通过AppleM2ScalerCSCDriver IOKit user client逃逸至内核
  • 内核级恶意软件收集Keychain、SMS、照片、联系人、cookies、位置历史和账户数据库,使用AES加密后通过HTTPS POST /upload上传至轮换的C2域名, exploitation进度beacon至cloudfareintcdn[.]com
  • 2026年8月12日后攻击者重新部署iOS漏洞利用链,新增加密货币钱包种子和助记词窃取功能,目标锁定iOS 18.4-18.6.x版本设备

行业启示

  • 开源包管理平台(如Packagist)的供应链安全审查机制亟待加强,CMS主题类包应建立更严格的代码审计和签名验证流程
  • 移动设备用户需保持iOS系统及时更新,特别是WebKit相关安全补丁,避免成为定向攻击目标
  • 网站运营者应定期审计第三方依赖和脚本,建立供应链安全监控机制,防范类似Trojanized包攻击风险

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全 Open Source 开源 Research 科学研究