Detectionmediumtest
Suspicious Schtasks Schedule Type With High Privileges
Detects scheduled task creations or modification to be run with high privileges 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 Wed Aug 317a02e22e-b885-4404-b38b-1ddc7e65258awindows
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 '
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
Some installers were seen using this method of creation unfortunately. Filter them in your environment
MITRE ATT&CK
Rule Metadata
Rule ID
7a02e22e-b885-4404-b38b-1ddc7e65258a
Status
test
Level
medium
Type
Detection
Created
Wed Aug 31
Path
rules/windows/process_creation/proc_creation_win_schtasks_schedule_type_system.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.executionattack.t1053.005