arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2306.05698cs.CRcs.LG
收藏

JABBERWOCK:一种WebAssembly数据集生成工具及其在恶意网站检测中的应用

JABBERWOCK: A Tool for WebAssembly Dataset Generation and Its Application to Malicious Website Detection

Osaka University(大阪大学);National Institute of Technology, Nara College(奈良工业高等专门学校)

Chika Komiya, Naoto Yanai, Kyosuke Yamashita, Shingo Okamura

AI总结:

针对WebAssembly样本不足限制恶意网站检测新特征探索的问题,提出可通过JavaScript伪生成WebAssembly数据集的工具JABBERWOCK,生成样本接近真实样本,单样本生成仅需4.5秒,助力恶意网站检测达99%F1值且可兼容现有工具提升性能。

摘要:

据我们所知,机器学习常被用于恶意网站检测,但由于样本数量有限,将WebAssembly作为特征的方法尚未得到探索。本文中,我们提出JABBERWOCK(全称为JAvascript-Based Binary EncodeR by WebAssembly Optimization paCKer,即基于WebAssembly优化打包器的JavaScript二进制编码器),这是一种通过JavaScript以伪生成方式构建WebAssembly数据集的工具。粗略来说,JABBERWOCK会自动采集真实世界中的JavaScript代码,将其转换为WebAssembly,随后输出WebAssembly的向量作为恶意网站检测的样本。\n我们还从三个方面对JABBERWOCK开展了实验评估:数据集生成的处理时间、生成样本与从互联网采集的真实WebAssembly样本的对比、以及在恶意网站检测中的应用效果。在处理时间方面,我们证明无论样本数量多少,JABBERWOCK构建数据集的单样本耗时仅为4.5秒。其次,将JABBERWOCK生成的10000个样本与采集到的168个真实WebAssembly样本对比后,我们认为JABBERWOCK生成的样本与真实世界中的样本具有相似性。随后我们证实,JABBERWOCK可使恶意网站检测达到99%的F1值,这一高分的原因是JABBERWOCK拉大了良性样本与恶意样本之间的特征差距。我们还确认,JABBERWOCK可与现有恶意网站检测工具结合以提升F1值。JABBERWOCK已通过GitHub公开(https://github.com/c-chocolate/Jabberwock)。

英文摘要:

Machine learning is often used for malicious website detection, but an approach incorporating WebAssembly as a feature has not been explored due to a limited number of samples, to the best of our knowledge. In this paper, we propose JABBERWOCK (JAvascript-Based Binary EncodeR by WebAssembly Optimization paCKer), a tool to generate WebAssembly datasets in a pseudo fashion via JavaScript. Loosely speaking, JABBERWOCK automatically gathers JavaScript code in the real world, convert them into WebAssembly, and then outputs vectors of the WebAssembly as samples for malicious website detection. We also conduct experimental evaluations of JABBERWOCK in terms of the processing time for dataset generation, comparison of the generated samples with actual WebAssembly samples gathered from the Internet, and an application for malicious website detection. Regarding the processing time, we show that JABBERWOCK can construct a dataset in 4.5 seconds per sample for any number of samples. Next, comparing 10,000 samples output by JABBERWOCK with 168 gathered WebAssembly samples, we believe that the generated samples by JABBERWOCK are similar to those in the real world. We then show that JABBERWOCK can provide malicious website detection with 99\% F1-score because JABBERWOCK makes a gap between benign and malicious samples as the reason for the above high score. We also confirm that JABBERWOCK can be combined with an existing malicious website detection tool to improve F1-scores. JABBERWOCK is publicly available via GitHub (https://github.com/c-chocolate/Jabberwock).

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

↑