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

Static analysis result for SHA-256 10878b4b5c976f91…

MALICIOUS

Office (OLE) / .XLS

62.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel
MD5: b9775bf5eafd36390e1cccd72b3810a7 SHA-1: 4471df16f7202b10a6a7c76fcedf1fa7f0172f26 SHA-256: 10878b4b5c976f9168c6c4db4239790c37e750d38bc687e1b0d2a27c47610967
380 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1140 Deobfuscate or Obfuscate Malicious Code

This Excel document contains VBA macros, including a Workbook_Open event, which is a common technique for executing malicious code upon opening. The macros utilize WScript.Shell and CreateObject, and critically, they download and execute a file from an external source using HTTP .ResponseBody and .SaveToFile. The embedded VBA code is heavily obfuscated, suggesting an attempt to evade detection.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • 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.
  • 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
7389ca541e68571480d6ae10ec19a61ad0edd51dbe26e9239e748f784bdaac6d
vba-macro oletools.olevba.extract_macros (decoded VBA source) 24259 bytes