7MS #506: Tales of Pentest Pwnage - Part 32
- Run PingCastle
- Do the SharpHound/BloodHound dumps
- Run the DHCP poisoning module of Responder
- Check the ms-DS-MachineAccountQuota value in the domain - if its at the default (10), then any user can add machines to the domain.
If I was on a pentest, and the DC was called 7MS-DC01, and I could join a machine to the domain (which as a reminder - ANY user can do if the machine quota value is at the default value of 10), I could rename that machine account to be 7MS-DC01 without the dollar sign, request a TGT for the domain controller's account, then restore the machine name back to what it was before. Now, because the TGT is stored in memory, we can use the S4U2self Kerberos extension to request a service ticket using a domain admin account. And because the original ticket belong to the 7MS-DC01 machine name which now doesn't exist, Kerberos will look for 7MS-DC01$ and will issue the ticket for the requested service.
I might've butchered that explanation mom, but I tried my best!
TLDL/TLDR: find and exploit these unpatched domain controllers with noPac. Enjoy!
You May Also Like

Theo - t3․gg
Theo - t3․gg

Jak Piggott
Jak Piggott

The AI Daily Brief: Artificial Intelligence News and Analysis
Nathaniel Whittemore

Proof of Law
Quantum Lex

AI News Daily
brief.news

Artificial Intelligence Masterclass
AI Masterclass

Tech Brew Ride Home
Morning Brew

The Vergecast
The Verge

The Rollup
Where digital assets and finance converge. Hosted by Andy and Robbie.
Late Night Linux Family All Episodes
The Late Night Linux Family
Community discussion