Scheduled Task Creation with Curl and PowerShell Execution Combo
Description
Detects the creation of a scheduled task using schtasks.exe, potentially in combination with curl for downloading payloads and PowerShell for executing them. This facilitates executing malicious payloads or connecting with C&C server persistently without dropping the malware sample on the host.
Query · sigma
selection_img: Image|endswith: \schtasks.exe CommandLine|contains|windash: ' /create ' selection_curl: CommandLine|contains|all: - 'curl ' - http - -o selection_powershell: CommandLine|contains: powershell condition: all of selection_*
Known false positives
- Legitimate use of schtasks for administrative purposes.
- Automation scripts combining curl and PowerShell in controlled environments.