Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 b5bf71a830dde94a…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 2fec4acf02c2a29bc6bcfce0cec8c9dd SHA-1: 38f8dc4bfdd6fa2ea914221ca1e9872454b9f980 SHA-256: b5bf71a830dde94aecec6eecb0b8389f47d7f6138bac9fbc6764a105d0b4780f
240 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample is a macro-enabled Excel file detected as Emotet by ClamAV. The Workbook_Open macro is configured to execute a series of commands. It reconstructs a PowerShell command to download a payload from multiple URLs, including 'http://midnighsilverbircrafter.com/store/wBjNOUw/B710N4cA6R3/' and 'http://tempra.com/NAT_05_22_2009/BI710N4cA6R3/', and saves it as 'c:\programdata\oue4hjld.vbs'. It also reconstructs a batch command to execute 'c:\programdata\bhnasleil.bat'. The script also attempts to create and execute a file named 'oue4hjld.vbs' from a reconstructed URL 'http://tempra.com/programdata\bhnasleil.bat'.

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
e863c586bdb51a826439bbfa329d3828130b3520e08bdc7792e6a23530dcc68b
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.