Active Directory traffic captures reveal authentication, authorisation, and directory service operations in Windows enterprise environments. Key protocols include Kerberos (authentication tickets), LDAP (directory queries), DNS (AD-integrated zones), and SMB (group policy, file shares). Analysts look for credential attacks, privilege escalation, and domain enumeration activity.
Active Directory packet captures with Kerberos, LDAP, DNS, and SMB traffic for analysing enterprise authentication and directory services.
Windows Server 2022 DC SMB Null Session Enumeration
6 TCP connections to Windows Server 2022 DC (10.99.0.150) on port 445 testing anonymous/null session access. Protocols observed: SMB2, DCERPC, SAMR (Security Account Manager), and LSARPC (Local Security Authority). Operations attempted via rpcclient: share listing, IPC$ access, enumdomusers (domain user enumeration), enumdomgroups (domain group enumeration), getdompwinfo (password policy), and lsaenumsid (SID enumeration). Suricata flagged NTLM Session Setup negotiation, response challenge, and authentication. Zeek identified GSSAPI, NTLM, SMB, and DCE/RPC services across the 6 connections. Results depend on the DC security policy for anonymous access.
Kerberos Pre-Authentication Failures Against Windows Server 2022 DC
11 Kerberos exchanges against the Windows Server 2022 Domain Controller (10.99.0.150) on port 88 (UDP) with 1 additional TCP connection. Five AS-REQ messages with incorrect passwords generate KRB-ERROR pre-authentication failure responses for domain users jsmith, jdoe, admin.lab, and administrator, plus a KDC_ERR_C_PRINCIPAL_UNKNOWN for the nonexistent user account. One successful AS-REQ/AS-REP exchange for jsmith with the correct password is included for comparison, showing the TGT issuance. Zeek identified all 11 Kerberos transactions (krb service). The different error codes between existing and nonexistent users enables username enumeration. All traffic between 10.99.0.10 (Linux client with MIT Kerberos) and 10.99.0.150 (Windows DC for pcaplab.local).
Credential Access: NTDS/SAM Directory Browsing and LAPS Queries
3 TCP connections to Windows Server 2022 DC (10.99.0.150) combining SMB2 file access and LDAP queries for credential harvesting reconnaissance. Protocols observed: SMB2, LDAP (multiple query types), DCERPC. Zeek identified LDAP over TCP, GSSAPI, NTLM, and SMB services. SMB operations browse the Windows\NTDS directory (contains ntds.dit with all AD password hashes) and Windows\System32\config directory (contains SAM, SECURITY, SYSTEM registry hives). LDAP queries extract user account attributes including userAccountControl, pwdLastSet, badPwdCount, and lockoutTime, plus queries for LAPS password attributes (ms-Mcs-AdmPwd). Suricata flagged NTLM Session Setup negotiation, challenge, and authentication. This activity maps to MITRE ATT&CK T1003.003 (NTDS) and T1003.002 (SAM).
Active Directory Full Attack Chain (Recon to Persistence)
Complete AD attack lifecycle in a single capture combining LDAP, Kerberos, and SMB: LDAP reconnaissance: Domain Admin enumeration, SPN discovery (Kerberoasting prep) Kerberos: TGT acquisition, service ticket requests for CIFS/LDAP/HOST SPNs Privilege escalation: Admin credential use to access C$ share, browsing NTDS and SAM directories WinRM post-exploitation: Domain user/group enumeration, password age analysis Maps to MITRE ATT&CK techniques: T1087 (Account Discovery), T1558 (Kerberoasting), T1021 (Remote Services), T1003 (Credential Dumping recon).
DCSync Reconnaissance: AD Replication and Schema Queries
LDAP queries targeting Active Directory replication metadata and schema information, typical of DCSync attack preparation: Replication epoch and up-to-date vector queries nTDSDSA object enumeration (domain controller NTDS settings) Schema attribute enumeration Privileged account discovery (adminCount=1) These queries map the replication topology and identify high-value targets before attempting DCSync (DRS GetNCChanges) to extract password hashes.
Active Directory GPO Enumeration and SYSVOL Access
LDAP queries extracting Group Policy Objects (GPOs) from Active Directory, including displayName, gPCFileSysPath (SYSVOL paths), and gPCMachineExtensionNames. Followed by SMB access to the SYSVOL share to browse policy directories. GPO enumeration is used by attackers to find misconfigurations, identify GPOs that push credentials, or plan GPO-based persistence and lateral movement.
Kerberos AS-REP Roasting Attempts (Pre-Auth Enumeration)
Kerberos AS-REQ messages for 8 domain accounts testing whether pre-authentication is required. Accounts without pre-auth return an AS-REP containing an encrypted TGT that can be cracked offline. Shows failed pre-auth attempts (KRB_ERROR) alongside a successful authentication for comparison. This is the first step in AS-REP Roasting attacks used to crack weak passwords of accounts with 'Do not require Kerberos preauthentication' enabled.
LDAP Brute Force Against Active Directory (25 Attempts)
25 LDAP simple bind attempts cycling through 5 domain users with 5 common passwords each (password, Password1, Welcome1, Summer2026, Company123). Each failed bind returns an LDAP invalidCredentials error. Shows the LDAP bind request/response pattern that IDS systems use to detect credential brute force attacks against directory services.
SMB Password Spray Against Active Directory (12 Attempts)
Two rounds of SMB authentication against a Windows Domain Controller using the same password across 6 different domain accounts (jsmith, jdoe, bwilson, admin.lab, svc.backup, administrator). First spray uses 'Summer2026!' and second uses 'Welcome123!'. The single-password-many-users pattern is the hallmark of password spraying, designed to avoid account lockout thresholds while testing common passwords across the entire user base.
SMB with Active Directory Domain Authentication
SMB sessions from Linux smbclient to a Windows Domain Controller using AD credentials. Includes share listing, LabShare access with domain user, admin C$ share access with domain admin, and a failed authentication attempt. Shows Kerberos-authenticated SMB2 sessions against a Windows DC.
Nmap Scan of AD Domain Controller Service Ports
Service version detection against a Windows Server 2022 Domain Controller targeting AD-specific ports: DNS (53), Kerberos (88), RPC (135), NetBIOS (139), LDAP (389), SMB (445), Kerberos password (464), LDAPS (636), Global Catalog (3268/3269), RDP (3389), WinRM (5985). Shows how Nmap identifies Active Directory services and their versions.
LDAP Injection via Search Filter Manipulation
LDAP searches with injected filter conditions against Active Directory: OR-based tautology, password attribute enumeration, Domain Admins membership query, SPN enumeration, and adminCount filter. Shows how LDAP injection can extract sensitive directory information.
Kerberos Golden Ticket Detection Pattern
Rapid sequential Kerberos TGS requests for multiple service tickets (CIFS, LDAP, HOST, HTTP, DNS) across multiple hosts from a single user session. This access pattern is characteristic of Golden Ticket usage where an attacker with a forged TGT requests service tickets for many services. Includes requests from two different users for comparison.
AD Privilege Escalation Recon (BloodHound-style LDAP)
LDAP queries mimicking BloodHound/SharpHound Active Directory reconnaissance: Domain Admins membership enumeration Computer objects with OS versions Group Policy Objects and file paths Trust relationships Accounts with adminCount=1 Users with SPNs (Kerberoastable) Delegation settings Shows the LDAP query patterns that AD attack tools use to map privilege escalation paths.
LDAP Password Policy Enumeration
LDAP queries extracting domain password policy from Active Directory: minPwdLength, maxPwdAge, lockoutThreshold, lockoutDuration, and pwdHistoryLength. This reconnaissance provides attackers with password complexity requirements and lockout thresholds to tune brute force attacks.
LDAP Bind Methods (Simple, Anonymous, Failed, SASL)
Four LDAP bind types against an Active Directory server: Simple bind with valid credentials Anonymous bind (rootDSE query) Failed bind with wrong credentials SASL/GSSAPI bind attempt Shows how different authentication methods appear in LDAP traffic and the error responses for failures.
LDAP Queries Against Active Directory
Authenticated LDAP searches against a Windows AD Domain Controller. Queries enumerate users (objectClass=user), computers, groups, and specific user attributes. Includes authenticated binds with domain credentials and an anonymous bind attempt. Shows AD LDAP schema and search result formatting.
Kerberos TGS Service Ticket Requests
Kerberos TGS-REQ/TGS-REP exchanges requesting service tickets for CIFS, LDAP, and HOST SPNs on the domain controller. Shows the TGT being used to request service tickets for specific services. Includes klist output showing the full ticket cache. Useful for understanding Kerberos service ticket mechanics.
Kerberos Authentication Against Active Directory DC
Kerberos TGT requests from a Linux client to a Windows Server 2022 Domain Controller. Includes successful AS-REQ/AS-REP for two domain users, a client-not-found error for a nonexistent user, and a pre-authentication failure for wrong password. Shows the full Kerberos v5 authentication exchange.
Kerberoasting LDAP Enumeration (SPN Search)
LDAP searches for accounts with servicePrincipalName set, the first step in a Kerberoasting attack. Queries enumerate all users with SPNs and all objects with SPNs in the domain. Also includes a Kerberos TGT request. Shows the LDAP reconnaissance pattern used by Kerberoasting tools like Rubeus and Impacket.