From the course: Complete Guide to Penetration Testing
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Use CrackMapExec to access and enumerate AD
From the course: Complete Guide to Penetration Testing
Use CrackMapExec to access and enumerate AD
- [Instructor] Another tool we can use to enumerate and gain access to Active Directory is CrackMapExec. CrackMapExec can scan a subnet to identify access points using SSH, SMB, LDAP, WinRM, and M&MS SQL. When running an SMB scan across a subdomain without credentials, CrackMapExec can identify which targets are able to be accessed and identify the domain. We've already installed CrackMapExec in our Carly testing workstation. So let's run this across our local domain. CrackMapExec, and we'll use its SMB capability 192.168.1.0/24 across the whole subnet. Running this returns a number of entries, including non-domain systems, domain workstations, and 192 168 1 199, which is the domain controller for cybex.com. If we have a password hash, and we haven't been able to crack it, we can use CrackMapExec to access the domain using the hash. For example, we've extracted akatt42's password hash, so we can sign in using CrackMapExec smb 192.168.1.199, which is our domain controller, - u…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understand Active Directory's role in security4m 36s
-
(Locked)
What are Active Directory Domain Services?5m 45s
-
(Locked)
Interact with Active Directory at the command line2m 4s
-
(Locked)
Active Directory security audit1m 40s
-
(Locked)
Password spraying Active Directory2m 30s
-
(Locked)
Use CrackMapExec to access and enumerate AD2m 41s
-
(Locked)
Set the BloodHound loose6m 34s
-
(Locked)
What is Kerberos?2m 4s
-
(Locked)
Kerberos brute forcing attacks2m 56s
-
(Locked)
Carry out a Kerberos roasting2m
-
(Locked)
-
-
-
-
-