Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 905e2b388767361b…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 4d203e5120d31282aace157258d38f71 SHA-1: 44a0a8ec4e7815090dee576051700eb077e38b33 SHA-256: 905e2b388767361b93ec61b9f6fbc92739b43f6b56c144544bb3696ab6fc72d1
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 the GetObject function. The VBA macro itself appears to be a Base64 decoder, suggesting it decodes and executes a malicious payload. The primary function of this macro is to facilitate the execution of a second-stage payload, likely downloaded from a remote source.

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