Active Directory Things (@ADAllTheTime) header
Active Directory Things (@ADAllTheTime) profile picture

Microsoft Certified Master (MCM): Active Directory. Previously AD field engineer at Microsoft. Notes from the field & the lab (@duff22b)

Joined January 2025
Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)Photo by Active Directory Things (@ADAllTheTime)
Active Directory Things retweeted
BadSuccessor is a new AD attack primitive that abuses dMSAs, allowing an attacker who can modify or create a dMSA to escalate privileges and take over the forest. Check out @JimSycurity's latest blog post to understand how you can mitigate risk. ghst.ly/4kXTLd9
2
105
2
231
27,163
Microsoft have issued a 'consider disabling this service' recommendation which affects Active Directory: "We're advising all enterprise customers who have deployed Windows Server OS (Windows Server 2016, Windows Server 2019, Windows Server 2022, and all intermediate releases therein) either as standalone machines or as part of ADDS to evaluate disabling the STS feature on those machines. This recommendation to disable STS applies even if you have never faced any prior issues with the STS feature." learn.microsoft.com/en-us/tr…
3
58
5
228
40,549
Here's a quirky (but sensible) one to be aware of for troubleshooting in-house apps that use AD: With AD on server 2025 the default is to only allow LDAP to add, search, and modify operations that involve confidential attributes WHEN THE CONNECTION IS ENCRYPTED. More changes here: learn.microsoft.com/en-us/wi…
16
58
5,391
If you need to simulate the windows domain controller locator API (DSGETDCNAME) on a client to see which DC they would be talking to, or which site they believe they are in, use nltest: nltest /dsgetdc:yourdomain.local
1
21
129
8,072
We know that "ipconfig /displaydns" can be used to inspect the DNS cache on a windows client It's especially useful for AD troubleshooting though. Example: we can understand why a client might still be talking to a DC that was moved to a new site. You can see that this guy was looking for _ldap in Sydney but that server now resides in LA; the cached entry just hasn't expired.
3
34
267
21,645
If you need to pinpoint which DC made the change to an AD object/attribute you can use: repadmin /showobjmeta dcname objectDN It's a handy place to start; then go inspect the event logs for that DC to get more detail on whatever you're trying to find out.
43
205
10,537
AD uses "res" (reserved space) files: edbres00001.jrs & edbres00002.jrs to deliberately take space on the disk in case it unexpectantly fills up. AD can delete the res files in an emergency, free the little bit of space and safely commit transactions in flight to disk.
1
9
99
6,964
An interesting approach a customer showed me was to take that further, manually, on all servers. Keep a 1GB file on the disk for a similar unlikely emergency; remove it if you miss (ignore) whatever alerting you have going off and then fix the problem whichever way you see fit.
3
9
932
Active Directory Things retweeted
OPINION + METHODS: ACTIVE DIRECTORY MIGRATION+ CHECKLISTS! ON PAPER! Prepping for a cut-over is never complete ... at least it seems that way. We have extensive migration check lists that we've built since my BackOffice Small Business Server (NT 4/4.5) days. Yeah, things have changed, but keeping meticulous change logs/notes is particularly important to a 100% successful migration so we continue to do so. Our checklists and their notes get scanned into a PDF file with an OCR process to make sure they are searchable. The checklist forms are built with Excel and reside in SharePoint with versioning enabled plus a required check-out and then check-in. Our SharePoint instance has been configured to search inside .PDF files. The migration processes are mostly in PowerShell. We use VS Code to manage that repository along with Git on-premises to keep track. How we set up VS Code and Git: mpecsinc.com/powershell-para… Once our client has signed-off on the work completed they get a copy of the scanned notes so that they can see our process steps as completed. Yes, they are legible. ;-) We tried using OneNote on a Surface Pro for keeping our checklists and writing digitized notes. But, in the end paper, pens, and pencils are always there. Plus, once scanned are the notes are permanent. Our checklists cover: * ADDS, DNS, DHCP, DFS-N * Exchange * SQL * SharePoint * LoBs - Apps/File/Print * Remote Desktop Services - All Roles + UPDs ** GPO RSS Publishing And so much more. [:-) My Small Business Server experience is absolutely priceless. :-D Have a great weekend everyone! Acronyms * ADDS = Active Directory Domain Services * DNS = Doman Name System * DHCP = Dynamic Host Configuration Protocol * GPO = Group Policy Object * UPD = Remote Desktop User Profile Disk * LoB = Line of Business (apps/services) * OCR = Optical Character Recognition
1
13
73
7,078
The "Branch Office Deployment Guide" was gold for learning active directory. Step by Step docs to build a complex lab and replication topology including things that you might not see in many AD environments. Its gone now. But there is a backup here: bodg.z5.web.core.windows.net…
4
41
197
9,438
Active Directory Things retweeted
SharpADWS: Active Directory reconnaissance and exploitation for Red Teams meterpreter.org/sharpadws-ac…
1
37
125
6,234
Active Directory Things retweeted
Here is a new custom administrative template (ADMX) for editing and auditing Microsoft Defender Attack Surface Reduction (ASR) policies, without being exposed to the rule GUIDs. github.com/MichaelGrafnetter…
3
15
2
95
8,178
Active Directory Things retweeted
Together with @pavelfor, we have created the ultimate guide and tooling for configuring host-based firewalls on #ActiveDirectory domain controllers in enterprise environments. Blocks most remote command execution and authentication coercion techniques. firewall.dsinternals.com
7
70
3
228
19,771
Active Directory Things retweeted
Domain Password Spray from a NON Domain joined box (doesn't matter if Win or Lin) what do you use?
14
12
109
21,865