Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 8d27ab0f71aa167b…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 4b3c7a5a6a2897aa38707c313e577f16 SHA-1: 2d1db2b66fec82a465c76ff8c52170c314dfe4a2 SHA-256: 8d27ab0f71aa167bf87c94bc42f0d795d04a59b267463efa4090414c5546818f
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 critical ClamAV detection and high-severity heuristics for VBA macros, including Workbook_Open auto-execution and CreateObject calls, strongly indicate malicious intent. The VBA script attempts to download and execute a second-stage payload from multiple URLs, including 'http://midnighsilverbcraft.com/store/wBjNOUw/NA T_05_22_2009/BI710N4cQ6R3/' and 'http://tempraal.com/NAT_05_22_2009/BI710N4cQ6R3/', saving it as 'c:\programdata\oue4hjld.vbs' and executing it via a batch file 'c:\programdata\bhnasleil.bat'. The script also contains obfuscated PowerShell commands for downloading and executing 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
5af2b0c83d2c395fbbb7a16bfd18225e77f6b01c422a20e87752d411b9eeb71a
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.