Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 d0c87e3ca7bc1c85…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 796c50a8d73b0628de07699d8d2d8953 SHA-1: 1e46b7f52b7e62fa35d8c90d0f954e283503ff8d SHA-256: d0c87e3ca7bc1c855d54af2d207a85f512b1187635a382d5c2cd7b4cb47feb4e
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, Workbook_Open execution, and CreateObject calls indicate a malicious macro-enabled document. The VBA script attempts to download and execute a VBScript payload from a hardcoded URL, specifically reconstructing the URL 'http://midnighsilverbcraft.com/store/wBjNOUwc/B110N4cQ6R3/' and saving it as 'c:\programdata\oue4hjld.vbs'. It also creates a batch file 'c:\programdata\bhnasleil.bat' which likely executes the VBScript. The script also contains obfuscated strings that reconstruct additional URLs and commands, suggesting a downloader functionality.

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
3fb62adaa33d10074fa2dfdcddc9fc7357c5224fca949b600f8d3318f3b9aa79
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.