JavaScript Malicious Codes Analysis Based on Naive Bayes Classification

Yongle Hao,Hongliang Liang,Daijie Zhang,Qian Zhao,Baojiang Cui
DOI: https://doi.org/10.1109/3pgcic.2014.147
2014-01-01
Abstract:Given the security threats of JavaScript malicious codes attacks in the Internet environment, this paper presents a method that uses the Naive Bayes classification to analyze JavaScript malicious codes. The method uses many malicious and normal sample data, and trains the classifier using extended API symbol features with a high degree of predictability of malicious codes, which contain variable names, function names, string constants and comments extracted from the JavaScript codes. Experiments show that the analysis method of JavaScript malicious codes is effective and achieves high accuracy.
What problem does this paper attempt to address?