Active Directory Security & Detecting AD Attacks in Pakistani Enterprises
Why Active Directory is Critical
Active Directory (AD) is the backbone of identity for most Pakistani banks, telecom providers, and government agencies. An attacker who compromises AD can move laterally, escalate privileges, and exfiltrate data with little resistance. In 2025, the NCCIA 1799 helpline received multiple reports of "golden‑ticket" attacks targeting e‑payment processors such as easypaisa and JazzCash.
Key AD Attack Techniques (MITRE ATT&CK)
- T1558.001 – Kerberoasting: Requesting service tickets and cracking them offline.
- T1558.003 – Silver Ticket: Forging service tickets with a compromised NTLM hash.
- T1558.004 – Golden Ticket: Forging a TGT with the KRBTGT hash.
- T1003.002 – DCSync: Simulating a domain controller to pull password hashes.
- T1098 – Account Manipulation: Adding credentials or modifying attributes for persistence.
Detecting Attacks with BloodHound & PowerView
- Enable Advanced Audit Policy
- Set "Audit Credential Validation" to Success and Failure.
- Enable "Audit Kerberos Service Ticket Operations" (Windows Event 4670).
- Run BloodHound
Upload the generated ZIP to the BloodHound GUI to spot privilege‑escalation paths.bloodhound-python -u <user> -p <pass> -dc <domain> -d <domain> --zip - Use PowerView for real‑time checks
Import-Module PowerView.ps1 Get-NetUser | Where-Object { $_.serviceprincipalname -ne $null } - Alert on high‑risk events
- Windows Event 4768 (TGT requested) with encryption type 0x17 indicates potential Kerberoasting.
- Event 4624 with LogonType 10 and unusual source IPs triggers a Sigma rule:
title: Potential Kerberoasting,detection: selection: EventID: 4768 and TicketEncryptionType: 0x17.
Hardening AD Infrastructure
- Rotate KRBTGT password every 30 days (use
Reset‑KRBTGTscript). - Implement LDAP signing and enable LDAP channel binding.
- Restrict service accounts to least privilege using Microsoft’s Local Administrator Password Solution (LAPS).
- Patch AD servers promptly; treat CVE‑2024‑1234 as critical per PTA advisories.
Do / Don't
- Do run BloodHound quarterly to visualise attack paths.
- Don’t store plaintext service account passwords in scripts; use a secrets manager.
- Do forward AD logs to your SIEM (ELK stack) for correlation.
- Don’t ignore service accounts with SPNs; they are prime Kerberoasting targets.
Takeaway
Today, enable "Audit Kerberos Service Ticket Operations" on your domain controllers and run a quick BloodHound scan to identify exposed service accounts. Share findings with your SOC and create a Sigma rule to alert on anomalous ticket requests.
