Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 97d0afd86b3c8e3e…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 2c5ee9c9156ecd601cced418f3c094d5 SHA-1: aafdcfa8825d706929b54001665c28e00a0dd81c SHA-256: 97d0afd86b3c8e3e63ba0cd8cb082f41d163445136f3cf6c4ecbfa03476046ed
160 Risk Score

Malware Insights

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

The sample is an OOXML document containing VBA macros. Heuristics indicate references to cmd.exe and PowerShell within the VBA code, suggesting an attempt to execute arbitrary commands. The VBA code also includes a Base64 decoding function, which is commonly used to obfuscate malicious payloads. The likely intent is to download and execute a second-stage payload.

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