Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 0fe681e1859d857d…

MALICIOUS

Office (OLE) / .XLSX

151.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: b41d0d7274706b73f73fdc33a3e5f2e8 SHA-1: 562591fd4ee9ce0eeb72deca0f8b561b76bbba2d SHA-256: 0fe681e1859d857d55798572bb4ef66af0a4ed369ff0c348ca071b8fcb2d9da4
302 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

The file contains VBA macros that are triggered by the Workbook_Open event. These macros reconstruct and execute a batch file from ProgramData, and also attempt to download payloads from multiple URLs. The presence of Emotet-related heuristics and the download functionality strongly indicate this is a downloader for the Emotet banking trojan.

Heuristics 8

  • URL reconstructed from VBA cell-staged base64 dropper (10 URLs) critical OLE_VBA_CELL_DROPPER_URL
    VBA reads worksheet cells, strips junk substrings via Replace(), and base64/UTF-16 decodes the result into a PowerShell EncodedCommand payload. The download URL is never contiguous in the file bytes; it was recovered by removing the macro's Replace() junk tokens from the cell strings and decoding the staged base64.
  • ClamAV: Doc.Downloader.EmotetExcel02226-9938630-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel02226-9938630-0
  • 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://moneyquote.ja.deals/assets/jcCwxvuSRpES7VhWxj/
    • https://vestaseguridad.com.ar/wp-content/7JD9gufnwG/
    • https://mail.reddeeducacionvirtual.com/wp-includes/BqJi1K/
    • http://veluxcounterapi.orbitalwaves.it/assets/WW9KfK84
    • http://mylibass.in/wp-content/SYERoa6um9/
    • https://www.edhacare.com/Fox-C404/XDEQNngeH6Dg/
    • http://openhouse.co.zw/admin/l0nzhQ/
    • http://ilifetrend.com/wp-admin/qC/
    • http://sedes.si/wordpress/UVpGY5pQBX5X7pMxHs/
    • https://farmand

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
c49f2df77c50e10269216d97c3efdf7c32f9f18ba5d8fd42a9b144f48e100040
vba-macro oletools.olevba.extract_macros (decoded VBA source) 5709 bytes