Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9ef458e8f010e3d2…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 35318e183b6bc07ce34d851b19ead310 SHA-1: be8d5fa3fca3499e4075600d56dd369564f9430b SHA-256: 9ef458e8f010e3d28cd0b5879bae2e5d01ba976c8369b535e8e774baa1598fdb
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File

The OOXML document contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of a Base64 decoding function suggest that the macro is designed to download and execute a second-stage payload. The specific obfuscation and decoding routine within the VBA script indicate a downloader or droppper functionality.

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