Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 03d6d307d3fc4a06…

MALICIOUS

Office (OLE) / .XLSX

129.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 2de1841414d62bce11e85daa0431f03e SHA-1: ffa1ebb4bef47253b9ff13f2c0d00f0903c6418e SHA-256: 03d6d307d3fc4a067193b1f3cfb96bd5ccf52faf6814a5e347432c9f40bb1417
300 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1204.002 Malicious File

The sample is a malicious Excel document containing an obfuscated VBA macro loader. The macro executes a command that attempts to download and save a VBScript and a BAT file to the \"C:\ProgramData\" directory. The VBA code also contains a long, obfuscated string that appears to be a list of URLs from which a payload could be downloaded, indicating an Ingress Tool Transfer (T1105) attack pattern. The ClamAV detection name 'Doc.Downloader.EmotetRed02220-9938909-0' strongly suggests the Emotet family.

Heuristics 7

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • 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.
  • 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