SecOps SignalSecurity Intelligence Workspace
Collection Degraded30 / 46 Sources HealthyPublic Intel Only
KQL Library/Source hunting queryReference only
Record 1637810d4ec27e7f9a7ec7cc · v1
Schema CheckedNot runtime validated

Turning off System Restore

Source repository hunting query

Generation sourcesource-file · Limited verification
Attributionmicrosoft
Last updated15 Feb 2021, 07:08 PM IST
Last checked17 Oct 2026
View original guidance
Kusto query · 10 linesTable: DeviceProcessEvents · Microsoft Defender XDR / Sentinel
DeviceProcessEvents//Pivoting for rundll32  | where InitiatingProcessFileName =~ 'rundll32.exe'   //Looking for empty command line   and InitiatingProcessCommandLine !contains " " and InitiatingProcessCommandLine != ""  //Looking for schtasks.exe as the created process  and FileName in~ ('schtasks.exe')  //Disabling system restore   and ProcessCommandLine has 'Change' and ProcessCommandLine has 'SystemRestore' and ProcessCommandLine has 'disable'

SecOps Signal does not execute queries against private telemetry. Paste the query into Microsoft Sentinel Log Analytics or Defender advanced hunting and review it first. Passed structure and schema checks; tenant execution is not verified.

Query anatomy

Static check against a reviewed column list

— This query has no final project stage to list.

“Listed” only means the column name appears in the reviewed list for that table. It does not confirm the column exists in your tenant's current schema, and per-column purposes are not recorded.

Hunting notes

MITRE ATT&CKNot mapped
Analytical purpose

Source repository hunting query

When to use

Review the source query and adapt it to your tenant before use.

Limitations

Schema checked only. This query has not been executed against a Sentinel or Defender tenant.

Turning off System Restore | SecOps Signal