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

Static analysis result for SHA-256 b057853d384f7d95…

MALICIOUS

Office (OLE) / .XLS

268.0 KB Created: 2023-01-25 03:36:56 Authoring application: Microsoft Excel First seen: 2023-01-25
MD5: 1240893be5580817ce4469177b5763f8 SHA-1: 973750c0ad4fdbbacc908c9e486d74a21a687cf6 SHA-256: b057853d384f7d957d979753fa09674c116d085a99be6f4923484f02d256f26a
328 Risk Score

Malware Insights

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

The Workbook_Open macro is configured to execute automatically upon opening the Excel file. It utilizes the URLDownloadToFile API to download a payload from a remote source and ShellExecuteA to execute it. This indicates a downloader or droppper functionality, common in initial access stages of an attack.

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