Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 5cdaa4e5e6a5ace5…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 3ee44dd3c753c45ba8ea6cf730e75d77 SHA-1: ce3fbd7fedd9e15c40cda42625c71e91526eff4e SHA-256: 5cdaa4e5e6a5ace5c8e47841f65f3b0907bdd44245022cc203b869c613cd273f
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The OOXML document contains VBA macros that reference PowerShell and cmd.exe, indicating an attempt to execute commands. The presence of a GetObject call further suggests potential for object manipulation or execution. The VBA code includes a Base64 decoding function, likely used to obfuscate the actual PowerShell commands it intends to run, which are probably for downloading and executing 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
6f35be004cdf2869f2962a92412d986d71c5007ff853578e6c0372945b4c5037
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
6205f3ed1b0f5b69de51e00c58b15fb2cc60468624ed9b3383d694310b659f90
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes