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

Static analysis result for SHA-256 3e9c5280463b1e4a…

MALICIOUS

Office (OLE) / .XLS

91.0 KB Created: 2023-01-11 08:39:02 First seen: 2023-01-11
MD5: 1dba6023c933a8d7a9a6623c158bc4b7 SHA-1: fd41c5abbe0dc73993563da8dc9ba0dc5b8e0a6e SHA-256: 3e9c5280463b1e4aa07fe6870bb8b9078b2213a2556f27c84dded6796d0da3fb
288 Risk Score

Malware Insights

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

The VBA macros in this XLS file utilize `CreateObject` to instantiate `Microsoft.XMLHTTP` and `ADODB.Stream` objects. The script attempts to download content from a URL (not explicitly provided in the extracted evidence but implied by `Classes.Open "GET", bersha, False`) and save it to disk using the `mioS` function, which calls `S.SaveToFile`. This indicates a downloader or droppper functionality.

Heuristics 7

  • 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
  • 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
52dc721e11850992455ce997129e1b1a1dcd336d4711c409a1604e4cae57d89c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 4619 bytes