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

Static analysis result for SHA-256 a599666949f022de…

MALICIOUS

Office (OLE) / .XLS

69.5 KB Created: 2022-12-27 08:12:56 First seen: 2022-12-28
MD5: 4e586ecbaea13514abfda545d9f648d5 SHA-1: 0d60a54ce2e3b536aae9d88fc4263d8153948c0c SHA-256: a599666949f022de7ccc7edb3d31360e38546be22ad2227d4390364b42f43cfd
348 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1105 Ingress Tool Transfer

The XLS file contains VBA macros that utilize `CreateObject` and `Shell()` functions, indicating an attempt to execute external code. The `HTML_V_Excel` function within the macros is designed to download a file from a specified URL using `Microsoft.XMLHTTP` and save it to disk using `ADODB.Stream`, strongly suggesting a downloader functionality. This is further supported by the ClamAV detection of 'Xls.Downloader'.

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.
  • ClamAV: Xls.Downloader.b83ac4c497e169b5-9980307-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.b83ac4c497e169b5-9980307-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

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