Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 90482d502c1b2b3d…

MALICIOUS

Office (OLE) / .XLSX

133.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 1f6da42deced2e0c7e3670f88c9ad2bd SHA-1: f044955d293bf5108e168c0761983338e47c8f2d SHA-256: 90482d502c1b2b3de7302f34b3388c5ca4671fc9a696b6b5c2eafd287abe4510
320 Risk Score

Malware Insights

Emotet · confidence 90%

MITRE ATT&CK
T1059.005 Visual Basic for Applications T1059.001 PowerShell

The sample is a malicious Excel file containing a VBA macro that executes a PowerShell command. The document body contains a base64-encoded PowerShell script that executes a PowerShell command to download and execute a second-stage payload from one of several hardcoded URLs. The ClamAV detection specifically identifies this as Emotet. The script uses a random selection of URLs to actually perform the download via Invoke-WebRequest -Uri $st -OutFile $GsrFJYjd546ds, where the OutFile path is reconstructed as C:\programdata\<random>.dll.

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.