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

Static analysis result for SHA-256 3358c579913308c3…

MALICIOUS

Office (OLE) / .XLS

146.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel
MD5: c7e508500724f43b381649e6c169a41e SHA-1: 720043542d08945555a32182dd8e7bfb89310126 SHA-256: 3358c579913308c34f745c6cc5cb83e718956730f7d9e4f16f58bf500a7d7b07
368 Risk Score

Malware Insights

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

The file is an Excel spreadsheet containing VBA macros. A critical heuristic indicates the presence of URLDownloadToFile within the VBA code, and another critical heuristic confirms this is used for downloading. The Workbook_Open macro is present, suggesting automatic execution upon opening. This combination strongly indicates the file's purpose is to download and execute a secondary payload from a remote source.

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.
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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
1733215eb618a009dcf8cdbfb60451e3f6b0795475f63abdb195b4d758e654a8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 11329 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.