githubEdit

sid-history-injection

The sidHistoryarrow-up-right attribute is used in migration scenarios. If a user in one domain is migrated to another domain, a new account is created in the second domain. The original user's SID will be added to the new user's SID history attribute, ensuring that the user can still access resources in the original domain.

SID history is intended to work across domains, but can work in the same domain. Using Mimikatz, an attacker can perform SID history injection and add an administrator account to the SID History attribute of an account they control. When logging in with this account, all of the SIDs associated with the account are added to the user's token.

If the SID of admin account is added to the SID history attribute of this account, this account will be able to perform DCSync, create a Golden Ticket or kerberos ticket-granting-ticket.

Last updated