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

Static analysis result for SHA-256 edbbafff6c2b1580…

MALICIOUS

Office (OLE) / .XLS

134.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2023-08-17
MD5: 4697182c3174b65158daf53898a7b957 SHA-1: bf0d5aa2404bc9ab020054a1ed336c0dc4199c2b SHA-256: edbbafff6c2b1580a2134fe5b68f49a237fc1e8c6baec1e60556892762bcb1f3
360 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The critical OLE_VBA_SHELL and OLE_VBA_WSCRIPT heuristics indicate the use of WScript.Shell, a common technique for executing commands and downloading payloads. The OLE_VBA_HTTP_DROP_EXEC heuristic further confirms that the VBA code attempts to download a file from the internet and save it to disk, likely for execution. The Workbook_Open macro is present, suggesting automatic execution upon opening the document.

Heuristics 8

  • 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b5d95faaef79bcacac7708e9267e0fbf3382fff7f6be8e9dfc25610909171c41
vba-macro oletools.olevba.extract_macros (decoded VBA source) 24318 bytes