JOURNAL ARTICLE

Obfuscated Malicious JavaScript Detection by Machine Learning

Abstract

In recent years, malicious JavaScript code has become more and more pervasive and been used by attackers to perform their attacks on the Web.To evade the detection of defense measures, various kinds of obfuscation techniques have been applied by the malicious script, taking advantage of the dynamic nature of JavaScript language.In this paper, we propose a new machine-learning based detection approach aiming at defeating such evasion attempts.Dynamic execution traces are recorded to capture all behaviors performed by the malicious script, including the dynamic generated code.Semantic-based deobfuscation is used to simplify the traces to get more concise and more essential instructions.None-ordered and none-concessive trace patterns are extracted from the deobfuscated traces to represent the intrinsic features for malicious scripts.We evaluated our approach with a large number of dataset collected from the Internet.The empirical results demonstrate that our approach is able to detect obfuscated malicious JavaScript code both effectively and efficiently.

Keywords:
JavaScript Computer science Operating system Artificial intelligence Programming language World Wide Web

Metrics

3
Cited By
0.00
FWCI (Field Weighted Citation Impact)
16
Refs
0.04
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Malware Detection Techniques
Physical Sciences →  Computer Science →  Signal Processing
Spam and Phishing Detection
Physical Sciences →  Computer Science →  Information Systems
Web Application Security Vulnerabilities
Physical Sciences →  Computer Science →  Information Systems
© 2026 ScienceGate Book Chapters — All rights reserved.