Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 90e4a3b72bef01db…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 8670463023e8f9f702da197a7b7402da SHA-1: 65a5c3a5b15922ea3be79f3f4635e4d9d9326319 SHA-256: 90e4a3b72bef01dbbbf2bf62539ef2b2a90c114034f2d5444a3a7945885d5876
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The file is an Office document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject, suggesting it attempts to execute arbitrary commands. The presence of a Base64 decoding function within the VBA macro indicates obfuscation, likely to hide a payload download or execution routine. The primary goal appears to be the execution of 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
5268a7ed439aad8453d4853f4cb27c15a65a5190fd24d5ff0de9b00775e1be6b
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
4805d2d752e62a3e78b1d665878d60b1539d7e738750d1dedf6830ad96023bbe
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes