JStrong: Malicious JavaScript detection based on code semantic representation and graph neural network

计算机科学 JavaScript 抽象语法树 源代码 控制流程图 图形 依赖关系图 理论计算机科学 程序设计语言 静态分析 程序理解 人工智能 编码(集合论) 语法 软件 软件系统 集合(抽象数据类型)
作者
Yong Fang,Chaoyi Huang,Minchuan Zeng,Zhiying Zhao,Cheng Zhi Huang
出处
期刊:Computers & Security [Elsevier]
卷期号:118: 102715-102715 被引量:5
标识
DOI:10.1016/j.cose.2022.102715
摘要

Web development technology has experienced significant progress. The creation of JavaScript has highly enriched the interactive ability of the client. However, the attacker uses the dynamic characteristics of the JavaScript language to embed malicious code into web pages to achieve the purpose of smuggling, redirection, and so on. Traditional methods based on static feature detection are therefore difficult to detect malicious code after confusion, and the method based on dynamic analysis is inefficient. To meet these challenges, this paper proposes a static detection model JStrong based on graph neural network. The model first generates an abstract syntax tree from the JavaScript source code, and then adds data flow and control flow information into the program dependency graph. In addition, we embed the nodes and edges of the graph into the feature vector and fully learn the features of the whole graph through the graph neural network. We take advantage of a real-world dataset collected from the top website and GitHub to evaluate JStrong and compare it to the state-of-the-art method. Experimental results show that JStrong achieves near-perfect classification performance and is superior to the state-of-the-art method.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
找不到文章直接疯完成签到,获得积分10
刚刚
宋祝福完成签到 ,获得积分10
1秒前
喵公进货完成签到,获得积分10
2秒前
汉堡包应助美丽的平文采纳,获得10
2秒前
4秒前
4秒前
天天快乐应助沉默的半凡采纳,获得10
4秒前
superyhf发布了新的文献求助10
5秒前
8秒前
8秒前
风林火山发布了新的文献求助10
9秒前
Frank发布了新的文献求助10
9秒前
happy完成签到,获得积分10
10秒前
KKZNB完成签到,获得积分10
10秒前
10秒前
11秒前
hanhan发布了新的文献求助30
11秒前
vicky完成签到,获得积分10
11秒前
唐水之发布了新的文献求助10
11秒前
12秒前
奥特斌完成签到 ,获得积分10
15秒前
15秒前
16秒前
卿莞尔完成签到 ,获得积分10
17秒前
superyhf完成签到,获得积分10
18秒前
啊啊啊发布了新的文献求助10
19秒前
20秒前
20秒前
crazy完成签到,获得积分10
21秒前
研友_841oDL发布了新的文献求助10
22秒前
22秒前
GGWEN发布了新的文献求助10
24秒前
25秒前
爱思考的我完成签到,获得积分10
25秒前
25秒前
陌小千完成签到 ,获得积分10
27秒前
欢呼从灵完成签到,获得积分20
28秒前
充电宝应助魏笑白采纳,获得10
28秒前
29秒前
29秒前
高分求助中
One Man Talking: Selected Essays of Shao Xunmei, 1929–1939 1000
Yuwu Song, Biographical Dictionary of the People's Republic of China 700
[Lambert-Eaton syndrome without calcium channel autoantibodies] 520
The three stars each: the Astrolabes and related texts 500
少脉山油柑叶的化学成分研究 430
Revolutions 400
Diffusion in Solids: Key Topics in Materials Science and Engineering 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2452190
求助须知:如何正确求助?哪些是违规求助? 2124895
关于积分的说明 5408805
捐赠科研通 1853644
什么是DOI,文献DOI怎么找? 921922
版权声明 562273
科研通“疑难数据库(出版商)”最低求助积分说明 493189