
Summary
This detection identifies adversaries abusing the Windows command processor (cmd.exe) to execute payloads using only built-in commands, a pattern commonly seen in ClickFix-style social engineering and loader activity. The analytic targets native command-shell behavior that is difficult to detect with static indicators, by recognizing evasive command construction and self-deleting artifacts. Specifically, it looks for the combination of invoking cmd.exe with a command line that includes the CALL statement used to assemble payloads piece by piece, and the use of the TIMEOUT utility paired with DEL to erase the dropped executable after execution. The rule filters out system-level activity and focuses on non-SYSTEM users executing processes that contain obfuscated or staged command lines, then flags the activity if either a call-based obfuscation pattern or a self-deleting timeout sequence is detected. When triggered, the rule surfaces attributes such as the involved process, its parent process, the destination host, and the user, and it time-aligns the first and last observed times. The query is built off the Endpoint.Processes data model, leveraging complete process execution data and command lines, normalized via the Splunk CIM, and designed to run in Splunk Enterprise, Splunk ES, and Splunk Cloud. The intent is to highlight staged loaders or cleanup behavior that may accompany malicious activity, not just a single indicator, thereby helping investigators correlate late-stage execution with initial command-line obfuscation. The detection is complemented by references to MITRE techniques (T1027.010, T1070.004, T1059.003) and feeds into an analytic story line around deobfuscation and evasive command usage. An explicit true-positive example is provided by a test dataset representing Windows Sysmon/process creation events with cmd.exe and obfuscated call/timeout patterns. People using this rule should tune for legitimate batch scripts, installers, or legitimate administrative tasks that legitimately use similar patterns by filtering on parent process, user, and script paths.
Categories
- Endpoint
- Windows
Data Sources
- Windows Registry
- Process
- Logon Session
- File
- Network Traffic
ATT&CK Techniques
- T1027
- T1070
- T1059
- T1027.010
- T1070.004
- T1059.003
Created: 2026-11-16