Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 f47527d7c9530d07…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 3f41cb9f993ff2106d37035fd19a6193 SHA-1: a555948f0fb3b6fc0109bc42971a4ac72087bef9 SHA-256: f47527d7c9530d07ab024a9e9d1dd3b5ed0de06ef33ed09a9ae19cf506c4be7a
240 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment T1059.005 Visual Basic

The file is a macro-enabled Excel document identified by ClamAV as Emotet. The Workbook_Open macro executes a VBA script that constructs and executes a command to download a VBS file from a hardcoded URL. The script also attempts to create a batch file and execute it. The reconstructed URL is 'http://midnighstilvercraft.com/store/wBjNOUwc/BI710N4cQ6R3/'. The VBA code also contains obfuscated strings that appear to be part of a PowerShell command, including a base64 encoded string that decodes to multiple URLs, one of which is 'http://midnighstilvercraft.com/store/wBjNOUwc/BI710N4cQ6R3/'.

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
2b98c3be7357bc9411cfe9b23c0f3bf113f4e30f76385bb6945ef1c38074e369
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.