Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 39bdb9d39afc92f3…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 810d9559c26d6c651c5726205c08f66e SHA-1: 2688149734bc75fd94e704dc12da134f19cbc01e SHA-256: 39bdb9d39afc92f3d829d3d787fa4f19f911d6ad133f9a1d73451d561832dd3f
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 Excel document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject. The VBA code itself appears to be obfuscated, but the presence of these references strongly suggests it's designed to download and execute a secondary payload. The Decode64 function is likely used to deobfuscate the malicious commands.

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