Detection rules › Sigma
Schtasks Creation Or Modification With SYSTEM Privileges
Detects the creation or update of a scheduled task to run with "NT AUTHORITY\SYSTEM" privileges
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1053.005 Scheduled Task/Job: Scheduled Task |
| Persistence | T1053.005 Scheduled Task/Job: Scheduled Task |
| Privilege Escalation | T1053.005 Scheduled Task/Job: Scheduled Task |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
Stages and Predicates
Stage 1: all of selection_root
or:
CommandLine|contains: ' /change '
CommandLine|contains: ' /create '
Image|endswith: '\schtasks.exe'
Stage 2: all of selection_run
CommandLine|contains: '/ru '
Stage 3: all of selection_user
or:
CommandLine|contains: ' SYSTEM '
CommandLine|contains: 'NT AUT'
Stage 4: not 1 of filter_optional_*
or:
CommandLine|contains: '/TN TVInstallRestore'
CommandLine|contains: '\TeamViewer_.exe'
Image|endswith: '\schtasks.exe'
CommandLine|contains: 'Subscription Heartbeat'
CommandLine|contains: '\HeartbeatConfig.xml'
CommandLine|contains: '\Microsoft Shared\OFFICE'
CommandLine|contains: '/Create /F /RU System /SC WEEKLY /TN AviraSystemSpeedupVerify /TR '
CommandLine|contains: '/VERIFY /VERYSILENT /NOSTART /NODOTNET /NORESTART" /RL HIGHEST'
CommandLine|contains: ':\Program Files (x86)\Avira\System Speedup\setup\avira_speedup_setup.exe'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|