Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b31976657f2f22a4…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: e51b11172e0c60c479bab8bdc488ec10 SHA-1: ccf0730120289727a4c16714983f44ac99f9034a SHA-256: b31976657f2f22a4b5791764f7437dcc2a9f57dc04fb83316ddc15a7f89ff522
160 Risk Score

Malware Insights

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

The file is an OOXML document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject. The VBA macro itself appears to be a Base64 decoder, suggesting it's used to obfuscate a payload that is likely executed via PowerShell or cmd.exe. The primary purpose is to download and execute 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
f98558774f0495b731d4aead0f4fdf0f96232695c4da4a8a2760a74c5c9018b9
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
192edaf25019cca13a6cfd6ccbb03a7ca0939fa8c11d92f2b68e3e08a0dda11e
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes