
Summary
This rule correlates Cisco Secure Endpoint Behavioral Protection (BP) Threat Detection alerts on a Windows endpoint to identify a potential persistence sequence: a WMI-based launch of a Visual Basic Script (VBS) followed by a Task Scheduler (Scheduled Job) creation that references the same script path. The Splunk search extracts bp_data fields, parses the WMI command line to capture the script_file, and assigns a stage (wmi or task) based on the signature IDs (20190409192004 for WMI, 20200501215232 for Task). It then correlates the WMI event time with a subsequent Task event within 300 seconds (5 minutes) on the same endpoint, capturing the wmi_command and task_command along with metadata such as endpoint dest, user, endpoint_guid, and the script_file. The rule outputs a focused view for analysts to review a potential persistence attempt, noting that absence of a completed run or registered task does not prove execution. It references MITRE techniques T1047 (WMIC/WMI) and T1053.005 (Scheduled Task) and relies on the Cisco Secure Endpoint BP data model and the Cisco Security Cloud App for Splunk ingestion. In Protect mode, BP may quarantine earlier stages; analysts should verify bp_data.audit and bp_data.details.actions before concluding task registration or script execution. Potential false positives include legitimate maintenance activities that use WMI to initiate a VBS and/or Task Scheduler, or failed task registrations. The rule provides true-positive test data via two unit-test datasets for validation.
Categories
- Endpoint
- Windows
Data Sources
- WMI
- Script
- Process
- Scheduled Job
ATT&CK Techniques
- T1047
- T1053
- T1053.005
Created: 2026-11-30