Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 3aa6ea28c6a862b5…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: a2df8d091fd0cc7327f548d8ebaad2a9 SHA-1: bea1bada2ba26bd6381bd648e602445d2595872e SHA-256: 3aa6ea28c6a862b5a772d74e3905a46da5782a1e3b9327235882b70e932519ec
240 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample contains a Workbook_Open VBA macro that executes a series of commands. The macro attempts to download and execute a VBScript payload from multiple URLs, including 'http://midnighsilverbcaftersr.com/store/wBjNOUw/B_I710N4cQA6R3/'. It also creates a batch file at 'c:\programdata\bhnasleil.bat'. The VBA code reconstructs the URL 'http://id.pastebin.com/raw/oue4hjld.vbs' and executes it, saving the content to 'c:\programdata\oue4hjld.vbs'. This indicates a downloader functionality, consistent with 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
cb15324b7dae450d6914955128eb535572cbd3e56d817687d97c4d88a0239474
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.