Arasaka Walkthrough
Lab Info
Section titled “Lab Info”Lab Name: Arasaka
Difficulty: Easy
Author: Henry Lever
Lab Link: Arasaka
We use Kerberoasting and AD CS abuse to move from a low-privileged domain account to a privileged account. We check the account and permissions we have before each step.
Objective and Scope
Section titled “Objective and Scope”We start this Hack Smarter Red Team lab under an assumed breach scenario, with valid credentials for the standard domain user faraday.
Our goal is to find an attack path from this user to Domain Administrator.
1. Initial Access & Enumeration
Section titled “1. Initial Access & Enumeration”1.1 Network Discovery using RustScan
Section titled “1.1 Network Discovery using RustScan”I use RustScan to find exposed services and check whether the target is a Domain Controller.

- Several Active Directory ports are open. We can use LDAP to enumerate domain objects and SMB to validate credentials, enumerate shares, and gather domain information.

- The domain is
HACKSMARTER.LOCAL, and the DC is DC01.HACKSMARTER.LOCAL. We add both to/etc/hostsfor name resolution during Kerberos-based attacks.
1.2 Verifying the Breached Credentials
Section titled “1.2 Verifying the Breached Credentials”Before performing deeper enumeration, we can verify that the credentials for faraday work.

- The credentials work. We can use them for Active Directory enumeration.
1.3 Bloodhound Analysis
Section titled “1.3 Bloodhound Analysis”Dumping Active Directory Objects
With the breached credentials, we can collect Active Directory data using LDAP and ingest it for BloodHound analysis.


- The generated files are then moved from the temporary directory into the lab folder for ingestion into BloodHound.
1.4 Analyzing the Dumped Data
Section titled “1.4 Analyzing the Dumped Data”Mapping attack paths in BloodHound

- After importing the data into BloodHound, I analyze attack paths starting from the
faradayuser. BloodHound identifies a Kerberoastable service account namedatl.svc. - This means the account has a Service Principal Name configured and is vulnerable to Kerberoasting.
2. Kerberoasting
Section titled “2. Kerberoasting”2.1 Requesting the Kerberos Service Ticket
Section titled “2.1 Requesting the Kerberos Service Ticket”Using the valid credentials for faraday, I request Kerberos service tickets for SPN-enabled accounts.

- The Kerberos TGS hash is extracted and saved for offline cracking.
2.2 Password Cracking
Section titled “2.2 Password Cracking”We use Hashcat mode -m 13100 to crack the Kerberos TGS hash.


We crack the weak service account password using the rockyou wordlist.
- Username:
ALT.SVC@HACKSMARTER.LOCAL - Password:
babygirl1
3. Lateral Movement and Pivoting
Section titled “3. Lateral Movement and Pivoting”3.1 Identifying GenericAll Permissions
Section titled “3.1 Identifying GenericAll Permissions”
- Using BloodHound, we analyzed the attack path available to the
atl.svcaccount. BloodHound reveals thatatl.svchas GenericAll permissions over the useryorinobu.
With GenericAll, we can:
- Reset the user’s password.
- Modify servicePrincipalName (SPN).
- Modify userAccountControl.
- Add shadow credentials (msDS-KeyCredentialLink).
- Add the user to privileged groups if they control group membership elsewhere.
- Enable disabled accounts.
- Abuse certificate-based authentication (AD CS).
3.2 Resetting the Password for yorinobu
Section titled “3.2 Resetting the Password for yorinobu”The atl.svc user has GenericAll AD-DACL permissions over yorinobu, so we can reset the password and take over the account.

- The password reset worked. We can verify access to
yorinobu.
Verify Access:

- The authentication succeeds, confirming control over the
yorinobuaccount.
3.3 Identifying GenericWrite Permissions
Section titled “3.3 Identifying GenericWrite Permissions”BloodHound analysis shows that yorinobu has GenericWrite permissions over another user named soulkiller. This allows modification of attributes such as Service Principal Names.

3.4 Targeted Kerberoasting Attack
Section titled “3.4 Targeted Kerberoasting Attack”We perform a targeted Kerberoasting attack by adding an SPN to soulkiller and requesting a Kerberos TGS hash. We can then crack it offline to gain control of the account.

- We use the targetedKerberoast Python tool to modify Soulkiller’s SPN, request a service ticket, and save the hash for offline cracking.
3.5 Password Cracking
Section titled “3.5 Password Cracking”Since we are cracking a Kerberos service ticket, we need to use Hashcat mode -m 13100.


- The password was successfully cracked due to weak complexity.
- User:
Soulkiller.svc - Password:
MYpassword123#
- User:
Verify Access:

- The recovered credentials work!
4. Privilege Escalation
Section titled “4. Privilege Escalation”4.1 Attack Path Analysis for soulkiller
Section titled “4.1 Attack Path Analysis for soulkiller”
- The
soulkilleraccount description mentions Active Directory Certificate Services, so we enumerate AD CS next.
4.2 ADCS Enumeration
Section titled “4.2 ADCS Enumeration”
- We are able to enumerate Active Directory Certificate Services and dump the available certificate templates using
certipy-ad.
4.3 Analysing ADCS Template
Section titled “4.3 Analysing ADCS Template”Template Name : AI_TakeoverDisplay Name : AI_TakeoverCertificate Authorities : hacksmarter-DC01-CAEnabled : TrueClient Authentication : TrueEnrollment Agent : FalseAny Purpose : FalseEnrollee Supplies Subject : TrueCertificate Name Flag : EnrolleeSuppliesSubjectEnrollment Flag : IncludeSymmetricAlgorithms PublishToDsPrivate Key Flag : ExportableKeyExtended Key Usage : Client Authentication Secure Email Encrypting File SystemRequires Manager Approval : FalseRequires Key Archival : FalseAuthorized Signatures Required : 0Schema Version : 2Validity Period : 1 yearRenewal Period : 6 weeksMinimum RSA Key Length : 2048Template Created : 2025-09-21T16:16:36+00:00Template Last Modified : 2025-09-21T16:16:36+00:00Permissions Enrollment Permissions Enrollment Rights : HACKSMARTER.LOCAL\Soulkiller.svc HACKSMARTER.LOCAL\Domain Admins HACKSMARTER.LOCAL\Enterprise Admins Object Control Permissions Owner : HACKSMARTER.LOCAL\Administrator Full Control Principals : HACKSMARTER.LOCAL\Domain Admins HACKSMARTER.LOCAL\Enterprise Admins Write Owner Principals : HACKSMARTER.LOCAL\Domain Admins HACKSMARTER.LOCAL\Enterprise Admins Write Dacl Principals : HACKSMARTER.LOCAL\Domain Admins HACKSMARTER.LOCAL\Enterprise Admins Write Property Enroll : HACKSMARTER.LOCAL\Domain Admins HACKSMARTER.LOCAL\Enterprise Admins[+] User Enrollable Principals : HACKSMARTER.LOCAL\Soulkiller.svc[!] Vulnerabilities ESC1 : Enrollee supplies subject and template allows client authentication.- Based on the description mentioning AI on
soulkiller, I searched for a template with a related name and identified theAI_Takeovertemplate. This template allows thesoulkilleraccount to perform an ESC1 Active Directory Certificate Services attack. We can abuse this misconfiguration to escalate our privileges. - This misconfiguration allows any user with enrollment rights to request a certificate on behalf of any domain user, including highly privileged accounts.
4.4 Abusing AD CS ESC1 to Achieve Domain Administrator
Section titled “4.4 Abusing AD CS ESC1 to Achieve Domain Administrator”Using Certipy, we can request a certificate from the Certificate Authority while impersonating a high-privileged account named the_emperor.
Note: I first tried impersonating Administrator, but the request failed, possibly because of restrictions on that account. The same attack worked against the_emperor.
4.5 Requesting a Certificate for the_emperor.
Section titled “4.5 Requesting a Certificate for the_emperor.”Using the compromised Soulkiller.svc account, we can now request a certificate from the Certificate Authority while specifying the UPN of the_emperor.
This works because the AI_Takeover certificate template allows the enrollee to supply the subject name and supports client authentication, making it vulnerable to ESC1.

- The CA issues the certificate, and we save it with the private key as a PFX file.
4.6 Authenticating Using the Issued Certificate
Section titled “4.6 Authenticating Using the Issued Certificate”After obtaining the certificate, we can authenticate to the domain using the PFX file instead of a password. This allows us to request a Kerberos Ticket Granting Ticket as the_emperor.

- Authentication works. I can now access
the_emperorwithout its password. - We also obtain the_emperor’s HMAC-RC4 hash for Pass-the-Hash authentication.
4.7 Obtaining Root Flag
Section titled “4.7 Obtaining Root Flag”We connect with Evil-WinRM using the_emperor’s hash, access the Administrator desktop, and retrieve the root flag.



- We found and submitted the root flag!
5. Attack Summary
Section titled “5. Attack Summary”- Assumed breach starting with valid low-privileged domain user
faraday - Enumerated Active Directory using LDAP and BloodHound as
faraday - Identified and Kerberoasted service account
atl.svcdue to a weak password - Abused GenericAll permissions from
atl.svcto reset and take over useryorinobu - Used GenericWrite permissions from
yorinobuto perform targeted Kerberoasting onsoulkiller.svc - Cracked the Kerberos ticket and gained access to
soulkiller.svc - Discovered a misconfigured Active Directory Certificate Services template
- Abused ESC1 to request a certificate impersonating privileged user
the_emperor - Authenticated using the issued certificate and obtained Domain Administrator access
Thank you to Henry Lever and Hack Smarter Labs for creating an amazing lab.