Yongle Hao, Hongliang Liang, Daijie Zhang, Qian Zhao, Baojiang Cui
{"title":"JavaScript Malicious Codes Analysis Based on Naive Bayes Classification","authors":"Yongle Hao, Hongliang Liang, Daijie Zhang, Qian Zhao, Baojiang Cui","doi":"10.1109/3PGCIC.2014.147","DOIUrl":null,"url":null,"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.","PeriodicalId":395610,"journal":{"name":"2014 Ninth International Conference on P2P, Parallel, Grid, Cloud and Internet Computing","volume":"73 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-11-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 Ninth International Conference on P2P, Parallel, Grid, Cloud and Internet Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/3PGCIC.2014.147","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7
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.