MPSD: A Robust Defense Mechanism against Malicious PowerShell Scripts in Windows Systems
Open Access
- 19 September 2024
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 13 (18) , 3717
Abstract
This manuscript introduces MPSD (Malicious PowerShell Script Detector), an advanced tool to protect Windows systems from malicious PowerShell commands and scripts commonly used in fileless malware attacks. These scripts are often hidden in Office document macros or downloaded remotely via PowerShell, posing significant threats to corporate networks. A 2018 report revealed that 77% of successful cyberattacks involved fileless malware, with PowerShell being the primary attack method, as highlighted in Red Canary’s 2022 report. To counter these threats, MPSD leverages the Antimalware Scan Interface (AMSI) to intercept and analyze real-time PowerShell scripts, preventing their execution. It further utilizes VirusTotal to filter out malicious scripts. Unlike traditional methods that rely on direct access to scripts, MPSD detects them before execution, addressing the challenge of hidden or obfuscated scripts. Experimental results show that MPSD outperforms well-known antivirus engines, with a low false-negative rate of 1.83%. MPSD is highly effective against evasion techniques like concatenation, encoding, and reordering, making it a robust tool in the cybersecurity landscape.Keywords
Funding Information
- Taiwan’s Ministry of Science and Technology (MOST 111-2221-E-008-080-MY3)
This publication has 11 references indexed in Scilit:
- Evaluating the Possibility of Evasion Attacks to Machine Learning-Based Models for Malicious PowerShell Detection2022
- MPSAutodetect: A Malicious Powershell Script Detection Model Based on Stacked Denoising Auto-EncoderComputers & Security, 2022
- On the Possibility of Evasion Attacks with Macro Malware2021
- Static detection of malicious PowerShell based on word embeddingsInternet of Things, 2021
- Effective method for detecting malicious PowerShell scripts based on hybrid features☆Neurocomputing, 2021
- Evaluations of AI‐based malicious PowerShell detection with feature optimizationsETRI Journal, 2021
- Watchguard: Internet Security Report Q4 2019Network Security, 2020
- A Survey on malware analysis and mitigation techniquesComputer Science Review, 2019
- AST-Based Deep Learning for Detecting Malicious PowerShell2018
- Detecting Malicious PowerShell Commands using Deep Neural Networks2018