Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 def9b78b204110d0…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 7279e1a4c04f824a61fba1d82620ac6f SHA-1: c9aa3ab762dc780e0a731c955ba17b79d2543a1b SHA-256: def9b78b204110d03a6c0f4cff5073b463b4c48f88878ab20db81226a97a6ee0
160 Risk Score

Malware Insights

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

The sample is an Office document containing VBA macros. Heuristics indicate the macros reference cmd.exe and PowerShell, suggesting an attempt to execute arbitrary commands. The presence of a Base64 decoding function within the VBA code implies that malicious code is likely obfuscated and then executed. This pattern is commonly used to download and run additional malicious payloads.

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