Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0515bf865cb1763d…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: ca272d922112b5bb0acd1da81970c33f SHA-1: 01f098a9b2605fbc18ed61feb88c9ce05f12b095 SHA-256: 0515bf865cb1763d691d77e769f7558e11eadf95c9d3dab99e673811e98fe280
160 Risk Score

Malware Insights

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

The OOXML document contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of a VBA project strongly suggest that the macros are designed to execute arbitrary commands. The primary function of the VBA code appears to be decoding and executing a Base64 encoded string, which is likely a PowerShell command to download and run a secondary 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
96da6d68d15c01a5f0412d697aa181a50ab37b06eae5cae4a47c02101b81a302
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
8a0fef7b98ef1c603a3aa3d230a1cd5ddb60591cd9232bf10d95ee58aaaed89e
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes