Emotet — Office (OLE) / .DOC malware analysis

Static analysis result for SHA-256 522f0758b2eac46d…

MALICIOUS

Office (OLE) / .DOC

538.5 KB Created: 2021-12-03 17:38:00 Authoring application: Microsoft Office Word
MD5: 1b4787fe6982c2147f03b03a48a8da72 SHA-1: 51f8337cf0f4352d3b78bbfbd262ddf5107afc4a SHA-256: 522f0758b2eac46d2282fbd3ce0befb1041e6cff81a43f07e343166db4ab0934
300 Risk Score

Malware Insights

Emotet · confidence 90%

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1083 File and Directory Discovery

The sample is a malicious Microsoft Word document containing VBA macros. The Auto_Close macro is triggered upon document closure, which attempts to write obfuscated data to 'C:\Users\Public\Documents\1.xml' using a custom hex2ascii function. This file is then likely executed, indicating a downloader pattern. The ClamAV detection name 'Doc.Downloader.EmotetRed022210-9938643-0' strongly suggests the Emotet family.

Heuristics 8

  • ClamAV: Doc.Downloader.EmotetRed022210-9938643-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed022210-9938643-0
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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
  • Suspicious extracted artifact medium 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
6ea3b521d999e3a19fabd0436929675e3a529b37d0652ddadee1598115f00a24
vba-macro oletools.olevba.extract_macros (decoded VBA source) 37248 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s).