Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 fc487122334d7978…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 85d24a5a2c5b4e2c8e90404ad22bf8e2 SHA-1: 8f2afe2fccd146328e741d23a1167328a4b03309 SHA-256: fc487122334d79787ce92219681e693f240502a49391ca371b8a5f27e7d59124
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell

The file is an OOXML document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject. The VBA macro itself appears to be a Base64 decoder, suggesting it is used to obfuscate a payload that is likely executed via PowerShell or cmd.exe. The primary function of the script is to decode and execute a secondary 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
847be6217ee7ec5a9b4b44d8e70c4485d2a4efc4f17fe27c13d33760c6e42a9a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
931446ae3540afac7b466527ee9e6c60003ddc335c4009aa33e95ed4a4a3832c
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes