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

Static analysis result for SHA-256 24f90781be4d00af…

MALICIOUS

Office (OLE) / .XLS

73.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2023-08-24
MD5: d5dab11931ae8f943ebe4c5a09dde39b SHA-1: 2f3d3e39571cf89d32ec3084b21fd3200c163766 SHA-256: 24f90781be4d00af6a4bce986c8a9c03bb7b961278fc37ba3932d69cf0b8f8db
348 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059.001 PowerShell T1105 Ingress Tool Transfer T1071.001 Web Protocols

The file is an Excel spreadsheet containing VBA macros. The Workbook_Open macro is configured to execute automatically, which is a common technique for malware delivery. The script utilizes ShellExecuteA and URLDownloadToFileA, indicating an intent to download and execute a secondary payload. The presence of a macro-enable lure in the document body further supports this malicious intent.

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