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

Static analysis result for SHA-256 a9f6314789b922b6…

MALICIOUS

Office (OLE) / .XLS

62.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel
MD5: 641cfd5a568fae40164ad2f493c6a6ce SHA-1: 7aff16774ebcb88d3081bbe4b56c4237c30b89ae SHA-256: a9f6314789b922b612cf971c0e7dfcfa758b7f192827b1b6304e8e6c90029c22
360 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The sample is a Microsoft Excel file containing VBA macros. The Workbook_Open macro is configured to execute automatically upon opening the document. It utilizes WScript.Shell and the Shell() function, indicating it attempts to run external commands or scripts. The document body explicitly instructs the user to 'Enable Content', serving as a lure to bypass macro security. The primary IOC is the extracted 'macros.bas' file, which likely contains the malicious script.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b3e63b13837dc62bdef623ac7bc72e664cfa12ca2a32342e92295ca0a2a0fabc
vba-macro oletools.olevba.extract_macros (decoded VBA source) 24958 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.