Sigma rule: Suspicious Schtasks Schedule Types

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6c4434b6832c, updated 2022-09-09T00:00:00.000Z.

Rule

Title
Suspicious Schtasks Schedule Types
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2022-09-09
File
rules/windows/process_creation/proc_creation_win_schtasks_schedule_type.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects scheduled task creations or modification on a suspicious schedule type

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\schtasks.exe'
    - OriginalFileName: 'schtasks.exe'
selection_time:
    CommandLine|contains:
        - ' ONLOGON '
        - ' ONSTART '
        - ' ONCE '
        - ' ONIDLE '
filter_privs:
    CommandLine|contains:
        - 'NT AUT' # This covers the usual NT AUTHORITY\SYSTEM
        - ' SYSTEM' # SYSTEM is a valid value for schtasks hence it gets it's own value with space
        - 'HIGHEST'
condition: all of selection_* and not 1 of filter_*

False positives (as the rule lists them)

  • Legitimate processes that run at logon. Filter according to your environment

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.execution
  • attack.t1053.005

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_schtasks_schedule_type.yml

Sources and licences

  • SigmaHQ

    "Suspicious Schtasks Schedule Types" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_schtasks_schedule_type.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Schtasks Schedule Types",
entity page, dataset version ref-6c4434b6832c, updated 2022-09-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/24c8392b-aa3c-46b7-a545-43f71657fe98 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 24c8392b-aa3c-46b7-a545-43f71657fe98, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.