Malicious Office (OOXML) / .XLSM — malware analysis report

Static analysis result for SHA-256 5dd04f7d76c96650…

MALICIOUS

Office (OOXML) / .XLSM

48.3 KB Created: 2021-08-05 12:45:19 UTC Authoring application: Microsoft Excel 16.0300
MD5: 1b12cf01794f62193b33251d05e1aa8f SHA-1: f0a5568dcbcfef47e2fc9250cf2a56e7044ddc34 SHA-256: 5dd04f7d76c96650db72af837890b87a7a139283624d1d26097c97c8ac04ab2c
422 Risk Score

Malware Insights

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

The sample contains VBA macros that execute upon opening, utilizing WScript.Shell and cmd.exe to create a directory and write a temporary file. The script then attempts to execute a PowerShell command with an encoded payload, which likely downloads and executes a second-stage payload. The document body content, which appears to be a form for COVID-19 unemployment support registration, suggests a phishing or identity theft motive.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_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
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
d34d5834142ffc87ef3764f5a9532db8106e503a5523703f4fde34770fa54626
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 15625 bytes
vbaProject_00.bin
8b04f317fee4fcaf7542b0ecb8df933fe3054d125b91536bdad84197d76b8a35
vba-project OOXML VBA project: xl/vbaProject.bin 241664 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 66 long base64-like blob(s).