Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 3a8949c7e483aeac…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: b419a1c04d4826875948d29ede32cdc9 SHA-1: 398288a1947d2a13470c71e95c9fc330bd281af3 SHA-256: 3a8949c7e483aeac566011f704b15531a031352c9b979f1f5296f58f692a59a4
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File

The file is an Office document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject, suggesting it's designed to execute arbitrary commands. The presence of a Base64 decoding function within the VBA further supports the hypothesis that it's intended to download and execute a second-stage payload.

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
ffce79ac8219e71245929ec55198e852c4009aa5118828143fd16cf1ee4e1964
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
b79200917f5b9cc3084b442bce9cfa7fca6aac4b59d34fb5ca1aee0bed52516d
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes