Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 38d931a2a434db02…

MALICIOUS

Office (OLE) / .XLSX

122.5 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: efb850fdafa36b8a2d129912a022cfed SHA-1: 0df69ec8ec41774a523cc17b84db8fc4f31a117a SHA-256: 38d931a2a434db024d7cb8857d1b078863ea21ad7e0b34d6f8a25ae235d062e1
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 file is identified as malicious by ClamAV with the signature Xls.Downloader.Emotet-ab81c42b2bd4747e-9951196-0. The VBA macros contain obfuscated commands that, when reconstructed, indicate the execution of a VBScript file from 'c:\programdata\oue4hjld.vbs' and a batch file from 'c:\programdata\bhnasleil.bat'. These scripts are likely responsible for downloading and executing further payloads from the provided URLs, a common tactic for Emotet. The Workbook_Open heuristic further confirms the auto-execution of these malicious macros upon opening the document.

Heuristics 6

  • ClamAV: Xls.Downloader.Emotet-ab81c42b2bd4747e-9951196-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-ab81c42b2bd4747e-9951196-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
d9118acd56168fef5ef162072966eaa845a2d9d7f6a67861f956b8c46dd9830e
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.