Windows Scheduled Task Creation via schtasks.exe with curl and PowerShell Command Line Indicators

Alerts on schtasks.exe task creation commands that simultaneously include curl download indicators and PowerShell execution.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-02-05
Updated
2026-07-30

ATT&CK techniques

Execution → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Cred Access

  5. Discovery

  6. Lateral Movement

  7. Collection

  8. Exfiltration

  9. Impact

What it detects

This rule flags Windows process creation where schtasks.exe is invoked with task creation arguments, and the same command line also includes curl download activity and PowerShell usage. Attackers may use scheduled tasks to establish persistence while staging or triggering payloads through common scripting and download tools. The detection relies on process creation telemetry, specifically the Image path ending with schtasks.exe and substring matches for /create, curl, http, -o, and powershell in the command line.

Related detections9 linkedT1105 — drag to rearrange
Suspicious File Download via certutil urlcache
Windows File Events: Legitimate Applications Writing Executables to Uncommon Locations
Windows Process Access: Suspicious WebDAV target execution via iediagcmd.exe or CustomShellHost.exe (CVE-2025-33053)
Windows Process Creation: Possible CVE-2025-33053 WebDAV RCE via utility search-order manipulation
macOS chflags Hidden Flag Set via chflags hidden parameter
Windows Process Execution: Suspicious cmd.exe Command-Line Combinations (Pikabot-like)
Windows: Detect Ldifde.exe LDAP import (-i -f) usage
Windows findstr.exe Subfolder and Case-Insensitive Search Flags
Windows Process Creation: MpCmdRun.EXE Used to Download Files via DownloadFile url
Windows Scheduled Task Creation via schtasks.exe with curl and PowerShell Command Line Indicators
Pivot detection · T1105 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.