arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.01126cs.CRcs.AIcs.LG
收藏

ScriptNet:用于恶意JavaScript检测的神经静态分析

ScriptNet: Neural Static Analysis for Malicious JavaScript Detection

Microsoft Research(微软研究院);University of California, Santa Cruz(加州大学圣克鲁兹分校);Microsoft Corporation(微软公司)

Jack W. Stokes, Rakshit Agrawal, Geoff McDonald, Matthew Hausknecht

摘要:

恶意脚本是一种重要的计算机感染威胁媒介。对于网络规模的处理,静态分析提供了相当高的计算效率。提出了一种基于静态分析的神经恶意JavaScript检测系统ScriptNet。我们使用长序列卷积分割(CPoLS)模型,该模型将JavaScript文件作为字节序列处理。较低的层捕获这些字节序列的顺序性质,而较高的层将结果嵌入分类为恶意或良性。与之前提出的解决方案不同,我们的模型变体以端到端的方式进行训练,即使对于顺序处理层也允许进行区分训练。在212,408个JavaScript文件的大型语料库上评估该模型表明,性能最佳的CPoLS模型在0.50%的假阳性率(FPR)下为第一个60K字节的子序列提供了97.20%的真阳性率(TPR)。表现最好的CPoLS模型显著优于几个基线模型。

英文摘要:

Malicious scripts are an important computer infection threat vector in the wild. For web-scale processing, static analysis offers substantial computing efficiencies. We propose the ScriptNet system for neural malicious JavaScript detection which is based on static analysis. We use the Convoluted Partitioning of Long Sequences (CPoLS) model, which processes Javascript files as byte sequences. Lower layers capture the sequential nature of these byte sequences while higher layers classify the resulting embedding as malicious or benign. Unlike previously proposed solutions, our model variants are trained in an end-to-end fashion allowing discriminative training even for the sequential processing layers. Evaluating this model on a large corpus of 212,408 JavaScript files indicates that the best performing CPoLS model offers a 97.20% true positive rate (TPR) for the first 60K byte subsequence at a false positive rate (FPR) of 0.50%. The best performing CPoLS model significantly outperform several baseline models.

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

↑