Gozi — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 67417004d245a2f3…

MALICIOUS

Office (OLE) / .XLS

48.5 KB Created: 2023-03-01 08:21:47 Authoring application: Microsoft Excel First seen: 2023-03-01
MD5: 451d2a04d1d4f31f3cfc3858e12c7d21 SHA-1: 45227c6e18c64dc2f7060107a7166d55a2f4f5ca SHA-256: 67417004d245a2f3fa094f92d501e902c7e994b017e8ce457154c7c2e55a2b65
308 Risk Score

Malware Insights

Gozi · confidence 95%

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

The VBA macro contains critical heuristic firings for URLDownloadToFile and Shell() calls, indicating it's designed to download and execute a payload. The ClamAV detection explicitly names this as 'Doc.Downloader.Gozi-10026044-0', strongly suggesting the Gozi family. The script uses CreateObject("MsXMl2.xMlhTTp") and URLDownloadToFileA to fetch and run a second-stage payload.

Heuristics 7

  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
  • ClamAV: Doc.Downloader.Gozi-10026044-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Gozi-10026044-0
  • 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
f7f98bce7751546bc82f2ff67fe317a27114596f2b10c50cd20ec2e955db7a44
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2713 bytes