Lune

ASE2020Top-tier venue

MinerRay: Semantics-Aware Analysis for Ever-Evolving Cryptojacking Detection

Alan Romano, Yunhui Zheng, Weihang Wang

Abstract

Recent advances in web technology have made in-browser cryptomining a viable funding model. However, these services have been abused to launch large-scale cryptojacking attacks to secretly mine cryptocurrency in browsers. To detect them, various signaturebased or runtime feature-based methods have been proposed. However, they can be imprecise or easily circumvented. To this end, we propose MinerRay, a generic scheme to detect malicious in-browser cryptominers. Instead of leveraging unreliable external patterns, MinerRay infers the essence of cryptomining behaviors that differentiate mining from common browser activities in both WebAssembly and JavaScript contexts. Additionally, to detect stealthy mining activities without user consents, MinerRay checks if the miner can only be instantiated from user actions. MinerRay was evaluated on over 1 million websites. It detected cryptominers on 901 websites, where 885 secretly start mining without user consent. Besides, we compared MinerRay with five stateof-the-art signature-based or behavior-based cryptominer detectors (MineSweeper, CMTracker, Outguard, No Coin, and minerBlock). We observed that emerging miners with new signatures or new services were detected by MinerRay but missed by others. The results show that our proposed technique is effective and robust in detecting evolving cryptominers, yielding more true positives, and fewer errors.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Inadvertently Making Cyber Criminals Rich: A Comprehensive Study of Cryptojacking Campaigns at Internet Scale cites How You Get Shot in the Back: A Systematical Study about Cryptojacking in the Real World
  • Inadvertently Making Cyber Criminals Rich: A Comprehensive Study of Cryptojacking Campaigns at Internet Scale cites MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
  • An Empirical Study of Bugs in WebAssembly Compilers cites MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
  • When Function Inlining Meets WebAssembly: Counterintuitive Impacts on Runtime Performance cites An Empirical Study of Bugs in WebAssembly Compilers
  • Automated WebAssembly Function Purpose Identification With Semantics-Aware Analysis cites MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
  • CLARC: C/C++ Benchmark for Robust Code Search cites An Empirical Study of Bugs in WebAssembly Compilers
  • CLARC: C/C++ Benchmark for Robust Code Search cites When Function Inlining Meets WebAssembly: Counterintuitive Impacts on Runtime Performance
  • CLARC: C/C++ Benchmark for Robust Code Search cites Automated WebAssembly Function Purpose Identification With Semantics-Aware Analysis
  • CLARC: C/C++ Benchmark for Robust Code Search cites Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssembly
  • Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssembly cites How You Get Shot in the Back: A Systematical Study about Cryptojacking in the Real World
  • Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssembly cites MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its Defense
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. An Empirical Study of Bugs in WebAssembly CompilersAlan Romano, Xinyue Liu, Yonghwi Kwon, Weihang WangASE 2021 · 43 citations
  2. Wobfuscator: Obfuscating JavaScript Malware via Opportunistic Translation to WebAssemblyAlan Romano, Daniel Lehmann, Michael Pradel, Weihang WangS&P 2022 · 40 citations
  3. Automated WebAssembly Function Purpose Identification With Semantics-Aware AnalysisAlan Romano, Weihang WangWWW 2023 · 14 citations
  4. When Function Inlining Meets WebAssembly: Counterintuitive Impacts on Runtime PerformanceAlan Romano, Weihang WangFSE 2023 · 7 citations
  5. CLARC: C/C++ Benchmark for Robust Code SearchKaicheng Wang, Liyan Huang, Weike Fang, Weihang WangICLR 2026 · 3 citations

Builds on4

  1. MineSweeper: An In-depth Look into Drive-by Cryptocurrency Mining and Its DefenseRadhesh Krishnan Konoth, Emanuele Vineti, Veelasha Moonsamy, Martina Lindorfer et al.CCS 2018 · 162 citations
  2. How You Get Shot in the Back: A Systematical Study about Cryptojacking in the Real WorldGeng Hong, Zhemin Yang, Sen Yang, Lei Zhang et al.CCS 2018 · 120 citations
  3. Cryptographic Function Detection in Obfuscated Binaries via Bit-Precise Symbolic Loop MappingDongpeng Xu, Jiang Ming, Dinghao WuS&P 2017 · 83 citations
  4. Inadvertently Making Cyber Criminals Rich: A Comprehensive Study of Cryptojacking Campaigns at Internet ScaleHugo L. J. Bijmans, Tim M. Booij, Christian DoerrUSENIX Security 2019 · 46 citations

Related papers

  1. MINOS: A Lightweight Real-Time Cryptojacking Detection SystemFaraz Naseem Naseem, Ahmet Aris, Leonardo Babun, Ege Tekiner et al.NDSS 2021
  2. Robbery on DevOps: Understanding and Mitigating Illicit Cryptomining on Continuous Integration Service PlatformsZhi Li, Weijie Liu, Hongbo Chen, XiaoFeng Wang et al.S&P 2022 · 19 citations
  3. MagTracer: Detecting GPU Cryptojacking Attacks via Magnetic Leakage SignalsRui Xiao, Tianyu Li, Soundarya Ramesh, Jun Han et al.MobiCom 2023 · 20 citations
  4. A Lightweight IoT Cryptojacking Detection Mechanism in Heterogeneous Smart Home NetworksEge Tekiner, Abbas Acar, A. Selcuk UluagacNDSS 2022
  5. WasmGuard: Enhancing Web Security through Robust Raw-Binary Detection of WebAssembly MalwareYuxia Sun, Huihong Chen, Zhixiao Fu, Wenjian Lv et al.WWW 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines