JOURNAL ARTICLE

Detection of Obfuscated Malicious JavaScript Code

Ammar AlazabAnsam KhraisatMoutaz AlazabSarabjot Singh

Year: 2022 Journal:   Future Internet Vol: 14 (8)Pages: 217-217   Publisher: Multidisciplinary Digital Publishing Institute

Abstract

Websites on the Internet are becoming increasingly vulnerable to malicious JavaScript code because of its strong impact and dramatic effect. Numerous recent cyberattacks use JavaScript vulnerabilities, and in some cases employ obfuscation to conceal their malice and elude detection. To secure Internet users, an adequate intrusion-detection system (IDS) for malicious JavaScript must be developed. This paper proposes an automatic IDS of obfuscated JavaScript that employs several features and machine-learning techniques that effectively distinguish malicious and benign JavaScript codes. We also present a new set of features, which can detect obfuscation in JavaScript. The features are selected based on identifying obfuscation, a popular method to bypass conventional malware detection systems. The performance of the suggested approach has been tested on JavaScript obfuscation attacks. The studies have shown that IDS based on selected features has a detection rate of 94% for malicious samples and 81% for benign samples within the dimension of the feature vector of 60.

Keywords:
JavaScript Obfuscation Computer science Malware Unobtrusive JavaScript Cryptovirology Blacklist Computer security The Internet Code (set theory) Rich Internet application Set (abstract data type) World Wide Web Programming language

Metrics

34
Cited By
6.63
FWCI (Field Weighted Citation Impact)
32
Refs
0.96
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Malware Detection Techniques
Physical Sciences →  Computer Science →  Signal Processing
Network Security and Intrusion Detection
Physical Sciences →  Computer Science →  Computer Networks and Communications
Spam and Phishing Detection
Physical Sciences →  Computer Science →  Information Systems
© 2026 ScienceGate Book Chapters — All rights reserved.