Emotet — Office (OLE) / .DOCX malware analysis

Static analysis result for SHA-256 11d79289a55c8061…

MALICIOUS

Office (OLE) / .DOCX

156.2 KB Created: 2020-12-30 07:47:00 Authoring application: Microsoft Office Word
MD5: 83b4e3cb0a3d0e2754a537783fccb5ca SHA-1: 5cfd4069e3ebc0f2c68c015eb1209b37121f198d SHA-256: 11d79289a55c8061aaf33a1b6647874b33553a63c7e8333db7735d1c2812e870
202 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample contains a VBA macro that executes upon opening the document, as indicated by the Document_Open heuristic. This macro utilizes CreateObject to interact with the file system, attempting to create and write to several files with suspicious paths and names. The ClamAV detection and the presence of a Document_Open macro strongly suggest Emotet, a known downloader family. The script's primary function appears to be downloading and executing a second-stage payload from the embedded file paths.

Heuristics 6

  • ClamAV: Doc.Downloader.EmotetRed02224-9938637-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02224-9938637-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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 http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
9bf607663b8a2bf6d5409ee86f6e92f88c816fbcbd12854fba6197389a76ce81
vba-macro oletools.olevba.extract_macros (decoded VBA source) 6567 bytes