Detecting Malicious PowerShell Commands using Deep Neural Networks
Danny Hendler, Shay Kels, Amir Rubin

TL;DR
This paper develops and evaluates deep learning-based detectors, including NLP and CNN models, to identify malicious PowerShell commands, demonstrating that ensemble methods improve detection of evasive malicious scripts.
Contribution
It introduces novel deep neural network detectors for malicious PowerShell commands and shows that combining NLP and CNN models enhances detection accuracy against obfuscated threats.
Findings
Ensemble detector outperforms individual models.
CNN detects obfuscation patterns missed by NLP.
High detection performance on real-world dataset.
Abstract
Microsoft's PowerShell is a command-line shell and scripting language that is installed by default on Windows machines. While PowerShell can be configured by administrators for restricting access and reducing vulnerabilities, these restrictions can be bypassed. Moreover, PowerShell commands can be easily generated dynamically, executed from memory, encoded and obfuscated, thus making the logging and forensic analysis of code executed by PowerShell challenging.For all these reasons, PowerShell is increasingly used by cybercriminals as part of their attacks' tool chain, mainly for downloading malicious contents and for lateral movement. Indeed, a recent comprehensive technical report by Symantec dedicated to PowerShell's abuse by cybercrimials reported on a sharp increase in the number of malicious PowerShell samples they received and in the number of penetration tools and frameworks that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Digital and Cyber Forensics · Cybercrime and Law Enforcement Studies
