Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 2baf5c03229c7dcd…

MALICIOUS

Office (OLE) / .XLSX

88.5 KB Created: 2022-02-14 05:58:53 Authoring application: Microsoft Excel First seen: 2022-02-22
MD5: 68f843e45647eff83b6d0a75c2550585 SHA-1: 4017622ba4a66e4d3e34a3be4088cee8d7762c3b SHA-256: 2baf5c03229c7dcdd5204b814fe14c3ba975feeb5d5bec6a96806cbd5b8c8276
280 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as malicious by ClamAV with a signature indicating it's a downloader, likely Emotet. The presence of a Workbook_Open macro and a CreateObject call strongly suggests the execution of embedded VBA code. The extracted script content reveals obfuscated PowerShell commands that attempt to download and execute a DLL from a reconstructed URL: 'http:http://bomb.comdhjw-content15zZybP1EXttxDK4JHdhjbouhtuiwtp:dhjdhj1566xuesuiwhe.comdhjw-contentdhjz92ZVqHH8dhjbouhtuiwtp:dhjdhjmyuiwmicrog'. The script also references saving this payload to 'c:\programdata\oiphilfj.dll' and executing it via 'wscript c:\programdata\oiphilfj.dll'.

Heuristics 7

  • 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.
  • Suspicious extracted artifact high 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.
  • 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
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.