Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a2e6b0de55297cff…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 447695d3c42fefce278338e2b29c8ba6 SHA-1: 40f1ea5accbb0780f3038c5a3a3a4460b5dbdc4d SHA-256: a2e6b0de55297cff704242615b03c66846d406dc6e3ba284a5ab8f6433f9bab8
160 Risk Score

Malware Insights

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

This OOXML document contains VBA macros that reference PowerShell and cmd.exe. The GetObject call is also suspicious. The macros likely download and execute a second-stage payload, indicated by the critical heuristic firing for PowerShell reference in VBA. The Base64 decoding function suggests obfuscated code is being used to hide the malicious 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
4945dad932095eb321b2dea4a6c81c377dfcbf7cad28073c4bb240f82c81a671
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
46088ed448ee213deff1b1a2f277f787cb47c14068e0b07c8a9e11cd83e73901
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes