Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 059b741d9b6e22c7…

MALICIOUS

Office (OLE) / .XLSX

151.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: b7c30632c351d38739ad4ee5e4a2f5ae SHA-1: 204f49c9b8631edd43fe18083cda28f764b83902 SHA-256: 059b741d9b6e22c7f2ae6dcb9955459c6f0e8736a4e8acc32ff349a0076afde6
240 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file contains VBA macros, specifically a Workbook_Open macro, which is a common technique for Emotet. The macro uses CreateObject to instantiate Wscript.Shell and execute a batch file located at 'c:\programdata\jledshf.bat'. The script also attempts to download a second-stage payload from multiple URLs, including 'http://aiqyana.com/wp-admin/6pY001tdOxYBi10/t'. This indicates a downloader functionality, typical of Emotet.

Heuristics 6

  • 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

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