arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.02493cs.CRcs.PL
收藏

基于动态图的浏览器内加密货币挖矿指纹识别

Dynamic Graph-based Fingerprinting of In-browser Cryptomining

Tanapoom Sermchaiwong, Jiasi Shen

AI总结:

本文提出基于指令级数据流图指纹的浏览器内加密挖矿检测框架 PoT,通过图简化算法和 n-片段包含分数提升对混淆攻击的鲁棒性,并在实验中优于现有方法。

摘要:

加密货币的去中心化和不受监管特性,加上其货币价值,使其成为各种非法活动的工具。其中一种活动是加密劫持(cryptojacking),即未经同意窃取计算资源进行加密货币挖矿以牟利的攻击。浏览器内加密劫持恶意软件利用 WebAssembly 等高性能网络技术在浏览器内直接挖矿,无需下载文件。尽管现有的加密挖矿检测方法报告了高准确率和低开销,但它们往往容易受到各种混淆手段的影响,并且由于野外加密挖矿脚本种类有限,标准代码混淆方法自然成为规避检测的一种有吸引力的解决方案。为了解决这些局限性,我们提出使用指令级数据流图来检测加密挖矿行为。数据流图能够提供程序计算过程的详细结构信息,使其适合刻画工作量证明(proof-of-work)算法,但由于其规模较大且在混淆下容易受到噪声和碎片化的影响,分析起来可能比较困难。我们提出了两种简化和比较数据流图的技术:(1)一种图简化算法,在保留局部子结构的同时降低处理大规模细粒度数据流图的计算负担;(2)一种子图相似性度量,即基于片段包含的 n-片段包含分数(n-fragment inclusion score),对噪声和混淆具有鲁棒性。利用数据流图作为计算指纹,我们的检测框架 PoT(Proof-of-Theft)能够在面对标准混淆时取得较高的检测准确率,优于现有检测方法。此外,PoT 使用了通用的数据流特性,可应用于更容易遭受加密劫持的其他平台,如服务器和数据中心。

英文摘要:

The decentralized and unregulated nature of cryptocurrencies, combined with their monetary value, has made them a vehicle for various illicit activities. One such activity is cryptojacking, an attack that uses stolen computing resources to mine cryptocurrencies without consent for profit. In-browser cryptojacking malware exploits high-performance web technologies like WebAssembly to mine cryptocurrencies directly within the browser without file downloads. Although existing methods for cryptomining detection report high accuracy and low overhead, they are often susceptible to various forms of obfuscation, and due to the limited variety of cryptomining scripts in the wild, standard code obfuscation methods present a natural and appealing solution to avoid detection. To address these limitations, we propose using instruction-level data-flow graphs to detect cryptomining behavior. Data-flow graphs offer detailed structural insights into a program's computations, making them suitable for characterizing proof-of-work algorithms, but they can be difficult to analyze due to their large size and susceptibility to noise and fragmentation under obfuscation. We present two techniques to simplify and compare data-flow graphs: (1) a graph simplification algorithm to reduce the computational burden of processing large and granular data-flow graphs while preserving local substructures; and (2) a subgraph similarity measure, the n-fragment inclusion score, based on fragment inclusion that is robust against noise and obfuscation. Using data-flow graphs as computation fingerprints, our detection framework PoT (Proof-of-Theft) was able to achieve high detection accuracy against standard obfuscations, outperforming existing detection methods. Moreover, PoT uses generic data-flow properties that can be applied to other platforms more susceptible to cryptojacking such as servers and data centers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑