Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 4e086e4f3e3620d4…

MALICIOUS

Office (OLE) / .XLSX

122.5 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: db4775b19650d0bcfe66d03572463374 SHA-1: 9739782cc85dbefb6832281d1a614947620d7984 SHA-256: 4e086e4f3e3620d4502ed3ce8963dddbe4f2c273b419efde8ce61d7ec4052428
240 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is a macro-enabled Excel file identified as Emotet by ClamAV. The Workbook_Open macro executes a VBA script that constructs and runs a batch file (bhnasleil.bat) and a VBScript (oue4hjld.vbs). The batch file appears to be responsible for downloading payloads from multiple URLs, including 'http://midnighitsilverbcrqfter.com/store/wBjNOUw/B710N4cA6R3/' and 'http://temp.com/NAT_E_05_22_2009/BI710N4cA6R3/', and potentially establishing persistence. The VBA script itself contains obfuscated code that manipulates sheet content and displays messages, likely as a distraction or to further obfuscate the malicious activity.

Heuristics 6

  • ClamAV: Xls.Downloader.Emotet-ab81c42b2bd4747e-9951196-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-ab81c42b2bd4747e-9951196-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
d1aedbfb391c86ca1cfb3e6d9340d7f7731252be8194a7cf667c9dfe58286d25
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.