Sigma rule: Defrag Deactivation
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-39c8369ea150, updated 2022-10-09T00:00:00.000Z.
Rule
- Title
- Defrag Deactivation
- Status
- test
- Level
- medium
- Author
- Florian Roth (Nextron Systems), Bartlomiej Czyz (@bczyz1)
- Date
- 2019-03-04
- Modified
- 2022-10-09
- File
- rules-emerging-threats/2018/TA/Slingshot/proc_creation_win_apt_slingshot.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the deactivation and disabling of the Scheduled defragmentation task as seen by Slingshot APT group
Log source
- product
- windows
- category
- process_creation
Detection
selection:
Image|endswith: '\schtasks.exe'
CommandLine|contains:
- '/delete'
- '/change'
CommandLine|contains|all:
- '/TN'
- '\Microsoft\Windows\Defrag\ScheduledDefrag'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.privilege-escalation
- attack.execution
- attack.persistence
- attack.t1053.005
- attack.s0111
- detection.emerging-threats
MITRE ATT&CK ids this rule names
References
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2018/TA/Slingshot/proc_creation_win_apt_slingshot.yml
Sources and licences
SigmaHQ
"Defrag Deactivation" by Florian Roth (Nextron Systems), Bartlomiej Czyz (@bczyz1) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2018/TA/Slingshot/proc_creation_win_apt_slingshot.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Defrag Deactivation",
entity page, dataset version ref-39c8369ea150, updated 2022-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/958d81aa-8566-4cea-a565-59ccd4df27b0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 958d81aa-8566-4cea-a565-59ccd4df27b0, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.