Detectionhightest
Schtasks From Suspicious Folders
Detects scheduled task creations that have suspicious action command and folder combinations
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Florian Roth (Nextron Systems)Created Fri Apr 15Updated Fri Nov 188a8379b8-780b-4dbf-b1e9-31c8d112fefbwindows
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 Logic4 selectors
detection:
selection_img:
- Image|endswith: '\schtasks.exe'
- OriginalFileName: 'schtasks.exe'
selection_create:
CommandLine|contains: ' /create '
selection_command:
CommandLine|contains:
- 'powershell'
- 'pwsh'
- 'cmd /c '
- 'cmd /k '
- 'cmd /r '
- 'cmd.exe /c '
- 'cmd.exe /k '
- 'cmd.exe /r '
selection_all_folders:
CommandLine|contains:
- 'C:\ProgramData\'
- '%ProgramData%'
condition: all of selection_*False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Rule Metadata
Rule ID
8a8379b8-780b-4dbf-b1e9-31c8d112fefb
Status
test
Level
high
Type
Detection
Created
Fri Apr 15
Modified
Fri Nov 18
Path
rules/windows/process_creation/proc_creation_win_schtasks_folder_combos.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.executionattack.t1053.005