Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 2e40a9092dda2a3a…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 69f61919aa1cf995607ae211838d8a93 SHA-1: 4536ad86ae875e1a15105b1c5e1de6aea27d0eb5 SHA-256: 2e40a9092dda2a3a7e6aa9143c1dd5bcf3046feb44a9d50f638b96447e7e0b5c
240 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1105 Ingress Tool Transfer

The sample is a macro-enabled Excel file identified as Emotet by ClamAV. The Workbook_Open macro is triggered upon opening, which uses CreateObject to execute a VBScript. This script, reconstructed from obfuscated strings, appears to download and execute a second-stage payload from the URLs 'http://midnighsilvercrafters.com/store/wBjNOUwc/BI710N4cQA6R3/' and 'http://tempra.com/NAT_E_15_22_2009/BI710N4cQA6R3/', and potentially 'https://redington.karmaat'. The script also creates batch and VBS files in 'c:\programdata\'.

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
5f4b5e6e2267460cc11aa7892e8e9653442c7cd6774937dd7f31d7b3d76caa1a
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.