arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1701.07860cs.CR
收藏

JSForce:一个用于恶意JavaScript检测的强制执行引擎

JSForce: A Forced Execution Engine for Malicious JavaScript Detection

Xunchao Hu, Yao Cheng, Yue Duan, Andrew Henderson, Heng Yin

摘要:

JavaScript利用攻击的急剧增加导致了对开发能够进行恶意JavaScript分析的技术的强烈兴趣。现有的分析技术分为两大类:静态分析和动态分析。静态分析往往会产生不准确的结果(假阳性和假阴性),并且容易受到各种混淆技术的影响。因此,动态分析不断获得流行,以暴露恶意JavaScript的典型特征。然而,现有的动态分析技术存在着代码覆盖率低、环境设置不完善等缺陷,为规避检测留下了广阔的攻击面。为了克服这些限制,我们提出了一种新的JavaScript强制执行引擎JSForce驱动器的设计和实现任意JavaScript片段沿不同的路径执行,没有任何输入或环境设置。我们使用220,587个HTML和23,509个PDF真实世界样本来评估JSForce。实验结果表明,采用我们的强制执行引擎,在相同的检测策略下,恶意JavaScript的检测率可以提高206.29%,而误报率没有明显增加。我们还将JSForce作为在线服务公开提供,并将在接受发布后向安全社区发布源代码。

英文摘要:

The drastic increase of JavaScript exploitation attacks has led to a strong interest in developing techniques to enable malicious JavaScript analysis. Existing analysis tech- niques fall into two general categories: static analysis and dynamic analysis. Static analysis tends to produce inaccurate results (both false positive and false negative) and is vulnerable to a wide series of obfuscation techniques. Thus, dynamic analysis is constantly gaining popularity for exposing the typical features of malicious JavaScript. However, existing dynamic analysis techniques possess limitations such as limited code coverage and incomplete environment setup, leaving a broad attack surface for evading the detection. To overcome these limitations, we present the design and implementation of a novel JavaScript forced execution engine named JSForce which drives an arbitrary JavaScript snippet to execute along different paths without any input or environment setup. We evaluate JSForce using 220,587 HTML and 23,509 PDF real- world samples. Experimental results show that by adopting our forced execution engine, the malicious JavaScript detection rate can be substantially boosted by 206.29% using same detection policy without any noticeable false positive increase. We also make JSForce publicly available as an online service and will release the source code to the security community upon the acceptance for publication.

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

↑