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

Static analysis result for SHA-256 417b21104c212d3c…

MALICIOUS

Office (OLE) / .XLS

84.0 KB Created: 2023-03-26 18:39:30 Authoring application: Microsoft Excel First seen: 2023-03-27
MD5: 870113986bdda1aa22c44ededf987447 SHA-1: 0ad93b69557f0e2b13d9e72f10939527c464196b SHA-256: 417b21104c212d3c6443c30960b43bfa3c65dda72061a5a2c0246ff97930eb18
328 Risk Score

Malware Insights

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

The critical heuristic OLE_VBA_DOWNLOAD and the presence of a Workbook_Open macro indicate that the sample is designed to download and execute a secondary payload. The VBA code explicitly uses URLDownloadToFileA from urlmon.dll, suggesting an attempt to fetch and run malicious content from a remote source. The ShellExecuteA function from shell32.dll is also referenced, likely for executing the downloaded payload.

Heuristics 8

  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
  • ClamAV: Xls.Malware.Valyria-10028013-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Valyria-10028013-0
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • 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
05f45999820686727ddee8ef47bd76548e53ea55cceaba1b2e78b637f731dfa1
vba-macro oletools.olevba.extract_macros (decoded VBA source) 29432 bytes