{"id":"526cc8bc-1cdc-48ad-8b26-f19bff969cec","title":"Removal Of Index Value to Hide Schedule Task - Registry","description":"Detects when the \"index\" value of a scheduled task is removed or deleted from the registry. Which effectively hides it from any tooling such as \"schtasks /query\"","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2022-08-26","modified":"2025-10-25","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"product":"windows","category":"registry_delete"},"falsepositives":["Unknown"],"references":["https://blog.qualys.com/vulnerabilities-threat-research/2022/06/20/defending-against-scheduled-task-attacks-in-windows-environments"],"source_path":"rules/windows/registry/registry_delete/registry_delete_schtasks_hide_task_via_index_value_removal.yml","source_sha256":"dbc619c5361f577ba6f8e1fbea61cc472f6fe7df88aa1c911578ed2b6be92bbe","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/registry/registry_delete/registry_delete_schtasks_hide_task_via_index_value_removal.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Removal Of Index Value to Hide Schedule Task - Registry\nid: 526cc8bc-1cdc-48ad-8b26-f19bff969cec\nrelated:\n    - id: acd74772-5f88-45c7-956b-6a7b36c294d2\n      type: similar\n    - id: 5b16df71-8615-4f7f-ac9b-6c43c0509e61\n      type: similar\nstatus: test\ndescription: Detects when the \"index\" value of a scheduled task is removed or deleted from the registry. Which effectively hides it from any tooling such as \"schtasks /query\"\nreferences:\n    - https://blog.qualys.com/vulnerabilities-threat-research/2022/06/20/defending-against-scheduled-task-attacks-in-windows-environments\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-08-26\nmodified: 2025-10-25\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    product: windows\n    category: registry_delete\ndetection:\n    selection:\n        TargetObject|contains|all:\n            - '\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Schedule\\TaskCache\\Tree\\'\n            - 'Index'\n    condition: selection\nfalsepositives:\n    - Unknown\nlevel: medium\nregression_tests_path: regression_data/rules/windows/registry/registry_delete/registry_delete_schtasks_hide_task_via_index_value_removal/info.yml\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/526cc8bc-1cdc-48ad-8b26-f19bff969cec.json","kind":"sigma"}
