Sigma rule: Suspicious Schtasks Schedule Type With High Privileges
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-25b992c147c1, updated 2022-08-31T00:00:00.000Z.
Rule
- Title
- Suspicious Schtasks Schedule Type With High Privileges
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-08-31
- File
- rules/windows/process_creation/proc_creation_win_schtasks_schedule_type_system.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects scheduled task creations or modification to be run with high privileges 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 '
selection_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_*False positives (as the rule lists them)
- Some installers were seen using this method of creation unfortunately. Filter them in your environment
Tags
- attack.privilege-escalation
- attack.persistence
- attack.execution
- attack.t1053.005
MITRE ATT&CK ids this rule names
Related rules
References
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-change
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-create
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_system.yml
Sources and licences
SigmaHQ
"Suspicious Schtasks Schedule Type With High Privileges" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_schtasks_schedule_type_system.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Schtasks Schedule Type With High Privileges",
entity page, dataset version ref-25b992c147c1, updated 2022-08-31T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/7a02e22e-b885-4404-b38b-1ddc7e65258a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 7a02e22e-b885-4404-b38b-1ddc7e65258a, 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.