Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 81f8c92e675564f6…

MALICIOUS

Office (OLE) / .XLS

142.5 KB Created: 2006-09-28 05:33:49 Authoring application: Microsoft Excel
MD5: baeccea9a78d5c5c5caef71c0cb66967 SHA-1: 8163970f794bc6603a4dccc85d777c3698eece73 SHA-256: 81f8c92e675564f602600944669fb068241e0d831ef7e41dc61cf69bae565ad2
280 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The file is an Excel spreadsheet containing VBA macros, specifically a Workbook_Open macro that executes code upon opening. The script utilizes `CreateObject` to instantiate `Wscript.Shell`, which is then used to execute a batch file located at `c:\programdata\rtyusdj.bat`. The script also contains a heavily obfuscated and concatenated string that resolves to multiple URLs, indicating a downloader functionality. The presence of `Wscript.Shell` and the obfuscated URLs strongly suggest the execution of a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.EmotetExcel02226-9938630-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel02226-9938630-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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
ffa342a8bb4eb541fe833e6254cf3f6e2f7d6f5436c011440a061030b6684f64
vba-macro oletools.olevba.extract_macros (decoded VBA source) 6473 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.