<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Sidhistory — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/sidhistory/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 28 May 2026 17:59:56 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/sidhistory/feed.xml" rel="self" type="application/rss+xml"/><item><title>Windows AD sIDHistory Attribute Modification Detection</title><link>https://feed.craftedsignal.io/briefs/2026-05-windows-ad-sid-history-addition/</link><pubDate>Thu, 28 May 2026 17:59:56 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-windows-ad-sid-history-addition/</guid><description>This analytic detects changes to the sIDHistory attribute of user or computer objects within the same domain using Windows Security Event Codes 4738 and 4742, which can be abused by adversaries to gain unauthorized access, maintain persistence, or escalate privileges by inheriting permissions from another account.</description><content:encoded><![CDATA[<p>The sIDHistory attribute in Active Directory is a legacy feature that allows users migrating between domains to retain access to resources in their old domain. Attackers can abuse this attribute to grant unauthorized access by injecting SIDs from highly privileged accounts into the sIDHistory of a compromised account. This injection allows the compromised account to inherit the permissions of the privileged account, effectively escalating privileges and potentially achieving domain dominance. This brief focuses on detecting modifications to the sIDHistory attribute within the same domain, which is often indicative of malicious activity, using Windows Security Event Codes 4738 and 4742. The activity allows for persistent access or privilege escalation within the domain, posing a severe security risk.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains initial access to a user account or computer on the domain. This could be achieved through phishing, credential theft, or exploiting a vulnerability on a domain-joined machine.</li>
<li>The attacker elevates their privileges on the compromised machine, often using local privilege escalation techniques like exploiting misconfigured services or vulnerable drivers.</li>
<li>The attacker uses tools like Mimikatz to obtain credentials for a domain account with sufficient privileges to modify Active Directory attributes.</li>
<li>The attacker modifies the sIDHistory attribute of a target account within the same domain, injecting the SID of a highly privileged account (e.g., Domain Admins). This is done using command-line tools or PowerShell scripts that interact with the Active Directory API.</li>
<li>The attacker authenticates to the domain with the target account. The Kerberos ticket generated for the target account now includes the injected SID in its authorization data.</li>
<li>The attacker accesses resources or performs actions that require the privileges associated with the injected SID. Because the Kerberos ticket contains the SID of the privileged account, the attacker is granted access.</li>
<li>The attacker maintains persistent access by ensuring the injected SID remains in the sIDHistory attribute, even after the initial compromise is remediated.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows attackers to escalate privileges, gain unauthorized access to sensitive resources, and establish persistent access within the Active Directory domain. This can lead to data breaches, service disruptions, and complete compromise of the domain infrastructure. The scope of impact is potentially domain-wide, affecting all resources and users managed by the compromised Active Directory.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable and monitor Windows Security Event Logs for Event Codes 4738 and 4742 to detect modifications to the sIDHistory attribute as described in the overview.</li>
<li>Deploy the Sigma rule <code>Detect AD sIDHistory Attribute Modification - Same Domain</code> to your SIEM and tune for your environment.</li>
<li>Review and restrict the accounts that have permissions to modify the sIDHistory attribute in Active Directory.</li>
<li>Investigate any detected sIDHistory modifications within the same domain to determine if they are legitimate or malicious. Use <code>Windows AD Same Domain SID History Addition</code> search to investigate potential malicious activity.</li>
<li>Regularly audit Active Directory for unauthorized changes to user and computer accounts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>sidhistory</category><category>active-directory</category><category>privilege-escalation</category><category>persistence</category><category>windows</category></item></channel></rss>