arrow
返回

Detecting malicious JavaScript code based on semantic analysis

delete2020-06-01
delete22
PRE
AI
方
方勇 (Yong Fang)
C
Cheng Huang *
Y
Yu Su
Y
Yaoyao Qiu
DOI:10.1016/j.cose.2020.101764delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Web development technology has undergone tremendous evolution, the creation of JavaScript has greatly enriched the interactive capabilities of the client. However, attackers use the dynamics feature of JavaScript language to embed malicious code into web pages for the purpose of drive-by-download, redirection, etc. The traditional method based on static feature detection is difficult to detect the malicious code after obfuscation, and the method based on dynamic analysis has low efficiency. To overcome these challenges, this paper proposes a static detection model based on semantic analysis. The model firstly generates an abstract syntax tree from JavaScript source codes, then automatically converts them to syntactic unit sequences. FastText algorithm is introduced to training word vectors. The syntactic unit sequences are represented as word vectors which will be input into Bi-LSTM network with attention mechanism. The detection model with Bi-LSTM network with attention mechanism is the key to detect malicious JavaScript. We experimented with the dataset using a five-fold cross-validation method. Experiments showed that the model can effectively detect obfuscated malicious JavaScript code and improve the detection speed, with a precision of 0.977 and recall of 0.974. (C) 2020 Elsevier Ltd. All rights reserved.
Keyword:
Malicious JavaScript detection
Abstract syntax tree
Attention mechanism
Static analysis
Bi-LSTM
FastText
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.7W

机构

四川大学 封面图
四川大学
学者数:
8.7K
论文数: 2.0K
被引数: 2.3W
引用论文

引用论文

Heterocyclic chelating agents. Part I. Metal complexes of 4-2′-pyridylimidazole
err1967-01-01
err0
PREAI
errW. J. Eilbeck; F. Holmes; G. G. Phillips; A. E. Underhill
err分享
err收藏
Bromination of 2-phenyl-1,2,3,4-tetrahydroquinolines
err2015-06-26
err0
PREAI
errM. N. Zemtsova; S. V. Kulemina; V. B. Rybakov; Yu. N. Klimochkin
err分享
err收藏
A survey of detection methods for XSS attacks
err2018-09-01
err45
PREAI
errSarmah, Upasana; Bhattacharyya, D. K.; Kalita, J. K.
err分享
err收藏
err分享
err收藏
学者 查看更多内容