Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 664d7eb36aa8eba9…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 9d1f7a35e4dd27a7b2cee9554a446862 SHA-1: 1145f25f886db8d5fc77eb35735032406b93ae38 SHA-256: 664d7eb36aa8eba9bb12907d953856885c6cc1c3ea406f9f7398b7d28472367c
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The Excel document 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 malicious code is likely obfuscated within the macro itself or downloaded by it. The primary function of the macro appears to be to facilitate the execution of further malicious code.

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