Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 7b1d0fc922272837…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: b1f0cee994a6d783689b5a50126d4251 SHA-1: 883e99e3e05bbe163b8942393cdd501512ccf306 SHA-256: 7b1d0fc9222728370bd912594ccabee8bae60fc3a6383cd7a8acbf47d594f76d
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The OOXML file contains VBA macros that reference PowerShell and cmd.exe. The GetObject call and the presence of VBA macros suggest an attempt to execute malicious code. The VBA code includes a Base64 decoding function, indicating obfuscation of a payload. The primary function of the script appears to be downloading and executing a second-stage payload 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
d3564094b26fa86fc4fce3a1ea261416940ef532a0b858c3d16d4770fcdd92d1
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
63dec6b1141d6d627f96eac65d3a4e623427ce87c3bbb8ccc3ee7a4cb30d1bb0
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes