AI Security AI安全 7h ago Updated 1h ago 更新于 1小时前 46

JSCeal Malware Can Bypass Google Authentication Using Stolen Session Cookies JSCeal恶意软件可通过窃取会话Cookie绕过Google身份验证

JSCeal is a sophisticated compiled V8 JavaScript (JSC) malware that uses advanced obfuscation techniques including RC4-protected strings, control-flow flattening, proxy functions, and operation wrappers to evade analysis The malware can harvest browser cookies, OAuth tokens, and saved credentials from multiple Chromium-based browsers, then reconstruct sessions to bypass Google authentication via active session replay attacks Distribution occurs through malvertising campaigns on Facebook and Goog JSCeal是一种利用编译V8 JavaScript(JSC)技术的复杂恶意软件,具备凭证窃取、会话重放攻击和流量拦截能力 攻击者通过虚假加密货币交易网站和恶意广告(malvertising)分发,伪装成TradingView等知名平台诱导用户下载 恶意软件采用多层混淆技术(RC4保护字符串、控制流扁平化、代理函数等)结合V8编译格式,显著增加逆向分析难度 JSCeal可窃取Chromium系浏览器中的Cookie、OAuth令牌等敏感数据,并通过会话重放绕过Google等身份验证 该恶意软件还具备键盘记录、屏幕截图和本地代理功能,专门针对加密货币平台(Binance、Bybit、Ledger

70
Hot 热度
65
Quality 质量
60
Impact 影响力

Analysis 深度分析

TL;DR

  • JSCeal is a sophisticated compiled V8 JavaScript (JSC) malware that uses advanced obfuscation techniques including RC4-protected strings, control-flow flattening, proxy functions, and operation wrappers to evade analysis
  • The malware can harvest browser cookies, OAuth tokens, and saved credentials from multiple Chromium-based browsers, then reconstruct sessions to bypass Google authentication via active session replay attacks
  • Distribution occurs through malvertising campaigns on Facebook and Google that redirect users to fake cryptocurrency trading sites impersonating brands like TradingView, Solana, and Luno
  • A related campaign called SourTrade uses an innovative in-memory assembly technique, delivering browser-based instructions to build malware without ever transmitting finished payloads across the network
  • Check Point developed a fully static deobfuscation pipeline to decode the compiled V8 JavaScript bytecode, revealing the malware's surveillance capabilities including keystroke logging, screenshots, and targeted proxy-based interception of cryptocurrency platforms

Why It Matters

This represents a significant escalation in how threat actors combine JavaScript obfuscation with compiled V8 bytecode to create malware that is substantially harder to analyze using traditional reverse-engineering workflows. The session replay attack capability—bypassing Google authentication through stolen cookies—demonstrates a practical and dangerous technique that could compromise high-value accounts across enterprises and individual users alike.

Technical Details

  • Obfuscation Architecture: JSCeal employs four layers of transformation—nonsensical identifier replacement, string chunking with RC4 encoding and decoder reconstruction, control-flow flattening into infinite-loop switch statements with state variables, and proxy helper forwarding for all function calls and basic operations
  • Compiled V8 Format: The malware uses version-specific compiled V8 JavaScript bytecode, combining this with pre-compilation obfuscation to create dual analysis friction that moves beyond standard analyst toolchains
  • Browser Targeting: The credential theft module enumerates and extracts data from Chromium-based browsers including Google Chrome, Microsoft Edge, Brave, Opera, Opera GX, Avast Secure Browser, Vivaldi, and Cốc Cốc by navigating to expected user-data directories and profile locations
  • Session Replay Attack: Stolen cookies and OAuth tokens are used to reconstruct active browser sessions, enabling authentication bypass for Google accounts without requiring password knowledge
  • Proxy Interception Module: JSCeal installs a local proxy with generated certificates and implements service-specific request/response modification handlers targeting Binance, Bybit, and Ledger, plus generic handlers for HTML replacement, host blocking, and cookie clearing
  • SourTrade In-Memory Assembly: The related campaign delivers assembly instructions to victim browsers that retrieve clean legitimate files from separate infrastructure and construct malware entirely in memory, leaving no finished malicious binary on the network

Industry Insight

  • Security teams should prioritize monitoring for compiled V8 JavaScript artifacts and anomalous PowerShell execution patterns delivering ZIP archives containing Node.js runtimes, as these are strong indicators of JSCeal deployment
  • Organizations handling cryptocurrency assets should implement hardware security key verification and multi-factor authentication methods that cannot be bypassed through session replay, since cookie theft alone is now sufficient to compromise Google accounts
  • The in-memory assembly technique demonstrated by SourTrade represents an emerging evasion paradigm that will likely spread across threat groups; endpoint detection strategies must evolve beyond signature-based scanning to include behavioral analysis of browser-based code execution and memory construction patterns

TL;DR

  • JSCeal是一种利用编译V8 JavaScript(JSC)技术的复杂恶意软件,具备凭证窃取、会话重放攻击和流量拦截能力
  • 攻击者通过虚假加密货币交易网站和恶意广告(malvertising)分发,伪装成TradingView等知名平台诱导用户下载
  • 恶意软件采用多层混淆技术(RC4保护字符串、控制流扁平化、代理函数等)结合V8编译格式,显著增加逆向分析难度
  • JSCeal可窃取Chromium系浏览器中的Cookie、OAuth令牌等敏感数据,并通过会话重放绕过Google等身份验证
  • 该恶意软件还具备键盘记录、屏幕截图和本地代理功能,专门针对加密货币平台(Binance、Bybit、Ledger)进行数据劫持

为什么值得看

本文揭示了恶意软件利用JavaScript编译技术和多层混淆绕过安全检测的新趋势,对理解现代网络攻击的演进具有重要参考价值。同时展示了加密货币领域成为网络犯罪重点目标的现状,为相关从业者和用户提供了关键的安全警示。

技术解析

  • 混淆与编译技术:JSCeal使用javascript-obfuscator进行多层保护,包括将函数/变量名替换为无意义标识符、字符串分块RC4加密、控制流扁平化为单级switch语句、通过代理函数转发调用等。结合V8编译格式,形成双重分析摩擦。
  • 静态反混淆管道:Check Point开发了完全静态的反混淆管道来解码受保护的V8 JavaScript字节码,揭示了恶意软件的执行流程和功能,包括浏览器枚举、Cookie/OAuth令牌查询等。
  • 会话重放攻击:恶意软件窃取Cookie后可重建浏览器会话,进行主动会话重放攻击,绕过Google等平台的身份验证机制。
  • 代理与流量拦截:采用银行木马常见技术,安装本地代理、生成和安装证书,针对特定服务(Binance、Bybit、Ledger)修改请求和响应,捕获账户数据和加密货币余额。
  • 分发渠道:通过Facebook和Google的恶意广告将用户重定向到虚假加密货币交易网站,使用PowerShell分发包含Node.js运行时和主载荷的两个ZIP压缩包。

行业启示

  • JavaScript恶意软件的新威胁:攻击者正将JavaScript编译和混淆技术结合,绕过传统安全检测。安全厂商需要开发专门的V8字节码分析和反混淆工具。
  • 加密货币安全需加强:针对加密货币平台的恶意软件持续进化,交易所和用户应启用多因素认证(MFA)、定期清除Cookie,并警惕来源不明的下载链接。
  • malvertising防护至关重要:恶意广告成为主要分发渠道,企业和用户应部署广告过滤和威胁情报服务,同时加强对知名品牌的假冒网站监控。

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

Security 安全 Research 科学研究