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

Static analysis result for SHA-256 3f9c241da4e35cd0…

MALICIOUS

Office (OLE) / .XLS

98.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-07-19
MD5: 923708746bc980d7e8e3348a8aa5f927 SHA-1: be7e07d64c94e7d625fd74bb021b742cbdda5979 SHA-256: 3f9c241da4e35cd0714e5b298a14ccf8d54c1071b338f552e2c707754f5c39dc
360 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1105 Ingress Tool Transfer

The critical heuristic 'OLE_VBA_SHELL' and 'OLE_VBA_WSCRIPT' indicate the use of WScript.Shell to execute commands. The 'OLE_VBA_HTTP_DROP_EXEC' heuristic confirms that the VBA code downloads a file from an HTTP source and saves it to disk, likely for execution. The Workbook_Open macro is a common technique for auto-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
528310eeefcd875a4a38e6e65ded79aae29aa3a29a663d1fbea7e5bcb758f2ad
vba-macro oletools.olevba.extract_macros (decoded VBA source) 13701 bytes