Operation Broken Trust
A sample internal penetration test report documenting Active Directory compromise, Windows and Linux attack chains, verified findings, and remediation priorities.
A sample internal penetration test report documenting Active Directory compromise, Windows and Linux attack chains, verified findings, and remediation priorities.
Machine Summary: Nara focuses on exploiting permissive share permissions to trigger NTLM credential theft and escalating privileges via Active Directory Certificate Services (ADCS). We first identify an SMB service with null authentication enabling read and write access to the nara share. Reviewing Important.txt indicates active file monitoring by internal users, allowing us to perform an NTLM theft attack using a malicious .lnk shortcut file to capture and crack the NetNTLMv2 hash for Tracy.White. Domain enumeration with BloodHound reveals that Tracy.White possesses GenericAll rights over the Remote Access group, allowing us to add our account to the group and establish a WinRM session. Once on the host, we locate an encrypted automation.txt file and decrypt its DPAPI-protected PowerShell SecureString to reveal a cleartext password. Password spraying across domain accounts yields a hit for Jodie.Summers, who belongs to the CA Enrollment group. Further ADCS enumeration with Certipy reveals an ESC1 vulnerability in the NaraUser certificate template. By requesting a certificate with an administrative Subject Alternative Name (SAN), we authenticate via PKINIT to retrieve the Domain Administrator’s NTLM hash and obtain full compromise. ...
Machine Summary: Vault Lab demonstrates gaining initial access through NTLMv2 theft using a malicious .lnk attack on a writable SMB share. Due to excessive user permissions, privilege escalation on this machine can be done a number of ways. In this instance we’ll escalate privileges by abusing the Server Operators group. ![[183ff0e7555d7896ab108e0a0dd04dd0.png]] Recon Nmap Scan Results PORT STATE SERVICE VERSION 53/tcp open domain Simple DNS Plus 88/tcp open kerberos-sec Microsoft Windows Kerberos (server time: 2026-09-30 12:26:11Z) 135/tcp open msrpc Microsoft Windows RPC 139/tcp open netbios-ssn Microsoft Windows netbios-ssn 389/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: vault.offsec, Site: Default-First-Site-Name) 445/tcp open microsoft-ds? 464/tcp open kpasswd5? 593/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0 636/tcp open tcpwrapped 3268/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: vault.offsec, Site: Default-First-Site-Name) 3269/tcp open tcpwrapped 3389/tcp open ms-wbt-server Microsoft Terminal Services | ssl-cert: Subject: commonName=DC.vault.offsec | Not valid before: 2026-09-29T12:10:22 |_Not valid after: 2027-03-31T12:10:22 | rdp-ntlm-info: | Target_Name: VAULT | NetBIOS_Domain_Name: VAULT | NetBIOS_Computer_Name: DC | DNS_Domain_Name: vault.offsec | DNS_Computer_Name: DC.vault.offsec | DNS_Tree_Name: vault.offsec | Product_Version: 10.0.17763 |_ System_Time: 2026-09-30T12:26:59+00:00 |_ssl-date: 2026-09-30T12:27:19+00:00; 0s from scanner time. 5985/tcp open http Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP) |_http-server-header: Microsoft-HTTPAPI/2.0 |_http-title: Not Found 9389/tcp open mc-nmf .NET Message Framing 49666/tcp open msrpc Microsoft Windows RPC 49667/tcp open msrpc Microsoft Windows RPC 49673/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0 49674/tcp open msrpc Microsoft Windows RPC 49679/tcp open msrpc Microsoft Windows RPC 49703/tcp open msrpc Microsoft Windows RPC 49808/tcp open msrpc Microsoft Windows RPC Service Info: Host: DC; OS: Windows; CPE: cpe:/o:microsoft:windows Host script results: | smb2-time: | date: 2026-09-30T12:27:04 |_ start_date: N/A | smb2-security-mode: | 3.1.1: |_ Message signing enabled and required Initial Nmap scans reveals standard Active Directory services on the target. ...
Machine Summary: Resourced shows how null session enumeration can reveal cleartext password in a user description, this will grant initial low-privileged domain access. Further share enumeration will uncover an old offline password audit containing registry hives and an ntds.dit backup, allowing offline credential extraction. Using the extracted hashes to spray the domain yields access to a user account with GenericAll control over the Domain Controller. Finally, a Resource-Based Constrained Delegation (RBCD) attack is leveraged via Kerberos S4U extensions to impersonate the Domain Admin and fully compromise the target. ...