Gozi — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 5bd04a28cd48072f…

MALICIOUS

Office (OLE) / .XLS

78.5 KB Created: 2023-03-01 08:21:47 Authoring application: Microsoft Excel First seen: 2023-03-01
MD5: 2103f857dd07b56997e037a16d51551b SHA-1: 8edc5b7b86c9d33a7d23b82f9adc9ba5ff837751 SHA-256: 5bd04a28cd48072f8204801bb8d28a18853ac37ac8948322f5999324a238034a
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 sample is an Excel file containing VBA macros that utilize the URLDownloadToFile API to download a payload. The ClamAV detection explicitly names this as 'Doc.Downloader.Gozi-10026044-0', strongly suggesting the Gozi family. The script also uses CreateObject to instantiate 'MsXMl2.xMlhTTp' and calls Shell() to execute a downloaded file, indicating a downloader functionality.

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