Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 1f97713aeec15447…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: f2332e780da23228810e1c3b49e64f8b SHA-1: 4fe3cd5ca8929f99c3957a02dd8d933a42e4cad7 SHA-256: 1f97713aeec15447900dc11afa75dc5de0f376daf5532efbe3003b50d2cad3c5
240 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is an Excel document containing VBA macros, specifically a Workbook_Open auto-execution macro. This macro is designed to create and execute a VBScript file named 'oue4hjld.vbs' from the 'c:\programdata\' directory, and a batch file named 'bhnasleil.bat'. The script content indicates it downloads a payload from multiple URLs, including 'http://midnighsilverbcraft.com/store/wBjNOUwc/BI710N4cQA6R3/' and 'http://temporal.com/NAT_E_05_22_2009/BI710N4cQA6R3/', and saves it as an executable. The ClamAV detection name 'Doc.Downloader.EmotetRed02220-9938909-0' strongly suggests an Emotet family attribution.

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
f1726f3734715121bc46f40712a1619aabecf60fd73d6a35db41e9b2892373a5
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.