Emotet — Office (OLE) / .DOCX malware analysis

Static analysis result for SHA-256 6a61b4d6424c4562…

MALICIOUS

Office (OLE) / .DOCX

155.4 KB Created: 2021-01-04 18:59:00 Authoring application: Microsoft Office Word
MD5: 3b8147860bdcb12612f98e3f3728a355 SHA-1: 2c0ccd636dd8805f35519e3b21643328ed10cfa8 SHA-256: 6a61b4d6424c45621d9da70561c8bb5c1a28772e43241374ea706bb04cbfc058
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1047 WMI

The sample contains a VBA macro that executes upon opening the document, as indicated by the Document_Open heuristic. This macro uses CreateObject to instantiate a Scripting.FileSystemObject, which is then used to create and write to files on the local system. The reassembled string 'Scripting.FileSystemObject' and the creation of files like 'X:\ZfjaGxEE\FKCRoAp.GoRlEtL' strongly suggest the macro's purpose is to download and execute a second-stage payload. The ClamAV detection of 'Doc.Downloader.EmotetRed02224-9938637-0' further supports this, pointing towards the Emotet family.

Heuristics 7

  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • 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
28e0aab9def1820176582f12126397a14f2c858209766b704c735ce1d1db4cc2
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7154 bytes