Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 b7f7e2b35b8ce77d…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: b23cbefe0c9f7bb9a6b02e7d901e45a3 SHA-1: 31fde6537e4345de1232ad98835852ea6cc16114 SHA-256: b7f7e2b35b8ce77de948e3f8a31a07cb02a56f535400d0392e6643236859227b
240 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file contains a Workbook_Open VBA macro that executes a PowerShell command. This command is obfuscated but appears to download and execute a second-stage payload from multiple URLs, including 'http://midnighthilvercrafters.com/store/wBjNOUw/B710N4cQ6R3/' and 'https://redington.karmart'. The macro also attempts to create scheduled tasks and drop VBS and BAT files to 'c:\programdata\oue4hjld.vbs' and 'c:\programdata\bhnasleil.bat' respectively, indicating a downloader and potential persistence mechanism.

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
a90eb42bab6e686f81be01bc2f771e8e11fb77e1d0232a2b092ea50f06e8aa67
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.