Windows: Weekly Scheduled Task Creation for "shutdown /l /f" via schtasks.exe

Flags schtasks.exe creating a weekly scheduled task that runs "shutdown /l /f" on Windows.

FreeReviewedSigma · Medium · v5
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems), X__Junior (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2024-03-22
Updated
2026-07-31

What it detects

This rule identifies process executions of schtasks.exe where the command line creates a scheduled task configured to run weekly and includes the shutdown /l /f command. Such task creation can enable persistence or repeated execution of attacker-controlled behavior. The detection relies on Windows process creation telemetry, matching schtasks.exe in the image path and required command-line substrings, while excluding events for specific system user patterns.

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

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