Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 919ea2d2768671bb…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: c6f4d492ff14995f30142daefca6ba05 SHA-1: f469e6bcebbf9041c299f61b10855cd6c057c1a9 SHA-256: 919ea2d2768671bb0dbf0fc6a016087e483ead24b8d0b488839e2cb4977188d4
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 file contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of VBA macros suggest an attempt to execute arbitrary code. The VBA code includes a Base64 decoding function, which is commonly used to obfuscate malicious payloads. The primary function of the script appears to be downloading and executing 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
a810c33686270e7cafcc0c1c5792347bd9d1c8a8f1cbaeb578254827bd195387
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
f80109761ea523324b5f56facf6e8b58d902527ff523379b01dbd1aee895e114
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes