ScriptNet: Neural Static Analysis for Malicious JavaScript Detection

Jack W. Stokes 1
Rakshit Agrawal 2
Geoff McDonald 3
Matthew Hausknecht 1
1
 
Microsoft Research,Redmond,Washington,USA,98052
3
 
Microsoft Corp.,#305 876 14th Ave. W, Vancouver,British Columbia,Canada,V5Z 1R1
Publication typeProceedings Article
Publication date2019-11-01
Abstract
Malicious scripts are an important computer infection threat vector for computer users. For internet-scale processing, static analysis offers substantial computing efficiencies. We propose the ScriptNet system for neural malicious JavaScript detection which is based on static analysis. We also propose a novel deep learning model, Pre-Informant Learning (PIL), which processes Javascript files as byte sequences. Lower layers capture the sequential nature of these byte sequences while higher layers classify the resulting embedding as malicious or benign. Unlike previously proposed solutions, our model variants are trained in an end-to-end fashion allowing discriminative training even for the sequential processing layers. Evaluating this model on a large corpus of 212,408 JavaScript files indicates that the best performing PIL model offers a 98.10% true positive rate (TPR) for the first 60K byte subsequences and 81.66% for the full-length files, at a false positive rate (FPR) of 0.50%. Both models significantly outperform several baseline models. The best performing PIL model can successfully detect 92.02% of unknown malware samples in a hindsight experiment where the true labels of the malicious JavaScript files were not known when the model was trained.
Found 
Found 

Top-30

Journals

1
Communications in Computer and Information Science
1 publication, 11.11%
IEEE Access
1 publication, 11.11%
ICT Express
1 publication, 11.11%
Applied Sciences (Switzerland)
1 publication, 11.11%
1

Publishers

1
2
3
4
5
6
Institute of Electrical and Electronics Engineers (IEEE)
6 publications, 66.67%
Springer Nature
1 publication, 11.11%
Elsevier
1 publication, 11.11%
MDPI
1 publication, 11.11%
1
2
3
4
5
6
  • We do not take into account publications without a DOI.
  • Statistics recalculated weekly.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Metrics
9
Share