Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 e7bacbacfa7ccb36…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 0402ffc4b6cc026113f715ba999f2342 SHA-1: d0acac39718d6d6fc8af23bc30cf5f9459ddfd91 SHA-256: e7bacbacfa7ccb362e16ea7fe7560d1576a91b089d4dfc719de08405cd526ad0
240 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The critical ClamAV detection and high-severity heuristics for VBA macros, specifically Workbook_Open auto-execution and CreateObject calls, strongly indicate malicious intent. The embedded VBA script, while partially obfuscated, contains strings that reconstruct to suspicious file paths like 'c:\programdata\oue4hjld.vbs' and 'c:\programdata\bhnasleil.bat', and attempts to download content from multiple URLs. The script's logic suggests it downloads and executes a second-stage payload, consistent with Emotet's typical behavior.

Heuristics 6

  • ClamAV: Doc.Downloader.EmotetRed02220-9938909-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02220-9938909-0
  • 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
7359f6e4183bd1007c4bb08be9fa51d3797fe7be1f301fb92dcbe64048ceb1f5
vba-macro oletools.olevba.extract_macros (decoded VBA source) 52433 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.