PowerDrive: Accurate De-Obfuscation and Analysis of PowerShell Malware

Denis Ugarte, Davide Maiorca, Fabrizio Cara, Giorgio Giacinto
4/23/2019
cs.CR

Official code: denisugarte/PowerDrive (71 stars, PowerShell, GPL-3.0, last commit 2019-04-24).

Abstract

PowerShell is nowadays a widely-used technology to administrate and manage Windows-based operating systems. However, it is also extensively used by malware vectors to execute payloads or drop additional malicious contents.

Show full abstract

Similarly to other scripting languages used by malware, PowerShell attacks are challenging to analyze due to the extensive use of multiple obfuscation layers, which make the real malicious code hard to be unveiled. To the best of our knowledge, a comprehensive solution for properly de-obfuscating such attacks is currently missing. In this paper, we present PowerDrive, an open-source, static and dynamic multi-stage de-obfuscator for PowerShell attacks. PowerDrive instruments the PowerShell code to progressively de-obfuscate it by showing the analyst the employed obfuscation steps. We used PowerDrive to successfully analyze thousands of PowerShell attacks extracted from various malware vectors and executables. The attained results show interesting patterns used by attackers to devise their malicious scripts. Moreover, we provide a taxonomy of behavioral models adopted by the analyzed codes and a comprehensive list of the malicious domains contacted during the analysis.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A tool for de-obfuscating PowerShell scripts

7113PowerShellFeb 21, 20197 years agoGPL-3.0

Similar Papers

Cite this paper

@article{ugarte2019powerdrive,
  title  = {PowerDrive: Accurate De-Obfuscation and Analysis of PowerShell Malware},
  author = {Denis Ugarte and Davide Maiorca and Fabrizio Cara and Giorgio Giacinto},
  year   = {2019},
  eprint = {1904.10270},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.10270}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1904.10270.svg)](https://codeofpaper.com/paper/1904.10270)

Discussion