Skip to content

Arasaka Walkthrough

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.

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.


I use RustScan to find exposed services and check whether the target is a Domain Controller.

image.png

  • 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.

image.png

  • The domain is HACKSMARTER.LOCAL, and the DC is DC01.HACKSMARTER.LOCAL. We add both to /etc/hosts for name resolution during Kerberos-based attacks.

Before performing deeper enumeration, we can verify that the credentials for faraday work.

image.png

  • The credentials work. We can use them for Active Directory enumeration.

Dumping Active Directory Objects

With the breached credentials, we can collect Active Directory data using LDAP and ingest it for BloodHound analysis.

image.png

image.png

  • The generated files are then moved from the temporary directory into the lab folder for ingestion into BloodHound.

Mapping attack paths in BloodHound

image.png

  • After importing the data into BloodHound, I analyze attack paths starting from the faraday user. BloodHound identifies a Kerberoastable service account named atl.svc.
  • This means the account has a Service Principal Name configured and is vulnerable to 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.

image.png

  • The Kerberos TGS hash is extracted and saved for offline cracking.

We use Hashcat mode -m 13100 to crack the Kerberos TGS hash.

image.png

image.png

We crack the weak service account password using the rockyou wordlist.

  • Username: ALT.SVC@HACKSMARTER.LOCAL
  • Password: babygirl1

image.png

  • Using BloodHound, we analyzed the attack path available to the atl.svc account. BloodHound reveals that atl.svc has GenericAll permissions over the user yorinobu.

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).

The atl.svc user has GenericAll AD-DACL permissions over yorinobu, so we can reset the password and take over the account.

image.png

  • The password reset worked. We can verify access to yorinobu.

Verify Access:

image.png

  • The authentication succeeds, confirming control over the yorinobu account.

BloodHound analysis shows that yorinobu has GenericWrite permissions over another user named soulkiller. This allows modification of attributes such as Service Principal Names.

image.png

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.

image.png

  • We use the targetedKerberoast Python tool to modify Soulkiller’s SPN, request a service ticket, and save the hash for offline cracking.

Since we are cracking a Kerberos service ticket, we need to use Hashcat mode -m 13100.

image.png

image.png

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

Verify Access:

image.png

  • The recovered credentials work!

image.png

  • The soulkiller account description mentions Active Directory Certificate Services, so we enumerate AD CS next.

image.png

  • We are able to enumerate Active Directory Certificate Services and dump the available certificate templates using certipy-ad.
Output
Template Name : AI_Takeover
Display Name : AI_Takeover
Certificate Authorities : hacksmarter-DC01-CA
Enabled : True
Client Authentication : True
Enrollment Agent : False
Any Purpose : False
Enrollee Supplies Subject : True
Certificate Name Flag : EnrolleeSuppliesSubject
Enrollment Flag : IncludeSymmetricAlgorithms
PublishToDs
Private Key Flag : ExportableKey
Extended Key Usage : Client Authentication
Secure Email
Encrypting File System
Requires Manager Approval : False
Requires Key Archival : False
Authorized Signatures Required : 0
Schema Version : 2
Validity Period : 1 year
Renewal Period : 6 weeks
Minimum RSA Key Length : 2048
Template Created : 2025-09-21T16:16:36+00:00
Template Last Modified : 2025-09-21T16:16:36+00:00
Permissions
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 the AI_Takeover template. This template allows the soulkiller account 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.

image.png

  • 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.

image.png

  • Authentication works. I can now access the_emperor without its password.
  • We also obtain the_emperor’s HMAC-RC4 hash for Pass-the-Hash authentication.

We connect with Evil-WinRM using the_emperor’s hash, access the Administrator desktop, and retrieve the root flag.

image.png

image.png

image.png

  • We found and submitted the root flag!

  • 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.svc due to a weak password
  • Abused GenericAll permissions from atl.svc to reset and take over user yorinobu
  • Used GenericWrite permissions from yorinobu to perform targeted Kerberoasting on soulkiller.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.