Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: splunk-security-content-5fde0b7c-df7a-40b1-9b3a-294c00f0289d
name: Windows AD Same Domain SID History Addition
description: The following analytic detects changes to the sIDHistory attribute of
user or computer objects within the same domain. It leverages Windows Security Event
Codes 4738 and 4742 to identify when the sIDHistory attribute is modified. This
activity is significant because the sIDHistory attribute can be abused by adversaries
to grant unauthorized access by inheriting permissions from another account. If
confirmed malicious, this could allow attackers to maintain persistent access or
escalate privileges within the domain, posing a severe security risk.
severity: medium
enabled: false
tags:
mitre:
- T1134.005
categories:
- endpoint
references:
- https://adsecurity.org/?p=1772
- https://learn.microsoft.com/en-us/windows/win32/adschema/a-sidhistory?redirectedfrom=MSDN
- https://learn.microsoft.com/en-us/defender-for-identity/security-assessment-unsecure-sid-history-attribute
- https://book.hacktricks.xyz/windows-hardening/active-directory-methodology/sid-history-injection
logsource:
product: splunk
detection:
splunk_spl: '`wineventlog_security` (EventCode=4742 OR EventCode=4738) NOT SidHistory
IN ("%%1793", -) | rex field=SidHistory "(^%{|^)(?P<SidHistoryMatch>.*)(\-|\\\)"
| rex field=TargetSid "^(?P<TargetSidmatch>.*)(\-|\\\)" | where SidHistoryMatch=TargetSidmatch
OR SidHistoryMatch=TargetDomainName | rename TargetSid as userSid, TargetDomainName
as userDomainName | table _time action status host user userSid userDomainName
SidHistory Logon_ID src_user dest | `windows_ad_same_domain_sid_history_addition_filter`'
provenance:
source: splunk/security_content
source_id: 5fde0b7c-df7a-40b1-9b3a-294c00f0289d
source_commit: 4d4c7ee
license: Apache-2.0
license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
imported_at: '2026-05-04'
imported_by: splunk_importer
upstream_path: detections/endpoint/windows_ad_same_domain_sid_history_addition.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema