One of the most important permissions that one can give a user in Active Directory is the "Replicating Directory Changes All". This is an important permission because not only does this give us a better understand of how Active Directory works, but it can also help prevent against a common Active Directory Attack known as a DCSync Attack.
Before we talk about this permission, I think a great place to start is how Active Directory handles high availability and redundancy. Active Directory High Availability is not based on failover clustering, like Hyper-V, or log shipping, like SQL Server. Instead, it is based on the idea that Domain Controllers all offer the Active Directory Database to whoever needs it.
When you deploy at least 2 Domain Controllers for an Active Directory Domain, you gain redundancy and high availability by default for that domain. Because of this, these controllers need to be in sync. So, Active Directory uses the concept of "Replication" for this to happen.
What is Replication? Essentially, this means any changes that happen to one controller are also made on any other controller within that domain. There are two types of replications.
- Intrasite Replication
- Intersite Replication
- Within an Active Directory site, replication is based on pull replication. So, after being notified of changes, a Domain Controller will ask the Domain Controller with the changes what changes have been seen.
- This is set automatically on default.
- This is for Domain Controllers of a same site.
- This is focused on making sure changes are rapidly distributes
- Between Active Directory Sites, replication is schedule-based and between bridgehead servers.
- After the default schedule time-out, the Bridgehead Domain Controller for a site asks the Bridgehead DC in the other site for the changes it has seen.
- This is for Domain Controllers across different sites.
No comments:
Post a Comment