Sigma rule: Windows Registry Trust Record Modification
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-92d841a3c51a, updated 2023-06-21T00:00:00.000Z.
Rule
- Title
- Windows Registry Trust Record Modification
- Status
- test
- Level
- medium
- Author
- Antonlovesdnb, Trent Liffick (@tliffick)
- Date
- 2020-02-19
- Modified
- 2023-06-21
- File
- rules/windows/registry/registry_event/registry_event_office_trust_record_modification.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Alerts on trust record modification within the registry, indicating usage of macros
Log source
- product
- windows
- category
- registry_event
Detection
selection:
TargetObject|contains: '\Security\Trusted Documents\TrustRecords'
condition: selectionFalse positives (as the rule lists them)
- This will alert on legitimate macro usage as well, additional tuning is required
Tags
- attack.initial-access
- attack.t1566.001
MITRE ATT&CK ids this rule names
Related rules
References
- https://outflank.nl/blog/2018/01/16/hunting-for-evil-detect-macros-being-executed/
- http://az4n6.blogspot.com/2016/02/more-on-trust-records-macros-and.html
- https://twitter.com/inversecos/status/1494174785621819397
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_event/registry_event_office_trust_record_modification.yml
Sources and licences
SigmaHQ
"Windows Registry Trust Record Modification" by Antonlovesdnb, Trent Liffick (@tliffick) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_event/registry_event_office_trust_record_modification.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: Windows Registry Trust Record Modification",
entity page, dataset version ref-92d841a3c51a, updated 2023-06-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/295a59c1-7b79-4b47-a930-df12c15fc9c2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 295a59c1-7b79-4b47-a930-df12c15fc9c2, 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.