Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 756234043b3d1174…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 1e4ac221b37823b9d6ab6ae0276d4fee SHA-1: b7525c366c04ced3fb3141be49e9e72ba2044b0d SHA-256: 756234043b3d11747878781e84bd7aa926e0d4845907751cb43ef681043ab020
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 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 a payload is likely being obfuscated and then executed. The primary function of the script appears to be downloading and executing a second-stage 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
7dd5f89a1f1053ba6b7fcfff012afaba15c093346bd5eec0720261a3e33a0b43
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
c9919e817b8f59a920a3242ec8f6983c02dbdc30af6252a92dbd879f0b1599f7
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes