Suspicious schtasks Persistence Spawned from PowerShell or Script Chain

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-05-19
Updated
2026-08-28

ATT&CK techniques

Execution → Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Defense Evasion

  5. Cred Access

  6. Discovery

  7. Lateral Movement

  8. Collection

  9. C2

  10. Exfiltration

  11. Impact

What it detects

This rule detects schtasks creating a scheduled task when launched from a PowerShell or command-shell parent, a persistence step observed in the Suky Castle ClickFix-style campaign where an obfuscated PowerShell to cmd to attrib to schtasks chain established persistence. It captures scheduled-task creation originating from an interactive scripting context rather than an installer. Detecting this is important because attacker-driven schtasks activity typically descends from a script host rather than a legitimate management tool.

Related detections9 linkedT1053.005 — drag to rearrange
Suspicious Scheduled Task Running PowerShell Every Minute (via process_creation)
Agent Tesla Persistence via Realtek Named Scheduled Task Batch
Suspicious Scheduled Task Creation Named test3 by Salt Typhoon
Suspicious MeshAgent Persistence via Scheduled Task MeshUserTask (via process_creation)
Malicious PureMiner Persistence Executable in AppData HResult Folder
Suspicious Kimsuky Scheduled Task Impersonating Google Update CGI (via process_creation)
Malicious Scheduled Persistent Task with SYSTEM Privileges Creation (via process_creation)
Malicious Interactive Privileged Shell Triggered by Schedule Task - Deprecated (via process_creation)
Suspicious Scheduled Task Creation with Command Line (via process_creation)
Suspicious schtasks Persistence Spawned from PowerShell or Script Chain
Pivot detection · T1053.005 · 9 related

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