Lune

S&P2022顶会

Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssembly

Alan Romano, Daniel Lehmann, Michael Pradel, Weihang Wang

摘要

To protect web users from malicious JavaScript code, various malware detectors have been proposed, which analyze and classify code as malicious or benign. State-of-the-art detectors focus on JavaScript as the only target language. However, WebAssembly provides attackers a new and so far unexplored opportunity for evading malware detectors. This paper presents Wobfuscator, the first technique for evading static JavaScript malware detection by moving parts of the computation into WebAssembly. The core of the technique is a set of code transformations that translate carefully selected parts of behavior implemented in JavaScript into WebAssembly. The approach is opportunistic in the sense that it uses WebAssembly where it helps to evade malware detection without compromising the correctness of the code. Evaluating our approach with a dataset of 43,499 malicious and 149,677 benign JavaScript files, as well as six popular JavaScript libraries reveals that our approach is effective at evading state-of-the-art, learning-based static malware detectors; the obfuscation is semantic-preserving; and our approach has small overhead, making it practical for use in real-world programs. By pinpointing limitations of current malware detectors, our work motivates future efforts on detecting multi-language malware in the web.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssembly 引用了 Finding the dwarf: recovering precise types from WebAssembly binaries
  • That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssembly 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • Finding the dwarf: recovering precise types from WebAssembly binaries 引用了 MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
  • Finding the dwarf: recovering precise types from WebAssembly binaries 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • An Empirical Study on the Effects of Obfuscation on Static Machine Learning-Based Malicious JavaScript Detectors 引用了 Online Tracking: A 1-million-site Measurement and Analysis
  • An Empirical Study on the Effects of Obfuscation on Static Machine Learning-Based Malicious JavaScript Detectors 引用了 MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
  • An Empirical Study on the Effects of Obfuscation on Static Machine Learning-Based Malicious JavaScript Detectors 引用了 HideNoSeek: Camouflaging Malicious JavaScript in Benign ASTs
  • An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases 引用了 MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
  • Wasm-R3: Record-Reduce-Replay for Realistic and Standalone WebAssembly Benchmarks 引用了 Finding the dwarf: recovering precise types from WebAssembly binaries
  • Wasm-R3: Record-Reduce-Replay for Realistic and Standalone WebAssembly Benchmarks 引用了 An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use Cases
  • HideNoSeek: Camouflaging Malicious JavaScript in Benign ASTs 引用了 How You Get Shot in the Back: A Systematical Study about Cryptojacking in the Real World
  • HideNoSeek: Camouflaging Malicious JavaScript in Benign ASTs 引用了 MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Large Language Models for Code Analysis: Do LLMs Really Do Their Job?Chongzhou Fang, Ning Miao, Shaurya Srivastav, Jialin Liu 等USENIX Security 2024 · 110 次引用
  2. Finding the dwarf: recovering precise types from WebAssembly binariesDaniel Lehmann, Michael PradelPLDI 2022 · 29 次引用
  3. That's a Tough Call: Studying the Challenges of Call Graph Construction for WebAssemblyDaniel Lehmann, Michelle Thalakottur, Frank Tip, Michael PradelISSTA 2023 · 11 次引用
  4. An Empirical Study on the Effects of Obfuscation on Static Machine Learning-Based Malicious JavaScript DetectorsKunlun Ren, Weizhong Qiang, Yueming Wu, Yi Zhou 等ISSTA 2023 · 11 次引用
  5. Wasm-R3: Record-Reduce-Replay for Realistic and Standalone WebAssembly BenchmarksDoehyun Baek, Jakob Getz, Yusung Sim, Daniel Lehmann 等OOPSLA 2024 · 6 次引用

它引用的 Paper7

  1. Online Tracking: A 1-million-site Measurement and AnalysisSteven Englehardt, Arvind NarayananCCS 2016 · 798 次引用
  2. MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its DefenseRadhesh Krishnan Konoth, Emanuele Vineti, Veelasha Moonsamy, Martina Lindorfer 等CCS 2018 · 162 次引用
  3. How You Get Shot in the Back: A Systematical Study about Cryptojacking in the Real WorldGeng Hong, Zhemin Yang, Sen Yang, Lei Zhang 等CCS 2018 · 120 次引用
  4. An Empirical Study of Real-World WebAssembly Binaries: Security, Languages, Use CasesAaron Hilbig, Daniel Lehmann, Michael PradelWWW 2021 · 114 次引用
  5. HideNoSeek: Camouflaging Malicious JavaScript in Benign ASTsAurore Fass, Michael Backes, Ben StockCCS 2019 · 78 次引用

相关 Paper

  1. WasmGuard: Enhancing Web Security through Robust Raw-Binary Detection of WebAssembly MalwareYuxia Sun, Huihong Chen, Zhixiao Fu, Wenjian Lv 等WWW 2025 · 2 次引用
  2. An Empirical Study of WebAssembly Usage in Node.jsMichelle Thalakottur, Maxwell Bernstein, Daniel Lehmann, Michael Pradel 等ICSE 2026
  3. Everything Old is New Again: Binary Security of WebAssemblyDaniel Lehmann, Johannes Kinder, Michael PradelUSENIX Security 2020
  4. An Empirical Study of Bugs in WebAssembly CompilersAlan Romano, Xinyue Liu, Yonghwi Kwon, Weihang WangASE 2021 · 43 次引用
  5. WAMO: Toward Secure Browser Inference via Web Model Obfuscation in WebAssemblyYitong Wang, Pengfei Yu, Hao Han, Jingjing Gu 等WWW 2026
黄昏的海面,两侧是细线勾勒的悬崖