Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 972b0ea56543e91a…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: f73e0836dde4caea714e717b2cd8e30e SHA-1: f10680e4053c2a7120d964e48039d8c74fbde9b6 SHA-256: 972b0ea56543e91a766c0f929ce8d8e83e74403f2ed23bc3490b7cd37fb9ca01
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The sample is an Office document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, suggesting it's designed to execute arbitrary commands. The presence of a Base64 decoding function within the VBA code further supports the hypothesis that it decodes and executes a malicious payload. The GetObject call is also a common technique for loading and executing code.

Heuristics 4

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
964463fadc9d091df146c5885e5ae7f69d4cdf136c5e2d7cef8a475bdfcbaad5
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
a15031496d519029d787c2bd9a9d62d75ddb5d2e899dffbe5f47893ec0b36ead
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes