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

Static analysis result for SHA-256 9c392fa7d08f87b5…

MALICIOUS

Office (OLE) / .XLS

164.0 KB Created: 2020-03-23 21:27:27 Authoring application: Microsoft Excel
MD5: 47f65b1ef101cd63a00aea8375f0d9fc SHA-1: 6c18d8008578a9c0bf9ee69e634209b1ea21ad05 SHA-256: 9c392fa7d08f87b5a0e884aebb1024d6e82e9a343effd69d4965e959fbdbfa7f
320 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The file contains VBA macros, specifically a Workbook_Open macro that utilizes character-shifting functions (Mid, Asc, Chr) to decode and execute a shell command. This is a common technique for macro-based malware to download and run a second-stage payload. The ClamAV signature 'Xls.Dropper.Agent-7640789-0' further supports its malicious nature as a dropper.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA character-shift decoded Shell command critical OLE_VBA_ASC_CHR_SHIFT_SHELL
    VBA auto-exec macro stores an encoded command string, decodes it with a Mid/Asc/Chr character-shift loop, and passes the recovered text to Shell. This is a high-confidence command stager.
  • ClamAV: Xls.Dropper.Agent-7640789-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-7640789-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
c1355b90940e48fcfe46cccd15c3f72b4e17099b76ca3c1202b030e63a722f6d
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2718 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.