Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0ec22f6961db63d4…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 5ef4e66e2cb90c278dd789f8acf92422 SHA-1: f664726683fc818192ed2065329514a1e026998b SHA-256: 0ec22f6961db63d43de8b32b85e9c3046c0e4d441fd1a5c2869f83643c712da7
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 Office document containing VBA macros. Heuristics indicate the VBA code references cmd.exe and PowerShell, suggesting it's designed to execute commands on the host system. The presence of a Base64 decoding function within the macro further supports the idea that it is attempting to obfuscate and download a secondary payload. The specific IOCs are the macro file itself and the VBA project file.

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