Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 3d9c06f9c5edefcf…

MALICIOUS

Office (OLE) / .XLSX

133.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 158cd213472c29b4e1102a10af0631d8 SHA-1: 9278d986ca7ef7522b0497cccec4abd819d0b132 SHA-256: 3d9c06f9c5edefcfdf7ec17e8ef42e4d33eef0dd0191c4d528dab109dca935fb
320 Risk Score

Malware Insights

Emotet · confidence 95%

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

The critical ClamAV detection and high-severity heuristics for PowerShell, WScript, and VBA auto-execution indicate a malicious downloader. The Workbook_Open macro is designed to execute obfuscated PowerShell commands, reconstructing the URL list from concatenated strings. The script's intent is to download and execute a second-stage payload from one of the provided URLs, likely establishing persistence via a Run key. The reconstructed URL list includes multiple potential download locations, such as 'http://afieeti.com/b/MzAJFBqWWhV/'.

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.