Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 751f4bd5f5d97fff…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 356feeb6f1c4aba534655cf6d8cb27a2 SHA-1: c20f12bfef905c6235d6ff2e5bf1f5a2e20b7558 SHA-256: 751f4bd5f5d97fff8108488c621fd026fb00eed04d2ee7474a00511488b9fcf6
240 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is a macro-enabled Excel file detected as Emotet by ClamAV. The Workbook_Open macro executes a series of commands that appear to download and execute malicious VBS and BAT files from remote URLs. Specifically, it reconstructs the following URLs: 'http://midnighsilverbcafter.com/sto/wBjNOUwc/BI710N4cA6R3/', 'http://temp.com/NAT_05_22_2009/BI710N4cA6R3/', and 'https://redington.karmaat'. It also writes files to 'c:\programdata\oue4hjld.vbs' and 'c:\programdata\bhnasleil.bat'. The script's intent is to download and execute a second-stage payload.

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
9c4e47b05a8a6aa6708e9b6ae7f821db940fdb561b7d746c6f37e36ff28fbff4
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.