Lab Walkthrough Shows Kerberos Constrained Delegation Abuse Against SQL Server

· Original article ↗

Summary

A lab walkthrough demonstrates how an attacker with credentials for a misconfigured service account can use S4U2Self and S4U2Proxy to access a SQL Server as an administrator, then extract credentials and obtain a SYSTEM shell. It also covers detection and mitigations.

Key points

  • The demo uses NetExec to find a service account configured for constrained delegation with Protocol Transition.
  • Impacket is used to request a service ticket impersonating an administrator for the delegated SQL Server service.
  • The lab then demonstrates SQL Server access, local credential extraction, and a PsExec SYSTEM shell using the Kerberos ticket.
  • Detection guidance includes monitoring delegation-related LDAP queries, Kerberos service-ticket events, remote service creation, and credential-dumping activity.
  • Mitigations include preferring Kerberos-only delegation, protecting privileged accounts from delegation, auditing delegation settings, and using least-privilege or gMSA service accounts.

Article Details

Topic
Kerberos Constrained Delegation with Protocol Transition: lab exploitation, detection, and mitigation

MITRE ATT&CK

Vendors

Products

Tools

Related Articles