基于JavaScript和VBScript的恶意邮件神经分类研究
Neural Classification of Malicious Scripts: A study with JavaScript and VBScript
摘要:
恶意脚本是一种重要的计算机感染威胁媒介。我们的分析表明,两种最流行的恶意脚本类型包括JavaScript和VBScript。检测到的JavaScript攻击的百分比正在上升。为了解决这些威胁,我们研究了两种深度递归模型,LaMP(LSTM和Max Pooling)和CPoLS(长序列卷积分割),它们将JavaScript和VBScript作为字节序列处理。较低的层捕获这些字节序列的顺序性质,而较高的层将结果嵌入分类为恶意或良性。与之前提出的解决方案不同,我们的模型以端到端的方式进行训练,即使对于顺序处理层也允许进行区分训练。在296,274个JavaScript文件的大型语料库上评估这些模型表明,性能最好的LaMP模型具有65.9%的真阳性率(TPR),假阳性率(FPR)为1.0%。同样,最佳CPoLS模型在FPR为1.0%时的TPR为45.3%。LaMP和CPoLS在240,504个VBScript文件的集合上分别产生69.3%和67.9%的TPR,FPR为1.0%。
英文摘要:
Malicious scripts are an important computer infection threat vector. Our analysis reveals that the two most prevalent types of malicious scripts include JavaScript and VBScript. The percentage of detected JavaScript attacks are on the rise. To address these threats, we investigate two deep recurrent models, LaMP (LSTM and Max Pooling) and CPoLS (Convoluted Partitioning of Long Sequences), which process JavaScript and VBScript 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 models are trained in an end-to-end fashion allowing discriminative training even for the sequential processing layers. Evaluating these models on a large corpus of 296,274 JavaScript files indicates that the best performing LaMP model has a 65.9% true positive rate (TPR) at a false positive rate (FPR) of 1.0%. Similarly, the best CPoLS model has a TPR of 45.3% at an FPR of 1.0%. LaMP and CPoLS yield a TPR of 69.3% and 67.9%, respectively, at an FPR of 1.0% on a collection of 240,504 VBScript files.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。