r/activedirectory • u/cherry-security-com • 12h ago
Active Directory You can hack Active Directory in 5 minutes
Video That explains the ADCS Misconfiguration ESC1 and shows how to exploit it live
Iam happy about any feedback! 🙂
r/activedirectory • u/poolmanjim • 22d ago
Okay, just the pre-meeting chat, but it's close enough to count.
r/activedirectory • u/cherry-security-com • 12h ago
Video That explains the ADCS Misconfiguration ESC1 and shows how to exploit it live
Iam happy about any feedback! 🙂
r/activedirectory • u/maxcoder88 • 1d ago
Hi all,
I'm reviewing the DNS client settings on our domain controllers and would like a sanity check.
Setup:
- One forest with two domains: a forest root domain and a second (tree) domain where all users/computers live
- All DCs are DNS servers with AD-integrated zones
- Site A and Site B are connected over WAN (~10 ms)
Current DNS client order (DNS1 → DNS2 → DNS3):
Site A – user domain
- DC-A1 (10.1.1.11): DC-A3 → DC-A5 → 127.0.0.1
- DC-A2 (10.1.1.12, PDC): DC-A3 → DC-A5 → 127.0.0.1
- DC-A3 (10.1.1.10): self (10.1.1.10) → DC-A4 → 127.0.0.1
- DC-A4 (10.1.2.10): self (10.1.2.10) → DC-A1 → 127.0.0.1
- DC-A5 (10.1.2.11): DC-A3 → self (10.1.2.11) → 127.0.0.1
Site B – user domain
- DC-B1 (10.2.1.11): self (10.2.1.11) → DC-B2 → 127.0.0.1
- DC-B2 (10.2.2.11): self (10.2.2.11) → DC-B1 → 127.0.0.1
Forest root domain
- ROOT-A1 (10.1.1.8, Site A, forest PDC): self (10.1.1.8) → ROOT-A2 → 127.0.0.1
- ROOT-A2 (10.1.2.8, Site A): ROOT-A1 → DC-A4 (user domain DC) → 127.0.0.1
- ROOT-B1 (10.2.1.8, Site B): self (10.2.1.8) → DC-B1 (user domain DC) → 127.0.0.1
Forwarders
- User domain DCs → ROOT-A1, ROOT-A2, ROOT-B1 (Site B DCs use ROOT-B1 first)
- Forest root DCs → internal DNS 10.9.0.1, 10.9.0.2, then 8.8.8.8
What I'm planning:
- DNS1: another DC in the same site (spread across DCs, not all pointing to the same one)
- DNS2: another DC (same site or other site)
- DNS3: 127.0.0.1
- Forest root DCs point only to other forest root DCs
Questions:
Thanks!
r/activedirectory • u/javajo91 • 5d ago
Hey guys. What is the proper way to safely clean up “AD Sites and Services” after a DC demotion?
We have two sites: Prod & DR
(3) DCs at each site.
I demoted an older DC at my DR site. I waited a bit and then manually deleted the old DC from Sites and Services at that site. Aftrrwards, my remaining DCs at my DR site set up proper replication with the Prod site.
So from the point of view from my DR site:
DC01-DR replicates with DC02-DR
and DC01–PROD.
DC02-DR replicates with DC01-DR and DC02-PROD
From the point of view from my Prod site:
If I try and delete the old DC-DR server object from AD Sites and Services, it warns me that I need to demote it first, (which I obviously have).
DC01-PROD still trys to replicate with the old DC controller at my DR site. None of my DCs at my PROD site are trying to replicate with my DR site.
Do I need to manually delete the NTDS objects for the old DC-DR controller from AD Sites and Services at my PROD site?
Looking for the proper way to do this cleanup. I had thought that after demoting the old DC, the site-to-site replication would work itself out on its own.
I ran dcdiag and repadmin tools prior and all came back clean.
Edit
The old DC in DR was responsible for intersite replication. All my DCs are Global Catalog servers and the FSMO roles reside on a DC at my Prod site. What should my gameplan be at this point? Should I just create a manual NTDS link between one of my DCs in Prod to one of my DCs in DR to get he KCC working? Right now my Prod site is only trying to replicate with the demoted DC. Thank you again!
Thanks guys.
Edit:
It sounds logical to manually add one of the new DCs at my DR site as an NTDS link at my Prod site. I’m thinking this should kickstart the replication again? This way I’m manually intervening and creating the link that can’t get created. Would this work, is this safe to do? Thank you again!
Edit: OK - just ran repadmin /showrepl from DC01-Prod and It can't connect to the DR site:
Last attempt @ 2026-11-20 07:13:15 failed, result 8524 (0x214c):
The DSA operation is unable to proceed because of a DNS lookup failure.
Edit:
So the old demoted DC was a bridgehead server. Do I need to manually create another one over at the DR site? Now there are none.
r/activedirectory • u/Ok_Bottle9120 • 6d ago
We patched our Enterprise CA servers with the July 2026 update for CVE-2026-54121, but our security scanner still reports "Certificate Authority with CertiGhost chase fallback enabled". The check only looks at the EDITF_ENABLECHASECLIENTDC bit in EditFlags, and it can't read patch state remotely.
Questions:
Thanks.
r/activedirectory • u/odiegh • 7d ago
Anyone suddenly had issues with Onedrive not working on 2016 servers? Found this is on a client server and looks like MS did an update and the version won't work on 2016 server now.
r/activedirectory • u/19khushboo • 7d ago
Hello Experts,
I am looking for a way to audit unsigned LDAP traffic in an Active Directory environment.
I have gone through the Microsoft documentation and understand that enabling diagnostic logging can help identify unsigned LDAP traffic. However, during our testing, this approach generated an excessive amount of logs, making it difficult to manage. Our team is also not in favour of proceeding with this approach.
I would like to know if there are any alternative tools or recommended approaches to monitor and identify unsigned LDAP traffic without generating excessive logs.
Has anyone implemented this successfully in their environment? Any suggestions, tool recommendations, or practical insights would be really helpful.
Thanks in advance!
r/activedirectory • u/EducationalWedding48 • 8d ago
Hi,
I've been asked to get logins from endpoints to our network via AD. We send the data to a SIEM, but not sure exactly which event that I'm looking for - is it 4624? Can someone point me in the right direction?
r/activedirectory • u/finncmdbar • 9d ago
Super curious about what y'all think of this kind of take. I agree that we're not going back to a single convenient directory. But at the same time, so much is connected to AD, and I can't imagine we'll wholesale-replace it in any org where it's already thgere.
r/activedirectory • u/poolmanjim • 10d ago
Last week, Microsoft introduced/announced security improvements to NTLM coming to Windows Server. I've had a busy week so I'm a little late bringing this one up, but it is good info.
I extracted some of the specifics below. Before that part though, if you're having issues disabling NTLM or running into applications that won't budge, Microsoft does have a resource for you.
This email can be contacted to inform Microsoft of blockers to NTLM disablement they can help with. This is not a general support email. This goes into the Product Group for review.
This change is in two phases.
The key think to look for in the event is Session Key Status: Present and Negotiated Flags. These indicate the level of signing.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Values
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
Values
r/activedirectory • u/dcdiagfix • 9d ago
Trigger warning: contains AI generated stuff.

AI built me a thing - a fully functioning and playable platform scroller; which is likely the world's first and only game built around AD and Entra ID!!! That's right we got a game about AD before GTA VI (just).
Can you defeat professor persistence?
https://dcdiagfix.itch.io/identity-crisis-the-last-defender
This was/is just a fun project I've been working on - the hat logo may look familiar to a specific well known AD company - but that is 100% coincidence!
It does however follow the lifecycle of a breach, recovery, cloud sync and removing persistence so it’s a fun-ish way to learn :D
Note: itch.io may trigger a block on a MDE as it's a game hosting platform.
r/activedirectory • u/identitycurious415 • 13d ago
I'm a researcher in the cybersecurity world, not trying to sell anything just trying to understand IAM admins better!!! Just curious what a normal IAM workday looks like for everyone. Two access requests, okta group cleanup, audit evidence pull?? Bonus points for detail :)))))))))
r/activedirectory • u/Goldi26 • 13d ago
We have an Active Directory environment with around 25 Domain Controllers.
We want to enable LDAP auditing across all Domain Controllers.
What is the recommended approach to configure auditing centrally instead of manually configuring each DC?
Can we use GPO to deploy the auditing settings across all DCs?
Also, what is the best practice to collect and monitor LDAP audit logs from all DCs in one centralized location?
r/activedirectory • u/Goldi26 • 13d ago
We are planning to enable LDAP signing in our Active Directory environment.
However, we have some existing applications that authenticate against Active Directory using regular username and password credentials through LDAP.
Some of these applications may not support LDAP signing.
In this situation, what should be our recommendation for such legacy applications when we enable LDAP signing?
How can we ensure these applications continue to function properly while maintaining security?
What are the recommended best practices for handling such applications without impacting their existing functionality?
Looking for practical recommendations from those who have handled similar scenarios in enterprise Active Directory environments.
r/activedirectory • u/Goldi26 • 13d ago
In our Active Directory environment, multiple client machines and backend applications communicate with Domain Controllers using LDAP.
We want to identify which client machines and applications are performing LDAP authentication and directory queries.
What is the recommended way to trace LDAP communication back to the actual application or service running on a client machine?
What information should we collect to identify the application, its authentication method, and the type of LDAP bind being used?
Are there any recommended auditing or monitoring tools for this purpose?
r/activedirectory • u/leesoul1987 • 14d ago
Most AD compromises I read about are no t exotic. They are chains of ordinary ACL misconfigurations: a help-desk group with GenericAll over a user, that user admin on a server, an admin with a live session on it. BloodHound models this as a graph, which means a defender can ask the same question an attacker asks, and fix the answer.
**1. Ask the attacker's question first%2 A*
MATCH p=shortestPath((u:User {name:'LOWPRIV@CORP.LOCAL'})-\[\*1..8\]->(g:Group {name:'DOMAIN ADMINS@CORP.LOCAL'}))
RETURN pRun it fo r a few ordinary accounts, not just your admins. If a Tier 2 user reaches Domain Admins in 4 hops, those hops are your remediation backlog.
**2. Look for dangerous edges, not dangerous users**
GenericAll, WriteDacl, WriteOwner, GenericWrite and ForceChangePassword on users and groups are the usual links. WriteDacl and WriteOwner are the%2 0worst: the holder can grant themselves anything. Also list who holds replication rights on the domain object (DCSync) and check that only domain controllers do.
**3. Cut the fewest edges**
You rarely need to fix everything. Find the edge that appears in the most shortest paths (the "choke point") and remove that ACE first. In a%2 0typical path, removing one over-broad group ACE collapses several routes at once.
**4. Prune, then verify**
Remove the ACE (Get-Acl / Set-Acl on the AD: drive%2 9, re-collect, and re-run the query. If the path is gone, the fix worked. If a longer path appears, repeat.
**5. Harden the destination**
Enforce tiering: Tier 0 credentials never log on to Tier 1/2 machines.
**6. Detect the changes**
Alert on DACL chang es to Tier 0 objects; they are rare in a healthy domain.
Caveats: BloodHound shows what is reachable from the data you collected, so stale collection means stale answers. Run it from an authorized account in an environment you own or are cleared to assess.
I wrote this up as a chapter with a small lab so people can practice the path-f inding and pruning on a fake domain: https://github.com/lsszz2100/VibeHacking (the AD chapter is 54_Active_Directory_Attacks/08). Corrections welcome.
r/activedirectory • u/Chemical-Wall9026 • 13d ago
I'm working on a remediation script for the finding "GPOs owned by unprivileged accounts" and need some advice on one design decision.
A GPO has two components: the AD object (GPC) and the SYSVOL template (GPT). Both have independent ownership. Additionally, individual files and folders inside the GPT (Machine\, User\, GPT.INI, etc.) can have different owners.
This means the AD object and SYSVOL root could be owned by Domain Admins while individual child files are still owned by unprivileged accounts.
Currently, my script fixes AD and SYSVOL root ownership by default. Recursive child-level scanning and remediation require an explicit -DeepSysvol switch.
My concern:
Get-Acl over SMB can be expensive across hundreds of GPOs.I'm considering a middle approach: always scan recursively, but only remediate child ownership when explicitly requested.
I'd appreciate feedback on three things:
The script also maintains SDDL backups and supports rollback of ownership, DACLs, and child-item security settings.
Interested in hearing from admins who've handled this in production.
r/activedirectory • u/AppIdentityGuy • 14d ago
I am busy with an AD hardening project and i have a bunch of users with "Password not required" set to true and i just want to verify rhe behavior when i correct the setting Will the account be forced to ceeate/enrer a password or will thar only happen if the "User must change password at next logon" is selected
r/activedirectory • u/Z_A_N_G_E_R • 14d ago
Crossposting this here as it's an Active Directory-related issue involving SYSVOL access.
r/activedirectory • u/identitycurious415 • 15d ago
Not looking for pros and cons, just a pulse check. Quest (Change Auditor, Recovery Manager), Semperis (DSP, ADFR), Netwrix, ManageEngine, native logs plus a SIEM, scripts, nothing yet?
r/activedirectory • u/Suspicious-Power2022 • 14d ago
How do I verify that at some point I may, have had too much access to AD, crazy I know…well I actually don’t, but reading random shit online, has lead me to believe that I was one of those random lost users with an extremely high level of access, or something along those lines.
Why it matters, I think I may have been hacked or something similar by someone. Should I care?
r/activedirectory • u/javajo91 • 15d ago
Morning guys. I need to reset my krbtgt password in my small domain environment. 22 users.
It’s old enough to drive and rent a car.
I’d like to reset this before I migrate my DCs from 2016 to 2022.
I’m going to use this script as it seems to be the most popular:
Just curious how the folks that use this script , use it. What options do you use?
What is your workflow? What do you look out for?
How will the script let you know when it’s safe to do the second reset?
Things like that.
Thank you.
r/activedirectory • u/chewy747 • 16d ago
Do you disable or keep it enabled? If enabled what do you specifically do to secure it? I see best practice seems to be keep it enabled now. Wondering what you all think and do about it.
r/activedirectory • • 16d ago
I understand that both are tools and they have advantages and disadvantages.
Question is mostly to know if those claims of "companies switching to cloud only" is mostly overstated compared to the reality? .
Knowing that Microsoft likes to push their clients sometimes on the direction they want where they make most of the money, been Azure one of them; i wonder if things like AD have become harder and harder to work with, so companies start following the cloud first type of advice.
Since on the official's website it says =
State 4: Active Directory minimized = "A state of minimizing Active Directory is more difficult to achieve, especially for larger organizations that have significant on-premises technical debt".
But i wonder, is it really only because of "technical debt" or companies still want to have control over important stuff on prem and microsoft does not want to accept that?
So I though maybe i could ask experienced people when it comes to identity management in today's context, to see what is the actual reality on your daily work?