Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 6096bf9598a90614…

MALICIOUS

Office (OLE) / .XLSX

88.5 KB Created: 2022-02-14 05:58:53 Authoring application: Microsoft Excel First seen: 2022-02-22
MD5: 569fd218752c5d8536b6ea0efef94b38 SHA-1: 970dc5c54af629b1dfff28d2f9603547f00ed463 SHA-256: 6096bf9598a9061420f38345366eab0a2f958b964a0ebd21b362d9df8f4b0191
240 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The critical ClamAV detection and high-severity heuristics for VBA macros, Workbook_Open, CreateObject, and p-code auto-execution strongly indicate a malicious document. The embedded VBA macro contains obfuscated PowerShell commands that attempt to download and execute a second-stage payload from a hardcoded URL, specifically reconstructing the command to save a file to 'c:\programdata\bbiwjdf.vbs'. This behavior is characteristic of Emotet downloaders.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet02220-9940037-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet02220-9940037-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
98ce64e756a4ee3d4f776c1541f7f3ad0f966d786db88eda74f9a833f3a74b83
vba-macro oletools.olevba.extract_macros (decoded VBA source) 11705 bytes