
The Tale of Active Directory Domain Sabotage: Architect Plants DNS-Killing Task on Departing Branch Controllers
A detailed case study from a former Windows Server 2003 Active Directory environment describes how an architect embedded a monitoring script on branch domain controllers to detect prolonged loss of VPN connectivity to headquarters. The script incremented a hidden registry counter each time the head office IP failed to respond and triggered a net stop dns command once the threshold was exceeded, effectively collapsing the AD domain for the departing branches. The architect later cleaned up traces by reassigning tasks and ownership to the SYSTEM account. A network engineer eventually noticed the repeated DNS service stops, restarted the service multiple times, and eventually contacted the architect. The story illustrates both the critical dependency of Active Directory on DNS and the inherent risk posed by highly privileged administrators who can weaponize that dependency. Two main conclusions are drawn: DNS failure immediately renders an AD domain unusable, and every domain administrator represents the primary threat to domain integrity.
HabrAug 18, 2026Translated from Russian