Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 311c1e4cd229416a…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 7c1e2932128cb523cb164bf8ef9b2b18 SHA-1: 1f4be8e04a53d8895bb2286df5c01d5f8f5a2191 SHA-256: 311c1e4cd229416a6ea55b30cdeca4a2817e1cebf520225d7c70121465b7a029
160 Risk Score

Malware Insights

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

The OOXML document contains VBA macros that reference PowerShell and cmd.exe. The GetObject call and the presence of a Base64 decoding function suggest that the VBA code is designed to decode and execute a malicious payload. The primary function of this macro appears to be downloading and executing a second-stage payload, likely via PowerShell.

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