arrow
Return

Effective method for detecting malicious PowerShell scripts based on hybrid features

delete2021-08-01
delete14
PRE
AI
方
方勇 (Yong Fang)
X
Xiangyu Zhou
C
Cheng Huang *
DOI:10.1016/j.neucom.2021.03.117delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
At present, network attacks are rampant in the Internet world, and the attack methods of hackers are changing steadily. PowerShell is a programming language based on the command line and.NET framework, with powerful functions and good compatibility. Therefore, hackers often use PowerShell malicious scripts to attack the victims in APT attacks. When these malicious PowerShell scripts are executed, hackers can control the victim's computer or leave a backdoor on their computers. In this paper, a detection model of malicious PowerShell scripts based on hybrid features is proposed, we analyzed the differences between malicious and benign samples in text characters, functions, tokens and the nodes of the abstract syntax tree. Firstly, the script of PowerShell is embedded by FastText. Then the textual features, token features and the nodes features of PowerShell code extracted from the abstract syntax tree are added. Finally, the hybrid features of scrips will be classified by a Random Forest classifier. In the experiment, the malicious scripts are inserted into the benign scripts to weaken the features of the malicious samples in the level of abstract syntax tree nodes and tokens, which makes the scripts more complex. Even in such a complex data set, the proposed model which is based on hybrid features still achieves an accuracy of 97.76% in fivefold cross-validation. Moreover, the accuracy of this proposed model on the original scripts is 98.93%, which means that the proposed model has the ability to classify complex scripts. (c) 2021 Elsevier B.V. All rights reserved.
Keywords:
Powershell
Abstract syntax tree
Scripts detection
Machine learning
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Neurocomputing cover
Neurocomputing
IF:
6.5
Papers:
2.5W
Citations:
6.5W

Organization

S
sichuan university
Scholars:
12.1W
Papers: 7.8W
Citations: 100
Cited Papers

Cited Papers

A Many Objective-Based Feature Selection Model for Anomaly Detection in Cloud Environment
err2020-01-01
err18
errOAAI
errZhang, Zhixia; Wen, Jie; Zhang, Jiangjiang; Cai, Xingjuan; Xie, Liping
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Mental Health Smartphone Apps: Review and Evidence-Based Recommendations for Future Developments
err2016-03-01
err0
errOAAI
errDavid Bakker; Nikolaos Kazantzis; Debra Rickwood; Nikki Rickard
errShare
errSave
errShare
errSave
Cryptanalysis of Round-Reduced Fantomas, Robin and iSCREAM
err2019-01-10
err0
errOAAI
errAshutosh Dhar Dwivedi; Shalini Dhar; Gautam Srivastava; Rajani Singh
errShare
errSave
Malicious code detection based on CNNs and multi-objective algorithm
err2019-07-01
err157
PREAI
errCui, Zhihua; Du, Lei; Wang, Penghong; Cai, Xingjuan; Zhang, Wensheng
errShare
errSave
On the adoption of anomaly detection for packed executable filtering
err2014-06-01
err12
PREAI
errUgarte-Pedrero, Xabier; Santos, Igor; Garcia-Ferreira, Ivan; Huerta, Sergio; Sanz, Borja; Bringas, Pablo G.
errShare
errSave
DGCNN: A convolutional neural network over large-scale labeled graphs
err2018-12-01
err163
PREAI
errAnh Viet Phan; Minh Le Nguyen; Yen Lam Hoang Nguyen; Lam Thu Bui
errShare
errSave
researcher View more