1200kmSECURITY RESEARCH

1200KM / sigma-rule

Windows Registry Trust Record Modification — Sigma Rule

Sigma rule 295a59c1-7b79-4b47-a930-df12c15fc9c2. Windows Registry Trust Record Modification — Sigma Rule. Alerts on trust record modification within the registry, indicating usage of macros

Rule metadata and linked tags

Author: Antonlovesdnb, Trent Liffick (@tliffick). Source status: test; severity: medium. Source dates: 2020-02-19 / 2023-06-21.

{
  "category": "registry_event",
  "product": "windows"
}

Pinned original Sigma rule · Detection Rule License 1.1

Source SHA-256: e0254dae57ac8f94aea57e2288e0ca8eeb88ec0e126a5c46628dfb61edc6aab4

Detection logic

Original source YAML. Source-tag agreement is not proof of complete semantic coverage. This rule has not been compiled for a SIEM backend or validated against live telemetry here.

title: Windows Registry Trust Record Modification
id: 295a59c1-7b79-4b47-a930-df12c15fc9c2
related:
    - id: a166f74e-bf44-409d-b9ba-ea4b2dd8b3cd
      type: similar
status: test
description: Alerts on trust record modification within the registry, indicating usage of macros
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
author: Antonlovesdnb, Trent Liffick (@tliffick)
date: 2020-02-19
modified: 2023-06-21
tags:
    - attack.initial-access
    - attack.t1566.001
logsource:
    category: registry_event
    product: windows
detection:
    selection:
        TargetObject|contains: '\Security\Trusted Documents\TrustRecords'
    condition: selection
falsepositives:
    - This will alert on legitimate macro usage as well, additional tuning is required
level: medium

Original YAML and metadata in JSON

False positives

  • This will alert on legitimate macro usage as well, additional tuning is required

Source references

Connected ecosystem references

Exact source-tagged techniques

Telemetry review

Read the original logsource above, then inspect the linked detection workspaces for technique-level sensor context. No per-rule telemetry equivalence is inferred.

Pinned research references. No browser attack runner, live simulation result or validated detector is asserted. Source mappings and validation limits are preserved. ATT&CK / Atomic provenance · Detection provenance.