Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0d8b7e2b14533e01…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 242b40e79eb3fd9732a7de5c158d09cb SHA-1: 5b5f44f468d301cc42051fe10d53f25d10556a20 SHA-256: 0d8b7e2b14533e011a3cd8e230a73e12bb3d96b2966bf50e2db34b64c47b08d6
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1059.003 Windows Command Shell

This Excel document contains VBA macros that reference PowerShell and cmd.exe. The GetObject call and the presence of a base64 decoding function suggest that the VBA code is designed to deobfuscate and execute a malicious payload. The primary function 'Decode64' is likely used to decode a Base64 encoded string, which is then executed via PowerShell or cmd.exe.

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