Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 e2649f02e47af100…

MALICIOUS

Office (OLE) / .XLSX

129.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 278c5c580c8788864bb8a426ae5c9c8e SHA-1: 7e3a45e807f509c3df50698f2ad2cda1eca6d29c SHA-256: e2649f02e47af1009e2a381ac1b2166e42f081b3107485c7fe05b182f3a38de8
280 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample contains VBA macros that are automatically executed upon opening the workbook, indicated by the Workbook_Open macro firing. The script utilizes Wscript.Shell to create objects and execute commands. Specifically, it constructs and runs a command to execute a VBScript file located at 'c:\programdata\yhjlswle.vbs' and a batch file at 'c:\programdata\ughldskbhn.bat'. The script also attempts to download additional payloads from a list of URLs, including 'http://fullness-safety.com/-/P6x/'. This behavior is characteristic of a downloader malware, with Emotet being a strong possibility given the ClamAV detection name.

Heuristics 7

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