arrow
返回

Detecting Malicious JavaScript Using Structure-Based Analysis of Graph Representation

delete2023-01-01
delete3
delete
OA
AI
M
Muhammad Fakhrur Rozi *
T
Tao Ban
S
Seiichi Ozawa
A
Akira Yamada
T
Takeshi Takahashi
S
Sang‐Wook Kim
D
Daisuke Inoue
DOI:10.1109/ACCESS.2023.3317266delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Malicious JavaScript code in web applications poses a significant threat as cyber attackers exploit it to perform various malicious activities. Detecting these malicious scripts is challenging, given their diverse nature and the continuous evolution of attack techniques. Most approaches formulate this task as a static or sequential feature of the script, which is insufficient in terms of flexibility to various attack techniques and the ability to capture the script's semantic meaning. To address this issue, we propose an alternative approach that leverages JavaScript code's abstract syntax tree (AST) representation, focusing on distinctive syntactic structure features. The proposed approach uses graph neural networks to extract structural features from the AST graph while considering the attribute features of individual nodes, which uses neural message passing with neighborhood aggregation. The proposed method encodes both the local AST graph structure and attributes of the nodes. It enables capturing the source code's semantic meaning and exploits the signature structure in the AST representations. The proposed method consistently achieved high detection performance in extensive experiments on two different datasets, with accuracy scores of 99.4% and 96.92%. The obtained evaluation metrics demonstrate the effectiveness of our approach in accurately detecting malicious JavaScript code, with our proposed method successfully detecting more than 81% for various attack types and achieving an almost twofold performance improvement on JS-Droppers compared to the sequence-based approach. In addition, we observed that the AST graph structure represented the code's semantic meaning, exhibiting distinctive patterns and signatures that could be effectively captured using the proposed method.
Keyword:
Abstract syntax tree
cyber security
graph neural network
malicious JavaScript detection
source code representation

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

K
kobe university
学者数:
1.6W
论文数: 1.2W
被引数: 8
引用论文

引用论文

Re-Cloning the N27 Dopamine Cell Line to Improve a Cell Culture Model of Parkinson's Disease
err2016-08-11
err0
errOAAI
errLu Gao; Wenbo Zhou; Breanna Symmes; Curt R. Freed
err分享
err收藏
err分享
err收藏
JSContana: Malicious JavaScript detection using adaptable context analysis and key feature extraction
err2021-05-01
err21
PREAI
errHuang, Yunhua; Li, Tao; Zhang, Lijia; Li, Beibei; Liu, Xiaojie
err分享
err收藏
Chaskey: An Efficient MAC Algorithm for 32-bit Microcontrollers
err2014-11-29
err0
errOAAI
errNicky Mouha; Bart Mennink; Anthony Van Herrewege; Dai Watanabe; Bart Preneel; Ingrid Verbauwhede
err分享
err收藏
学者 查看更多内容