Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 2aa2f115c603fe3b…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 25c9807f662a49a888d5c92ebb3c9bc3 SHA-1: 9de2fc2b6d95c3c58cfdd77514fecaeb1a07ccf0 SHA-256: 2aa2f115c603fe3baf1fa5060e92dd3c02e1a6daab66afa0b452e216f3399125
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 is configured to execute a series of commands. It reconstructs a URL from concatenated strings: "http://midnighstilvercrafters.com/store/wBjNOUwc/BI710N4cQA6R3/", "http://tempra.com/NAT_05_22_2009/BI710N4cQA6R3/", and "https://redington.karmat". It then proceeds to download and execute a VBScript from one of these URLs to the path 'c:\programdata\oue4hjld.vbs' and a batch file to 'c:\programdata\bhnasleil.bat'. The VBA script's primary function 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
cb9c6900ec9ee3e777e64b1517efae9d86f3dcb23fa84e94f0cdb66624be6a4c
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.