Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 b34e5d87d54dc0cb…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 2c2533d1ebdf634b8e6548b7ee89384d SHA-1: 554e84c8f405514cf47eef017b0c6d223c79c549 SHA-256: b34e5d87d54dc0cbd7f0ddfedb84d7640d5919f9e2b926e1bcd82162b07f7bcc
240 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file contains a Workbook_Open VBA macro, identified by critical ClamAV detection as 'Doc.Downloader.EmotetRed02220-9938909-0'. The macro executes a series of commands, including the creation of '.vbs' and '.bat' files in 'c:\programdata\', and attempts to download a payload from multiple URLs. The script also attempts to execute the downloaded payload using 'start /B /WAIT'. This behavior is consistent with Emotet's typical download and execution chain.

Heuristics 6

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