Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 4f204088681f64dc…

MALICIOUS

Office (OOXML)

11.8 KB Created: 2021-07-21 11:06:57 UTC Authoring application: Microsoft Excel 16.0300
MD5: d02b5d275f302ae2aeeaea4ec729690e SHA-1: 9ac3cb2951dcdae23e028e121f189620dde3eace SHA-256: 4f204088681f64dcb1690e1fd0db3dcdab1e4f181eab65b91547ea7898269052
300 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1070.004 File Deletion T1082 System Information Discovery

The VBA macro contains a Workbook_Open subroutine that executes a command using cmd.exe via WScript.Shell. The command attempts to exfiltrate the SAM file contents to 'C:\Users\Public\landmvrks.txt' and redirect errors to 'C:\Users\Public\firefromthegods.txt'. This indicates an attempt to gather system information for potential credential harvesting.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • 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
13c6b494252c0e169a27130cfbe49bcd95cc2f642e6e45589a5718210a59e166
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1280 bytes
vbaProject_00.bin
e5412dc501a62dba126060625133c53632e66e1a38c284b6b766a48691a0c17e
vba-project OOXML VBA project: xl/vbaProject.bin 9728 bytes