Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 7ef767166799ecb8…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 1b94c292426d8861932abed9d0d7a569 SHA-1: 0e479186b4bece887bb62dcda58895e878d43935 SHA-256: 7ef767166799ecb8472919e566c48cc3569a9786753742ee32ee1c091243eac7
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

This Excel document contains VBA macros that reference cmd.exe and PowerShell. The presence of a GetObject call and the critical heuristic for PowerShell references suggest the macros are designed to execute external commands. The primary function, Decode64, appears to be a Base64 decoder, indicating that obfuscated code or URLs are likely embedded within the macro, intended to download and execute a secondary 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
4b8625c7067459da2ff75a8dc1ee131230ab84e2496a3bf01ca1e167a90ed302
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
100f9bd7eec462f59865b41ec0d88cfa73db01c2a56731a338418ceded6bbcf6
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes