Emotet — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 465edc301b615d56…

MALICIOUS

Office (OLE) / .XLS

133.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 80b7ec29fce6c6fb88dab4c159e6c5de SHA-1: a39ec7291462ff164756421a720198f91b02412c SHA-256: 465edc301b615d56b9f279fef094ef4cc073a19103ee8bd7cacd2b8a904074e0
320 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file contains a Workbook_Open macro that executes obfuscated PowerShell commands. The macro uses CreateObject to interact with Wscript.Shell and references PowerShell, indicating a downloader or initial execution stage. The ClamAV signature 'Doc.Downloader.EmotetExcel02226-9938630-0' strongly suggests the Emotet family. The macro attempts to download a payload from multiple URLs, including reconstructed URLs like 'http://afieeti.com/b/MzAJFBqjWw/', and writes it to 'c:\programadata\<random_name>.dll' before attempting to execute it via rundll32.exe.

Heuristics 8

  • ClamAV: Doc.Downloader.EmotetExcel02226-9938630-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel02226-9938630-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • 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
2371f091b169c7918c945b8974b3f60437212f84d1a9d429701826689481f8d8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 6376 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.