Oblivion: an open-source system for large-scale analysis of macro-based office malware


연구 분야: Safety



학회: Journal of Computer Virology and Hacking Techniques


초록

Macro-based Office files have been extensively used as infection vectors to embed malware. In particular, VBA macros allow leveraging kernel functions and system routines to execute or remotely drop malicious payloads, and they are typically heavily obfuscated to make static analysis unfeasible. Current state-of-the-art approaches focus on discriminating between malicious and benign Office files by performing static and dynamic analysis directly on obfuscated macros, focusing mainly on detection rather than reversing. Namely, the proposed methods lack an in-depth analysis of the embedded macros, thus losing valuable information about the attack families, the embedded scripts, and the contacted external resources. In this paper, we propose Oblivion, an open-source framework for large-scale analysis of Office macros, to fill in this gap. Oblivion performs instrumentation of macros and executes them in a virtualized environment to de-obfuscate and reconstruct their behavior. Moreover, it can automatically and quickly interact with macros by extracting the embedded PowerShell and non-PowerShell attacks and reconstructing the whole macro behavior. This is the main scope of our analysis: we are more interested in retrieving specific behavioural patterns than detecting maliciousness per se. We performed a large-scale analysis of more than 30,000 files that constitute a representative corpus of attacks. Results show that Oblivion could efficiently de-obfuscate malicious macros by revealing a large corpus of PowerShell and non-PowerShell attacks. We measured that this efficiency can be quantified in an analysis time of less than 1 min per sample, on average. Moreover, we characterize such attacks by pointing out frequent attack patterns and employed obfuscation strategies. We finally release the information obtained from our dataset with our tool.


Author Profile
Alessandro Sanna

Department of Electric and Electronic Engineering Cagliari State University Via Marengo 2 09045 Cagliari Italy

Andorra
Author Profile
Fabrizio Cara

Abissi S.r.l. Ex SS 131 KM 10.500 09028 Sestu Italy

Comoros
Author Profile
Davide Maiorca

Avanade Italy S.r.l. Via del Mulino 11A 20057 Assago Italy

Italy

📄 논문 정보

발행 연도 2024년
인용수 0
출판 국가 Italy, Andorra, Comoros
사이트 Springer
좋아요 수 0

연관 논문 목록 (266건)