Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b7840d4cefedb716…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 1f3ec004efa74d2a58a45ee4dbad04b0 SHA-1: 952eab3b5b2d6bee532125113be2f630304c0e9f SHA-256: b7840d4cefedb7167f0ba18eeff487fcd224dff6a93240d4d7de022f9c64cde7
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 VBA macros suggest an attempt to execute arbitrary code. The VBA code includes a Base64 decoding function, indicating that it likely decodes and executes a payload from obfuscated data.

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