arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.13253cs.CRcs.CYcs.LGcs.SE
收藏

分析浏览器内加密劫持

Analyzing In-browser Cryptojacking

PayPal(贝宝);University of Central Florida(中佛罗里达大学)

Muhammad Saad, David Mohaisen

AI总结:

本文从静态、动态和经济维度系统分析浏览器内加密劫持,实现100%脚本识别,评估资源影响与经济不可行性,并提出改进型防御措施。

摘要:

加密劫持是指未经许可使用目标设备秘密挖掘加密货币。在加密劫持中,攻击者使用恶意 JavaScript 代码强迫网页浏览器求解工作量证明谜题,从而通过利用网站访问者的资源牟利。为理解并对抗此类攻击,我们系统分析了浏览器内加密劫持的静态、动态和经济层面。在静态分析方面,我们对加密劫持样本进行基于内容、货币和代码的分类,以:1)衡量其在各网站间的分布,2)突出其平台亲和性,3)研究其代码复杂度。我们应用机器学习技术,以 100% 的准确率将加密劫持脚本与良性及恶意 JavaScript 样本区分开。在动态分析方面,我们分析加密劫持对 CPU 和电池使用等关键系统资源的影响。我们还进行网页浏览器指纹识别,以分析受害节点与 dropzone 加密劫持服务器之间的信息交换。我们还构建了一个分析模型,以实证评估加密劫持作为在线广告替代方案的可行性。结果显示存在相当大的负利润与亏损差距,表明该模型在经济上不可行。最后,利用从分析中获得的洞见,我们构建了浏览器内加密劫持的对抗措施,以改进现有补救方案。

英文摘要:

Cryptojacking is the permissionless use of a target device to covertly mine cryptocurrencies. With cryptojacking, attackers use malicious JavaScript codes to force web browsers into solving proof-of-work puzzles, thus making money by exploiting the resources of the website visitors. To understand and counter such attacks, we systematically analyze the static, dynamic, and economic aspects of in-browser cryptojacking. For static analysis, we perform content, currency, and code-based categorization of cryptojacking samples to 1) measure their distribution across websites, 2) highlight their platform affinities, and 3) study their code complexities. We apply machine learning techniques to distinguish cryptojacking scripts from benign and malicious JavaScript samples with 100\% accuracy. For dynamic analysis, we analyze the effect of cryptojacking on critical system resources, such as CPU and battery usage. We also perform web browser fingerprinting to analyze the information exchange between the victim node and the dropzone cryptojacking server. We also build an analytical model to empirically evaluate the feasibility of cryptojacking as an alternative to online advertisement. Our results show a sizeable negative profit and loss gap, indicating that the model is economically infeasible. Finally, leveraging insights from our analyses, we build countermeasures for in-browser cryptojacking that improve the existing remedies.

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

↑