Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 a6f587eae4408452…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 611c21955b3395add3abf89265630ba5 SHA-1: 41efee6aadb027e335a22e58960fc76adbaec9ab SHA-256: a6f587eae4408452633ce9b18dcb46740624f30c4ed15f92686b048a9309a580
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 that triggers a Workbook_Open event. The VBA code within the 'macros.bas' script is designed to execute a series of commands. It constructs and executes a VBScript file named 'oue4hjld.vbs' in the 'C:\programdata' directory, and a batch file named 'bhnasleil.bat'. The script also attempts to download a payload from multiple URLs, including 'http://midnighsilverb.crafters.com/store/wBjNOUwc/B710N4cA6R3/' and 'http://temporal.com/NAT_E_05_22_2009/BI710N4cA6R3/', and saves it as 'bhnasleil.bat'. This behavior is characteristic of Emotet downloaders, which are known to drop and execute further malicious payloads.

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
8b59ade30918c0f34a4b504d9f0481dbe915ffd35fa4363247444a659e52c1bc
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.