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

Static analysis result for SHA-256 d2634cd5ad7cbd81…

MALICIOUS

Office (OLE) / .XLS

61.0 KB Created: 2017-10-19 07:59:05 Authoring application: Microsoft Excel First seen: 2022-03-04
MD5: 0d2c1130f8d541ecd6d555d3e658ff8f SHA-1: ae72aea6050d5cfbf583d647b954aac6db0087af SHA-256: d2634cd5ad7cbd8159271bc1c87cb80f7185475c2e1096506e5104dbb0aad52c
260 Risk Score

Malware Insights

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

The sample is a Microsoft Excel file containing a Workbook_Open macro that uses the Shell() function to execute a command. The macro constructs a PowerShell command to download a file from 'http://fargugo.co/zsf' and save it to the user's temporary directory as a random .xls file. The command then executes this downloaded file. The VBA code obfuscates the PowerShell command and the URL, but the intent is to download and execute a second-stage payload.

Heuristics 6

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Xls.Dropper.Generic-6595971-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Generic-6595971-0
  • 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
1767ccd498a050541d2f0274ed1878f85d287aaba7681cb93d53a77a5ed34048
vba-macro oletools.olevba.extract_macros (decoded VBA source) 3018 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.