PowerPeeler: A Precise and General Dynamic Deobfuscation Method for PowerShell Scripts
Ruijie Li, Chenyang Zhang, Huajun Chai, Lingyun Ying, Haixin Duan and, Jun Tao

TL;DR
PowerPeeler is a novel dynamic deobfuscation method for PowerShell scripts that accurately reconstructs obfuscated malicious scripts at the instruction level, outperforming existing static tools in correctness and data recovery.
Contribution
It introduces the first dynamic, instruction-level PowerShell deobfuscation approach utilizing AST and execution monitoring, significantly improving accuracy and effectiveness.
Findings
Achieves 95% deobfuscation correctness rate
Recovers over 97% of sensitive data with semantic consistency
Outperforms five state-of-the-art tools and GPT-4 in effectiveness
Abstract
PowerShell is a powerful and versatile task automation tool. Unfortunately, it is also widely abused by cyber attackers. To bypass malware detection and hinder threat analysis, attackers often employ diverse techniques to obfuscate malicious PowerShell scripts. Existing deobfuscation tools suffer from the limitation of static analysis, which fails to simulate the real deobfuscation process accurately. In this paper, we propose PowerPeeler. To the best of our knowledge, it is the first dynamic PowerShell script deobfuscation approach at the instruction level. It utilizes expression-related Abstract Syntax Tree (AST) nodes to identify potential obfuscated script pieces. Then, PowerPeeler correlates the AST nodes with their corresponding instructions and monitors the script's entire execution process. Subsequently, PowerPeeler dynamically tracks the execution of these instructions and…
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
TopicsImage Processing and 3D Reconstruction · Handwritten Text Recognition Techniques · Image and Object Detection Techniques
