Retro Walkthrough
Lab Info
Section titled “Lab Info”Lab Name: Retro
Difficulty: Easy
Platform: Vulnlab
Lab Overview
Section titled “Lab Overview”Retro [Easy] chains legacy services and misconfigurations into full domain compromise. We enumerate SMB and IPC$, find users through RID cycling, abuse a pre-created computer account, and exploit AD CS ESC1 to reach Domain Admin.
1. Initial Access & Enumeration
Section titled “1. Initial Access & Enumeration”1.1 Network Discovery with RustScan
Section titled “1.1 Network Discovery with RustScan”Start with a fast port scan to discover exposed services and hostnames.

- Notable services: LDAP, Kerberos, SMB
- Add discovered domain/controller entries to
/etc/hoststo ensure Kerberos name resolution
1.2 SMB Enumeration
Section titled “1.2 SMB Enumeration”Enumerate SMB shares (guest/anonymous) for readable content and configuration files.

- Discovered readable shares and a writable share
- Accessible
IPC$enables RID cycling for user enumeration.
1.3 RID Cycling (User Enumeration)
Section titled “1.3 RID Cycling (User Enumeration)”Use rpcclient/nxc to perform RID cycling and enumerate domain users:

- Users discovered:
trainee,jburley,HelpDesk,tblack - The
traineeuser matches artifacts in the SMB shares, giving us a lead for credential access.
2. Credential Access & Exploitation
Section titled “2. Credential Access & Exploitation”2.1 SMB Analysis as trainee
Section titled “2.1 SMB Analysis as trainee”Download and inspect files from the trainee share for credentials or hints.

- Found
Important.txt/ToDo.txtwith references to pre-created computer accounts and other clues

2.2 Abusing Pre-Created Computer Accounts
Section titled “2.2 Abusing Pre-Created Computer Accounts”The share notes point us to pre-created computer accounts with a legacy provisioning configuration. We test the candidate credentials, change the password for the controlled account with impacket-changepasswd, and collect domain data with nxc. A computer account being pre-created does not automatically make its password resettable.

3. Privilege Escalation via AD CS
Section titled “3. Privilege Escalation via AD CS”3.1 Certificate Template Enumeration & ESC1
Section titled “3.1 Certificate Template Enumeration & ESC1”We enumerate AD CS templates and ACLs for misconfigurations. One template has ESC1 (“Enrollee supplies subject”) and Client Authentication enabled.

- The template lets our controlled account request an authentication certificate with a supplied identity. Approval requirements and certificate mapping also matter. The successful authentication shown below confirms the path in this lab; certificate authentication and NTLM relay are distinct techniques.
Tools: certipy (https://github.com/ly4k/Certipy) automates AD CS enumeration and exploitation (ESC1–ESC16). Use it in authorized lab environments to locate vulnerable templates and request certificates.
Mitigations: restrict enrollment rights, require manager approval, limit Client Authentication EKU, and monitor certificate requests.

- Requested certificate for Administrator, extracted credentials/TGT, and obtained RC4/NTLM material

3.2 Shell as Administrator
Section titled “3.2 Shell as Administrator”
- Obtained Administrator shell and captured the final flag
Attack Summary
Section titled “Attack Summary”- Initial Access: Unauthenticated SMB enumeration and RID cycling revealed usernames
- Credential Access: Artifacts in SMB shares pointed to pre-created machine accounts
- Exploitation: Reset pre-created account password to gain machine account foothold
- Privilege Escalation: Exploited AD CS ESC1 misconfiguration to enroll a certificate and escalate to Domain Admin
Thanks to VulnLab for the lab environment.