Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 be2fb3d1cbf1663c…

MALICIOUS

Office (OLE) / .XLSX

121.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: e2c94d5c411fe47aff1e14ebb9bafa21 SHA-1: 6c557a7bb095dd08e6f83bd719420075c8c6fe03 SHA-256: be2fb3d1cbf1663cb0de5b45745df744650f5f73dd932ef8a6e003d0fd743d02
280 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as malicious by ClamAV and contains VBA macros, specifically a Workbook_Open auto-execution routine. This macro is designed to create and execute a VBScript payload located at 'c:\programdata\tjspowj.vbs' and a batch file at 'c:\programdata\uidpjewl.bat'. The batch file contains obfuscated commands that appear to download and execute further stages from multiple URLs. The presence of 'CreateObject' and references to 'wscript.shell' strongly indicate the execution of external scripts. The reconstructed URL string from the script is 'http://youlanda.org/eln-image/n8DPZISf/,http://rosevidebo.net/eln-images/EjdcCoMLY8Gy/,http://vbaint.com/eln-images/H2pPGte8XzENc/,http://fragemakers.us/eln-images/U5W2IGE9m8i9r/,http://niplaw.com/asons/JO5/,http://robertflolod.us/eln-images/DGI2YOkw9XPO/,http://mpmcomputing.com/fonts/JO5/'.

Heuristics 7

  • ClamAV: Xls.Downloader.Emotet-ab81c42b2bd4747e-9951196-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-ab81c42b2bd4747e-9951196-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.
  • 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
faf50200d5a9adeeda00cc1da1bbf8f6abf0317a1e97a58db8ae804ba12ba446
vba-macro oletools.olevba.extract_macros (decoded VBA source) 13985 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.