Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d1391daa4850a090…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 5876f9edeb1c3479eb808e1eb684a73d SHA-1: ce5a6bb0e5396ed31cf9c87e3a4ebcc48040b877 SHA-256: d1391daa4850a090d18fe439508e56161e0c5e7d571a313b79863012dec4d066
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 OOXML document contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of VBA macros suggest an attempt to execute arbitrary code. The script's functionality appears to involve decoding and executing further commands, likely to download and run a secondary payload, which is a common technique for initial access via spearphishing attachments.

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