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

Static analysis result for SHA-256 b2716ac6169dc9ab…

MALICIOUS

Office (OLE) / .XLS

160.0 KB Created: 2020-06-27 12:57:46 Authoring application: Microsoft Excel
MD5: 03b1061e0a0cdf717e60708f1051d156 SHA-1: 2c3a07752cb73e1b0bd80f2b6554f0ec4bed2ba8 SHA-256: b2716ac6169dc9ab6107117a9f88e4e30b1dd8cf7563f26cfec15ed3ee0fd2e0
408 Risk Score

Malware Insights

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

The sample is an Excel spreadsheet containing VBA macros, including Workbook_Open and Auto_Open, which are designed to execute automatically. The presence of ShellExecute and URLDownloadToFile API calls within the VBA code indicates that the macro attempts to download and execute a secondary payload. The document body's Spanish text prompts the user to 'Enable content to display this transaction receipt', a common social engineering tactic to trick users into running malicious macros.

Heuristics 10

  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
  • ClamAV: Xls.Dropper.Agent-8398418-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-8398418-0
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_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
f15ee371d4f4627ca1bf45ae45f51c848d64f8217d5dffc36e6366201008cfbf
vba-macro oletools.olevba.extract_macros (decoded VBA source) 17461 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.