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

Static analysis result for SHA-256 686704b95d8594a7…

MALICIOUS

Office (OLE) / .XLS

60.0 KB Created: 2023-03-08 12:38:52 First seen: 2023-03-09
MD5: cf3befbe8ddfcdc3e9a35f39c15a77cc SHA-1: c4544ea123bcb49788b0c0ecdf7f72d90d779109 SHA-256: 686704b95d8594a70d0305b7702d3518120ef4088795380847a48e313d017b4a
288 Risk Score

Malware Insights

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

The VBA macro utilizes WScript.Shell and CreateObject to download a file from the constructed URL 'http://internetrasporti.com' and save it locally as a '.cvs' file. This indicates a downloader functionality, aiming to fetch and execute a secondary payload. The use of Shell() and WScript.Shell points towards execution of arbitrary code.

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