Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 874612983ae79d48…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 9efa99f82edee53ba80ba7b98a67d048 SHA-1: 9bf940580131301fa673dd6a5ef93535fea4ac20 SHA-256: 874612983ae79d4824e5845185e5133ac39cbbe57599e79cd77dcb10a3018570
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's 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 payload, which is a common technique for downloading and running second-stage malware.

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