Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 a99fa1ddc9e5d93f…

MALICIOUS

Office (OLE) / .XLSX

138.0 KB Created: 2022-02-09 09:48:26 Authoring application: Microsoft Excel
MD5: 25617cf0b17f1d7cce47c9c8fbced9c4 SHA-1: c9e20e7f5259d64be7b529b93878f2f4376b9781 SHA-256: a99fa1ddc9e5d93f55cc555f1d9f6750ff920f553a9a937619a62838eb7bd2ab
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 'Doc.Downloader.EmotetRed02220-9938909-0'. Static analysis reveals a Workbook_Open VBA macro that uses CreateObject to execute commands. The macro attempts to download and execute a VBScript payload from a hardcoded URL, specifically 'http://midnighsilvercrafters.com/store/wBjNOUwc/B170N4cQ6R3/', saving it as 'c:\programdata\oue4hjld.vbs'. It also creates a batch file 'c:\programdata\bhnasleil.bat' which appears to be part of the execution chain. The VBA code also contains obfuscated strings that reconstruct URLs and file paths, indicating a downloader functionality.

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
8586a63915fd8b7662510cfcad3c5b80f31ed20bb2da44644ab183c4bdebbe82
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.