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

Static analysis result for SHA-256 41b972caddc035b2…

MALICIOUS

Office (OLE) / .XLS

75.5 KB Created: 2023-08-21 14:53:50 Authoring application: Microsoft Excel First seen: 2023-08-22
MD5: 8345f5f832ccc46e0907d1554e7d6d34 SHA-1: c3b48bfe714a7f4c51bbf07afab3e46aefcdf7dd SHA-256: 41b972caddc035b290530a4d91da5570be040bb02ce9ba7f9cd648f9f936562e
348 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic for Applications T1204.002 Malicious File T1059 Command and Scripting Interpreter T1140 Deobfuscate/Decode Files or Information

The sample is an Excel file containing VBA macros, specifically a Workbook_Open macro that executes a shell command. The macro utilizes the URLDownloadToFile API, indicating it is designed to download and execute a second-stage payload. The document body contains a lure to enable macros, presenting a fake SWIFT notification.

Heuristics 9

  • 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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
7697296e8a23e9835349660ac82deacc5f1047855d44ee784bb8da28717a948f
vba-macro oletools.olevba.extract_macros (decoded VBA source) 9931 bytes