Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 789b6f508e5376df…

MALICIOUS

Office (OOXML)

41.8 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 4315ef9dce0e59f49484523c79e58ba2 SHA-1: bdc0e4881b863ea9bcb68817114c256041de7dfe SHA-256: 789b6f508e5376df00c633616dc267984c3cf8d098a7180607314c24e71967a2
160 Risk Score

Malware Insights

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

The critical heuristic 'OLE_VBA_PS' indicates that PowerShell commands are being referenced within the VBA macros. Additionally, 'OLE_VBA_GETOBJ' and 'OLE_VBA_CMD' suggest the use of GetObject and cmd.exe, further supporting the execution of external commands. The VBA code itself contains Base64 decoding logic, which is commonly used to obfuscate malicious payloads. This points towards a macro-based downloader attempting to 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
33f1f879e35b58c42a4f94d3a22e972168e296a8717489fb1f8926283a493060
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
9b2564ad130744c9ea71b32a4e49e08f4a00c9f2a9d70bc5e915a5c2e76c0d05
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes