Sigma rule: Addition of SID History to Active Directory Object

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e2a41959b244, updated 2017-02-19T00:00:00.000Z.

Rule

Title
Addition of SID History to Active Directory Object
Status
stable
Level
medium
Author
Thomas Patzke, @atc_project (improvements)
Date
2017-02-19
File
rules/windows/builtin/security/win_security_susp_add_sid_history.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

An attacker can use the SID history attribute to gain additional privileges.

Log source

product
windows
service
security

Detection

selection1:
    EventID:
        - 4765
        - 4766
selection2:
    EventID: 4738
selection3:
    SidHistory:
        - '-'
        - '%%1793'
filter_null:
    SidHistory:
condition: selection1 or (selection2 and not selection3 and not filter_null)

False positives (as the rule lists them)

  • Migration of an account into a new domain

Tags

  • attack.persistence
  • attack.privilege-escalation
  • attack.stealth
  • attack.t1134.005

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/windows/builtin/security/win_security_susp_add_sid_history.yml

Sources and licences

  • SigmaHQ

    "Addition of SID History to Active Directory Object" by Thomas Patzke, @atc_project (improvements) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_susp_add_sid_history.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Addition of SID History to Active Directory Object",
entity page, dataset version ref-e2a41959b244, updated 2017-02-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/2632954e-db1c-49cb-9936-67d1ef1d17d2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 2632954e-db1c-49cb-9936-67d1ef1d17d2, 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.