Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 fae9c6a0d1be59ae…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 806037d4fa3ef1a19587613b94f2110d SHA-1: 5332e88d05bb99df12c576ab9c8a1af687bbac42 SHA-256: fae9c6a0d1be59aefb392f4fda08287bb88bcbb846739f55767cbefa5cac4377
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 VBA macros suggest an attempt to execute arbitrary code. The Decode64 function is likely used to obfuscate a payload or URL. The primary function of the script appears to be downloading and executing a second-stage payload, which is a common technique for malware delivery.

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