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

Static analysis result for SHA-256 b9d9a182e7f6f1af…

MALICIOUS

Office (OLE) / .XLS

76.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-07-21
MD5: 8126816aef1cdac348dfdf1506ec7a80 SHA-1: 9de958bedc0663ef84c36412c33ac721d217594c SHA-256: b9d9a182e7f6f1afaf0f5058def2ca3e4e65f71a387c228c0a098b6c41b6d319
360 Risk Score

Malware Insights

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

The critical heuristics indicate the presence of a Workbook_Open macro that utilizes WScript.Shell to download and execute a file. The VBA code contains obfuscated strings and a loop that appears to be part of a decryption or deobfuscation routine, further suggesting malicious intent. The primary function of this macro is to act as a downloader for a secondary payload.

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
9b0d8f50d96c3cd40026ac2db5035118ec3960d3d12177d5f2ba62a431bc95ad
vba-macro oletools.olevba.extract_macros (decoded VBA source) 13424 bytes