Do you have multiple AD sites?

๐Ÿ”’ Secure Bits ๐Ÿ’ก

๐——๐—ผ ๐˜†๐—ผ๐˜‚ ๐—ต๐—ฎ๐˜ƒ๐—ฒ ๐—บ๐˜‚๐—น๐˜๐—ถ๐—ฝ๐—น๐—ฒ ๐—”๐—— ๐˜€๐—ถ๐˜๐—ฒ๐˜€?

Most companies do. And that is a good thing – especially if you have multiple datacenters, branches, or locations and you want proper DC selection and replication control.

But there is ๐—ผ๐—ป๐—ฒ ๐˜€๐—บ๐—ฎ๐—น๐—น ๐—ฑ๐—ฒ๐˜๐—ฎ๐—ถ๐—น that many environments still run with:

โžก๏ธ Default intersite replication.

By default, Active Directory intersite replication is ๐—ป๐—ผ๐˜ ๐—ถ๐—ป๐˜€๐˜๐—ฎ๐—ป๐˜. And if you openย Active Directory Sites and Services, you quickly find the annoying part:

โš ๏ธ You ๐—ฐ๐—ฎ๐—ป๐—ป๐—ผ๐˜ set the replication interval lower thanย ๐Ÿญ๐Ÿฑ ๐—บ๐—ถ๐—ป๐˜‚๐˜๐—ฒ๐˜€ย in the GUI.

For many modern environments, that is not ideal. The network can usually handle faster replication, but admins still end up with the same questions:

โ–ช๏ธ โ€œHas it replicated yet?โ€

โ–ช๏ธ โ€œCan you see the change on your DC?โ€

โ–ช๏ธ โ€œLetโ€™s wait a few more minutesโ€ฆโ€

Annoying? ๐—ฌ๐—ฒ๐˜€.

๐Ÿšจ But there is also a ๐˜€๐—ฒ๐—ฐ๐˜‚๐—ฟ๐—ถ๐˜๐˜† ๐—ฎ๐—ป๐—ด๐—น๐—ฒ.

This replication behavior can create a condition where an attacker may abuse bad password attempt handling and PDC behavior to ๐—ฏ๐˜†๐—ฝ๐—ฎ๐˜€๐˜€ ๐—ฎ๐—ฐ๐—ฐ๐—ผ๐˜‚๐—ป๐˜ ๐—น๐—ผ๐—ฐ๐—ธ๐—ผ๐˜‚๐˜ย expectations across sites.

๐—œ ๐—ฒ๐˜…๐—ฝ๐—น๐—ฎ๐—ถ๐—ป ๐˜๐—ต๐—ถ๐˜€ exact finding in myย Windows Infrastructure Securityย course – and right now, my biggest discount event is almost ๐—ผ๐˜ƒ๐—ฒ๐—ฟ, so you can still get the ๐—ฐ๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ ๐—ณ๐—ฟ๐—ผ๐—บ $๐Ÿฒ๐Ÿฌย untilย June 21 (link in the comments).

๐—•๐˜‚๐˜ ๐˜๐—ต๐—ฒ ๐—ถ๐—บ๐—ฝ๐—ผ๐—ฟ๐˜๐—ฎ๐—ป๐˜ ๐—ฝ๐—ฎ๐—ฟ๐˜ ๐—ถ๐˜€ ๐˜๐—ต๐—ถ๐˜€:

โžก๏ธ You can make intersite replication behave like intrasite replication by enablingย change notificationย on the site link.

โŒ Not from the normal GUI.

โœ… But throughย ADSI Edit.

๐—ฃ๐—ฎ๐˜๐—ต: ๐˜ˆ๐˜‹๐˜š๐˜๐˜Œ๐˜ฅ๐˜ช๐˜ต.๐˜ฎ๐˜ด๐˜ค > ๐˜Š๐˜ฐ๐˜ฏ๐˜ง๐˜ช๐˜จ๐˜ถ๐˜ณ๐˜ข๐˜ต๐˜ช๐˜ฐ๐˜ฏ ๐˜ฑ๐˜ข๐˜ณ๐˜ต๐˜ช๐˜ต๐˜ช๐˜ฐ๐˜ฏ > ๐˜š๐˜ช๐˜ต๐˜ฆ๐˜ด > ๐˜๐˜ฏ๐˜ต๐˜ฆ๐˜ณ-๐˜š๐˜ช๐˜ต๐˜ฆ ๐˜›๐˜ณ๐˜ข๐˜ฏ๐˜ด๐˜ฑ๐˜ฐ๐˜ณ๐˜ต๐˜ด > ๐˜๐˜— > ๐˜‹๐˜Œ๐˜๐˜ˆ๐˜œ๐˜“๐˜›๐˜š๐˜๐˜›๐˜Œ๐˜“๐˜๐˜•๐˜’ > ๐˜ˆ๐˜ต๐˜ต๐˜ณ๐˜ช๐˜ฃ๐˜ถ๐˜ต๐˜ฆ ๐˜Œ๐˜ฅ๐˜ช๐˜ต๐˜ฐ๐˜ณ > ๐˜–๐˜ฑ๐˜ต๐˜ช๐˜ฐ๐˜ฏ๐˜ด = 1

That enables change notification for that site link.

๐—ฅ๐—ฒ๐˜€๐˜‚๐—น๐˜?

โœ… Faster replication

โœ… Less โ€œhas it replicated yet?โ€ waiting

โœ… Eliminated exposure to the lockout bypass scenario mentioned above

And no, this is not some shady unsupported trick. This configuration has been documented by Microsoft for years and I use it regularly in real environments.

๐——๐—ถ๐—ฑ ๐˜†๐—ผ๐˜‚ ๐—ธ๐—ป๐—ผ๐˜„ ๐—ฎ๐—ฏ๐—ผ๐˜‚๐˜ ๐˜๐—ต๐—ถ๐˜€ ๐˜€๐—ฒ๐˜๐˜๐—ถ๐—ป๐—ด?