Detectionhightest
Suspicious Schtasks Schedule Types
Detects scheduled task creations or modification on a suspicious schedule type
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nasreddine Bencherchali (Nextron Systems)Created Fri Sep 0924c8392b-aa3c-46b7-a545-43f71657fe98windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic3 selectors
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
Legitimate processes that run at logon. Filter according to your environment
MITRE ATT&CK
Rule Metadata
Rule ID
24c8392b-aa3c-46b7-a545-43f71657fe98
Status
test
Level
high
Type
Detection
Created
Fri Sep 09
Path
rules/windows/process_creation/proc_creation_win_schtasks_schedule_type.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.executionattack.t1053.005