December 3, 2026
Arasaka: From a User to Full Domain Compromise
Hack Smarter Labs Β· Writeup

By Cyberologist
12 min read
Introduction
Arasaka is a Cyberpunk 2077-themed easy rated Active Directory lab on Hack Smarter Labs, and the box earns its theme honestly. Nearly every account name is a character from that universe: Goro, Yorinobu, Hanako, Saburo Arasaka as the_emperor, Silverhand, Soulkiller. None of that changes the methodology. A domain controller doesn't care what its usernames are called.
This is an assumed breach scenario. You don't start from zero. You're handed one valid credential for a standard domain user (faraday:hacksmarter123 ) and your job is to escalate all the way to Domain Admin.
This writeup walks the full chain from first contact to Domain Admin, with the reasoning behind each step, not just the commands. Where something failed, that's included too, since knowing what doesn't work is as much a part of the methodology as knowing what does.
So buckle up. We're going deep into Active Directory, Kerberoasting, ACL abuse, Shadow Credentials, and Active Directory Certificate Services (ADCS) exploitation. By the end of this, you'll see exactly how a single compromised domain user can become a Domain Admin.
Let's go.
Attack Chain TL;DR (spoilers ahead)
faraday β Kerberoast alt.svc β crack babygirl1 β DACL write on Yorinobu β reset password β WinRM β Shadow Credentials on Soulkiller.svc β ESC1 cert as Administrator β LDAP shell β reset Admin password β root.txt β
[Step 1] Recon: Know Your Target Before You Touch It
First rule of pentesting: you don't fire blindly. Before you try to exploit anything, you need to understand what you're dealing with. Recon is not optional. It's the foundation everything else is built on.
We know we're looking at an IP: 10.1.21.83. Let's find out what's running.
sudo nmap -sS -A -T4 -p- 10.1.21.83sudo nmap -sS -A -T4 -p- 10.1.21.83
What did we find?
Look at the ports:
- Port 53 (DNS)
- Port 88 (Kerberos)
- Port 135, 139, 445 (RPC, NetBIOS, SMB)
- Port 389, 636, 3268, 3269 (LDAP / LDAPS)
- Port 3389 (RDP)
- Port 5985 (WinRM)
Ask yourself: what does this combination of ports tell me?
This is a Domain Controller. Full stop. When you see Kerberos (88) + LDAP (389) + SMB (445) on the same box, that's not a web server or a workstation. That's the crown jewel of the Active Directory environment. Everything flows through this machine like authentication, group policies, DNS, certificates etc..
Nmap even confirmed it for us:
DNS_Domain_Name: hacksmarter.localDNS_Computer_Name: DC01.hacksmarter.localProduct_Version: 10.0.20348(Windows Server 2022)
Note that WinRM is open on port 5985. File that away. WinRM is what evil-winrm uses to give us a shell. If we can get credentials for an account that's in the Remote Management Users group, we're in.
Question: "What's the most privileged service running on this machine, and what does that tell me about the attack surface?"
Answer: Everything. This DC is the brain. Own the DC, own the domain.
[Step 2] Initial Foothold: Squeeze Every Drop from Your Creds
We have faraday:hacksmarter123. This is a standard domain user. No local admin, no special groups. But in Active Directory, even the most boring user account is a goldmine of information. Why? Because Active Directory is designed to be readable by all authenticated users. That's not a bug, it's by design.
Think of it like this: you have a visitor badge at a corporate campus. You can't get into the server room, but you can walk around the lobby, read the directory board, and see who's on which floor.
Firstly, verify the credentials and enumerate SMB shares:
netexec smb 10.1.21.83 -u "faraday" -p "hacksmarter123" --sharesnetexec smb 10.1.21.83 -u "faraday" -p "hacksmarter123" --shares
What came back?
ADMIN$: no access (expected, we're a standard user)C$: no access (expected)IPC$: READ (this is the inter-process communication share; always readable by authenticated users)NETLOGON: READSYSVOL: READ
Nothing here..
Now enumerate users:
netexec smb 10.1.21.83 -u "faraday" -p "hacksmarter123" -d "hacksmarter.local" --usersnetexec smb 10.1.21.83 -u "faraday" -p "hacksmarter123" -d "hacksmarter.local" --users
And boom! We get a full user list. 15 accounts.
Ask yourself: "Why do some accounts have descriptions and others don't? What does the description 'Certificate management' tell me about what that account might have access to?"
And "What's special about service accounts in AD? What attack might apply specifically to them?"
Hold that thought. We're about to Kerberoast.
[Step 3] Kerberoasting: Making AD Crack Itself
Okay. We spotted service accounts. Time to talk about Kerberoasting β one of the most beautifully elegant attacks in the AD playbook.
The concept:
In Active Directory, service accounts often have something called a Service Principal Name (SPN). This is basically AD's way of saying "Hey, this account runs a service that clients need to authenticate to." When a domain user wants to connect to that service, they ask the Domain Controller for a Ticket Granting Service (TGS) ticket encrypted with the service account's password hash.
Here's the kicker: any authenticated domain user can request this ticket. You don't need any special permissions. And once you have the ticket, you can take it offline and crack it with a wordlist.
It's like the bank handing every customer a locked box that contains the manager's password, encrypted with that password. You just need a good lockpick set (wordlist) and time.
Find accounts with SPNs:
GetUserSPNs.py -dc-ip 10.1.21.83 hacksmarter.local/faraday:'hacksmarter123'GetUserSPNs.py -dc-ip 10.1.21.83 hacksmarter.local/faraday:'hacksmarter123'
Result: alt.svc has an SPN β AI/blackwall.hacksmarter.local
"Why is this significant?"
Because alt.svc is a user account (not a computer account) with an SPN. Human-managed service account passwords are almost always weaker than machine-generated ones. This is our target.
Request the TGS hash:
GetUserSPNs.py -dc-ip 10.1.21.83 hacksmarter.local/faraday:'hacksmarter123' -requestGetUserSPNs.py -dc-ip 10.1.21.83 hacksmarter.local/faraday:'hacksmarter123' -request
We get a massive blob of data starting with $krb5tgs$23$*alt.svc...
That's the TGS hash. Save it to a file:
nano alt_svc.hash
# paste the hash in and savenano alt_svc.hash
# paste the hash in and saveCrack it offline:
john --wordlist=/usr/share/wordlists/rockyou.txt alt_svc.hashjohn --wordlist=/usr/share/wordlists/rockyou.txt alt_svc.hash
And John the Ripper does its thing. Within seconds:
babygirl1
That's it. That's the password. alt.svc:babygirl1.
The lesson here: Service accounts with weak passwords are a death sentence in AD. This is why security teams should enforce strong, randomly-generated passwords for service accounts or better yet, use Group Managed Service Accounts (gMSAs) which auto-rotate.
Question: What if the password wasn't in rockyou.txt? Answer: We'd try other wordlists, rules-based cracking with hashcat, or move on to find another attack path. Kerberoasting is about probability. Most environments have at least one weak service account password.
[Step 4] Enumerating with alt.svc: Dead Ends and Golden Finds
We have alt.svc:babygirl1. Now what?
This is where a lot of people make a mistake. They go straight for the obvious attack and give up when it fails. Real pentesting is about systematically mapping what you can and can't do, then pivoting.
Attempt 1: Can we dump domain credentials (DCSync)?
secretsdump.py -dc-ip 10.1.21.83 'hacksmarter.local/alt.svc:babygirl1@10.1.21.83'secretsdump.py -dc-ip 10.1.21.83 'hacksmarter.local/alt.svc:babygirl1@10.1.21.83'
Result: DRSR SessionError: ERROR_DS_DRA_BAD_DN(Access denied). alt.svc doesn't have DCSync rights.
Attempt 2: Can we get a shell via WinRM?
evil-winrm -i 10.1.21.83 -u alt.svc -p babygirl1evil-winrm -i 10.1.21.83 -u alt.svc -p babygirl1
Result: WinRM::WinRMAuthorizationError.
alt.svc is not in the Remote Management Users group. No shell.
Attempt 3: ADCS Enumeration with Certipy
This is where we get interesting. The description on Soulkiller.svc said "Certificate management for soulkiller AI".
That's a hint: Active Directory Certificate Services is in play.
certipy-ad find -u alt.svc@hacksmarter.local -p babygirl1 -dc-ip 10.1.21.83 -stdoutcertipy-ad find -u alt.svc@hacksmarter.local -p babygirl1 -dc-ip 10.1.21.83 -stdout
And here you can see a custom template called AI_Takeover. Let's break down why this is a jackpot:
Enrollee Supplies Subject: Trueβ this is the key vulnerabilityClient Authentication: Trueβ the cert can be used to authenticateRequires Manager Approval: Falseβ no gatekeeperEnrollment Rights: HACKSMARTER.LOCAL\Soulkiller.svcβ only Soulkiller.svc can enroll
This is a textbook ESC1 vulnerability. ESC1 (Escalation via Certificate Services 1) means: an account that can enroll in this template can request a certificate on behalf of any user in the domain, including Administrator. It's like a machine that prints master keys ; if you have access to it, you can make a key for any door.
The problem: We're alt.svc. We don't have enrollment rights on AI_Takeover. Only Soulkiller.svc does.
So our question becomes: How do we get Soulkiller.svc?
Attempt 4: What can alt.svc actually write to?
bloodyAD --host 10.1.21.83 -d hacksmarter.local -u alt.svc -p babygirl1 get writablebloodyAD --host 10.1.21.83 -d hacksmarter.local -u alt.svc -p babygirl1 get writable
This command is a hidden gem. It asks: "What AD objects can this account modify?"
Wow! We have full control over Yorinobu. We can literally do anything to this account. And Yorinobu is in Remote Management Users , So yeah! WinRM access.
The path is becoming clear.
[Step 5] ACL Abuse: Owning Yorinobu
This is where Active Directory ACL (Access Control List) abuse comes in, and honestly, this is one of the most underestimated attack vectors in real-world engagements.
Every object in AD has an ACL (a list of who can do what to it). Most people think about ACLs on files. But in AD, ACLs govern everything: who can reset whose password, who can add members to what group, who can modify what attributes. And misconfigurations here are incredibly common in real corporate environments.
We have DACL: WRITE over Yorinobu. That means we control his access control list. We can grant ourselves any permission on him. But actually, we don't even need to be that fancy. We already have full WRITE access. We can just reset his password directly.
bloodyAD --host 10.1.21.83 -d hacksmarter.local -u alt.svc -p babygirl1 set password Yorinobu 'Arasakapwn3d!'bloodyAD --host 10.1.21.83 -d hacksmarter.local -u alt.svc -p babygirl1 set password Yorinobu 'Arasakapwn3d!'
Wait! Did we just reset a user's password without knowing their old password? Without any admin rights?
Yes. That's exactly what we did. And this is why ACL abuse is so dangerous. alt.svc has WRITE over Yorinobu's object, that includes the ability to set their password via LDAP, no old password required. This is not a vulnerability in Windows, rather it's a misconfiguration in who was granted what permissions.
Now let's use those credentials:
evil-winrm -i 10.1.21.83 -u Yorinobu -p 'Arasakapwn3d!'evil-winrm -i 10.1.21.83 -u Yorinobu -p 'Arasakapwn3d!'
We're in. We have a WinRM shell as Yorinobu. But Yorinobu is still just a regular user, not an admin. So what can we do from here?
Question: What if Yorinobu can do something that alt.svc couldn't?
Exactly the right question. Let's find out.
[Step 6] Shadow Credentials: Ghost Key Attack
Okay. We're in as Yorinobu. Our goal is Soulkiller.svc (the account with enrollment rights on the AI_Takeover ADCS template). But we don't know Soulkiller.svc's password, and our attempts to reset it directly failed (we don't have write access to that account from alt.svc or Yorinobu).
So let's try something more surgical: Shadow Credentials.
What are Shadow Credentials?
This is a newer, stealthier attack that abuses the msDS-KeyCredentialLink attribute in AD. Here's the idea:
Windows supports a feature called Windows Hello for Business / Passwordless Authentication using certificates. Each device or user can have a key credential stored in their AD object. When they authenticate, they present the matching private key instead of a password.
If you have write access to a user's msDS-KeyCredentialLink attribute, you can add your own key credential to their account. Then you authenticate as that user using your private key; no password needed. The DC has no idea it's not them.
It's like slipping a copy of your house key into someone else's lockbox without them knowing. You didn't steal their key, you added yours.
Check if Yorinobu can write to Soulkiller.svc:
bloodyAD --host 10.1.21.83 -d hacksmarter.local -u Yorinobu -p 'Arasakapwn3d!' add shadowCredentials Soulkiller.svcbloodyAD --host 10.1.21.83 -d hacksmarter.local -u Yorinobu -p 'Arasakapwn3d!' add shadowCredentials Soulkiller.svc
And it worked..
We just got Soulkiller.svc's NT hash without ever knowing their password. The shadow credential attack authenticated us as Soulkiller.svc, and bloodyAD extracted the NTLM hash from the TGT process.
Question: Why does this work if we don't know the password? Answer: Because the authentication via key credential is completely separate from the password. The DC validates the private key against the stored public key credential. If it matches, you're authenticated. The NTLM hash is derived during this process.
This is why tiered admin models and least privilege are so critical. If Yorinobu had no write access to Soulkiller.svc's object, this attack fails entirely.
Now we have NT hash β f4ab68f27303bcb4024650d8fc5f973a
Time to abuse ADCS.
[Step 7] ESC1 ADCS Abuse: Forging the Master Key
This is the crown jewel of this machine. Active Directory Certificate Services (ADCS) ESC1 exploitation. If you've never seen this before, buckle up because it's mind-blowing.
Quick ADCS primer:
ADCS is Microsoft's PKI (Public Key Infrastructure) solution built into Active Directory. It issues digital certificates for things like user authentication, encrypted email, code signing, etc. Organizations use it everywhere.
Certificate templates define the rules: who can request a cert, what the cert can be used for, and critically β who the cert says it's for.
What makes the AI_Takeover template vulnerable (ESC1)?
The template has Enrollee Supplies Subject: True. In normal templates, the CA decides who the certificate is for based on the requester's identity. But with this flag set, the requester gets to tell the CA who the cert is for.
And the template has Client Authentication: True, meaning the cert can be used to authenticate to AD as whatever identity it claims.
So if Soulkiller.svc requests a cert and says "this cert is for administrator@hacksmarter.local" β the CA just... issues it. No verification. No checks. The Administrator gets a certificate, and whoever holds it can authenticate as Administrator.
It's like a notary who stamps any document you bring without reading it. You write "I, Saburo Arasaka, hereby transfer all my assets toβ¦" and they just stamp it.
Request the cert as Administrator (using Soulkiller.svc's hash):
certipy-ad req -u Soulkiller.svc@hacksmarter.local -hashes f4ab68f27303bcb4024650d8fc5f973a -dc-ip 10.1.21.83 -ca hacksmarter-DC01-CA -template AI_Takeover -upn administrator@hacksmarter.local -out administratorcertipy-ad req -u Soulkiller.svc@hacksmarter.local -hashes f4ab68f27303bcb4024650d8fc5f973a -dc-ip 10.1.21.83 -ca hacksmarter-DC01-CA -template AI_Takeover -upn administrator@hacksmarter.local -out administrator
We now hold a certificate that says we're Administrator.
Authenticate with the cert:
certipy-ad auth -pfx administrator.pfx -dc-ip 10.1.21.83 -domain hacksmarter.localcertipy-ad auth -pfx administrator.pfx -dc-ip 10.1.21.83 -domain hacksmarter.local
We can see clearly, the Administrator account's password is expired. The KDC won't issue a TGT for a Kerberos auth with an expired password. But we have a certificate. And certificates can authenticate via LDAP with SCHANNEL for bypassing this restriction entirely.
Question: What if we can't use Kerberos? What other authentication methods exist?
Always ask this. There's almost always another way in.
[Step 8] LDAP Shell: When Kerberos Says No, LDAP Says Yes
Expired password blocking Kerberos auth? No problem. Certipy has a trick up its sleeve: LDAP shell via certificate authentication.
Instead of getting a TGT (Kerberos ticket), we authenticate directly to LDAP using the certificate over TLS (SCHANNEL). The expired password doesn't matter here because we're not using password authentication, we're using the cert.
certipy-ad auth -pfx administrator.pfx -dc-ip 10.1.21.83 -domain hacksmarter.local -ldap-shellcertipy-ad auth -pfx administrator.pfx -dc-ip 10.1.21.83 -domain hacksmarter.local -ldap-shell
We have an interactive LDAP shell as Administrator. This isn't a full shell. We can't run whoami or browse the filesystem, but we can issue LDAP commands as Administrator. And one of those commands is changing passwords.
And you see, we just reset the Administrator's password via LDAP.
And finally β the moment we've been building toward. . . . . .
[Step 9] Pwned: Welcome
evil-winrm -i 10.1.21.83 -u Administrator -p 'Fuck0ffmoron!'evil-winrm -i 10.1.21.83 -u Administrator -p 'Fuck0ffmoron!'
Domain compromised. Arasaka falls.
Lessons for Defenders
1. Audit Service Account Passwords: Kerberoastable accounts with weak passwords are low-hanging fruit. Rotate service account passwords regularly, enforce complexity, or switch to gMSAs.
2. Audit AD ACLs Seriously: alt.svc having DACL WRITE over Yorinobu was the pivot point of this entire chain. Run BloodHound in your environment and look for unexpected ACL edges. Tools like Purple Knight can help.
3. ADCS Templates are Attack Surface: Any template with Enrollee Supplies Subject: True + Client Authentication: True + broad enrollment rights is an ESC1 waiting to happen. Audit with certipy-ad find -vulnerable regularly.
4. Monitor msDS-KeyCredentialLink Modifications: Shadow Credentials attacks write to this attribute. Alert on unexpected changes to it especially on service accounts.
5. Principle of Least Privilege: Why did Yorinobu have write access to Soulkiller.svc's object? Why did alt.svc have DACL control over Yorinobu? These are the questions that expose the real gaps.
Final Thoughts
What I love about Arasaka is that no single step was earth-shattering on its own. It's a chain. Each link only matters because of the one before it. This is real-world AD pentesting you rarely find a one-shot kill. You find a thread, and you pull it until the whole sweater unravels.
The tools: certipy, bloodyAD, impacket, evil-winrm β they're just instruments. The real skill is knowing which question to ask next when you hit a wall. And you will hit walls. The difference between a good pentester and a great one is that the great one doesn't panic at a dead end. They pivot.
Happy Hacking!!!