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

Static analysis result for SHA-256 51966591539f0b00…

MALICIOUS

Office (OLE) / .XLS

184.5 KB Created: 2021-06-17 23:31:12 Authoring application: Microsoft Excel
MD5: 0919ffd767c6579a11b4270e195ccc72 SHA-1: 4882aedde40090eb789f9ca9184618b659db520f SHA-256: 51966591539f0b00dcc93cda5eec8a411ab04ea37029a6aa68be071f01033b67
400 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1140 Deobfuscate/Decode Files or Information

The sample is an Excel file containing VBA macros, specifically an Auto_Open macro that executes a function to create objects and potentially download a payload. The presence of 'Shell()' and 'CreateObject()' calls, along with heap spray and NOP sled detections, indicates malicious intent. The script also attempts to obfuscate strings and reconstruct them, suggesting an effort to hide its true actions, likely to download and execute a second-stage payload.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Xls.Malware.Valyria-6995973-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Valyria-6995973-0
  • Heap-spray pattern detected high SC_HEAP_SPRAY
    Repeated 0x41 (A) bytes found
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • Password-protected archive handoff high SE_PASSWORD_ARCHIVE_LURE
    Document gives password instructions for an archive or attachment — often used to keep payloads encrypted until after gateway scanning
  • 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.
  • NOP-equivalent sled detected medium SC_NOP_EQUIV_SLED
    Long run of 0x41 bytes
  • 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
6e5e202c2eb3a47a015dfb68fc3025627744c58a59192cbeb8b19c4919adc477
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2503 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 18 Chr/ChrW string-construction calls. Carved macro source contains an auto-exec entry point and execution/download terms.