Sigma rule: Set Files as System Files Using Attrib.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-897c80638627, updated 2023-03-14T00:00:00.000Z.
Rule
- Title
- Set Files as System Files Using Attrib.EXE
- Status
- test
- Level
- low
- Author
- frack113
- Date
- 2022-02-04
- Modified
- 2023-03-14
- File
- rules-threat-hunting/windows/process_creation/proc_creation_win_attrib_system.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the execution of "attrib" with the "+s" flag to mark files as system files
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\attrib.exe'
- OriginalFileName: 'ATTRIB.EXE'
selection_cli:
CommandLine|contains: ' +s '
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.stealth
- attack.t1564.001
- detection.threat-hunting
MITRE ATT&CK ids this rule names
Related rules
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.001/T1564.001.md#atomic-test-3---create-windows-system-file-with-attrib
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/attrib
- https://unit42.paloaltonetworks.com/unit42-sure-ill-take-new-combojack-malware-alters-clipboards-steal-cryptocurrency/
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_attrib_system.yml
Sources and licences
SigmaHQ
"Set Files as System Files Using Attrib.EXE" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/windows/process_creation/proc_creation_win_attrib_system.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: Set Files as System Files Using Attrib.EXE",
entity page, dataset version ref-897c80638627, updated 2023-03-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/bb19e94c-59ae-4c15-8c12-c563d23fe52b (accessed 2026-11-03).
Underlying source: SigmaHQ rule bb19e94c-59ae-4c15-8c12-c563d23fe52b, 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.