Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 ba8aed5dfbb22f1b…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 382dbc9fc3d60b162d76cae2f0c973df SHA-1: 441bfc656b7530e07d7eccc1e1d07ccb44d8c4e5 SHA-256: ba8aed5dfbb22f1bd43f6b4efa2701bc17fc713500d9c79e6b616e96ed114ebe
240 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The sample is an Excel document containing VBA macros, specifically a Workbook_Open macro that executes code. The script attempts to download and execute a second-stage payload from multiple URLs, including 'http://midnighsilverbricrafters.com/store/wBjNOUwc/BI710N4cQA6R3/'. It also creates batch and VBScript files in 'c:\programdata\' and attempts to execute them. The ClamAV detection name 'Doc.Downloader.EmotetRed02220-9938909-0' strongly suggests the Emotet family.

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
4c2be51f6fb11d96c23f7970d95ab6bb26f64c05bda4010665d5a81e4382b86b
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.