Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 56191fc048d2a7c2…

MALICIOUS

Office (OLE) / .XLSX

133.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 7ad16ba23ce1ea6dbb3cbf00d5d070fd SHA-1: 28871ac9d04ffeb5c48b85125d10f5143b6c1671 SHA-256: 56191fc048d2a7c2c58ce8ae081dc523252bebaf385d193ee82ccc997c5d9ecb
320 Risk Score

Malware Insights

Emotet · confidence 90%

MITRE ATT&CK
T1059.005 Visual Basic for Applications T1059.001 PowerShell T1059.003 WScript T1059.001 name: PowerShell T1105 Ingress Tool Transfer

The sample is a malicious Excel file containing a Workbook_Open macro that executes a PowerShell loader. The PowerShell script, found in the document body, is Base64 encoded and once decoded, reveals a sequence of multiple C2 URLs. The script uses Get-Random to Get-Random to generate a random filename in C:\programdata\ with a .dll extension, and attempts to download the same from one of the listed URLs. The ClamAV detection specifically attributes this to Emotet.

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.