Research on Evasion and Detection of Malicious JavaScript Code

Yujie Ma, Haokai Wu, Yu An Tan, Yuanzhang Li*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This thesis analyzes the malicious essence of malicious JavaScript and the implementation of malicious functions. Then, this thesis combines the result with the taint analysis technology in the field of software vulnerability analysis, and proposes a new malicious JavaScript detection method based on taint analysis. This method defines the taint source and taint sink point according to the implementation of malicious code functions, and then performs taint propagation on the abstract syntax tree of the code to obtain the characteristics of the code. After forming a feature vector through the process, this thesis finally uses machine learning models to complete detection. Experimental results show that the method can well complete the binary classification of malicious and benign samples, and the detection effect on the obfuscated samples is significantly better than mainstream online anti-malware engines. Code obfuscation can hardly affect detection results of this method.

Original languageEnglish
Title of host publicationMachine Learning for Cyber Security - 5th International Conference, ML4CS 2023, Proceedings
EditorsDan Dongseong Kim, Chao Chen
PublisherSpringer Science and Business Media Deutschland GmbH
Pages104-130
Number of pages27
ISBN (Print)9789819724574
DOIs
Publication statusPublished - 2024
Event5th International Conference on Machine Learning for Cyber Security, ML4CS 2023 - Yanuca Island, Fiji
Duration: 4 Dec 20236 Dec 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14541 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference5th International Conference on Machine Learning for Cyber Security, ML4CS 2023
Country/TerritoryFiji
CityYanuca Island
Period4/12/236/12/23

Keywords

  • code obfuscation
  • JavaScript
  • malicious code detection
  • malicious code evasion
  • taint analysis

Fingerprint

Dive into the research topics of 'Research on Evasion and Detection of Malicious JavaScript Code'. Together they form a unique fingerprint.

Cite this