BERRY9 IT SERVICES

Kerberoasting & AS-REP Roasting: Testing & Hardening

How Kerberoasting and AS-REP Roasting compromise service accounts in Active Directory, how testers validate them safely, and gMSA hardening fixes.

Active Directory · By Thimmagurudu Bathini, CTO · Published · 5 min read

Kerberoasting & AS-REP Roasting: Testing & Hardening architecture and testing overview

Why Service Accounts Attract Quiet Credential Attacks

Any authenticated domain user can request Kerberos TGS tickets for accounts with Service Principal Names (SPNs)—making Kerberoasting a quiet, zero-exploit way to crack service account passwords offline. When those service accounts hold local admin or SQL privileges, a weak password leads straight to lateral movement.

Kerberoasting vs. AS-REP Roasting

Kerberoasting vs. AS-REP Roasting comparison
TechniqueTarget AccountsPrimary Fix
KerberoastingUser accounts with SPNs set (e.g., SQL, IIS, backup services)Migrate to gMSA (240-char auto-rotated keys) or 25+ char passwords + AES256
AS-REP RoastingAccounts with 'Do not require Kerberos preauthentication' enabledEnable Kerberos pre-authentication on every domain account
Delegation AbuseAccounts configured with unconstrained or risky constrained delegationDisable unconstrained delegation; audit RBCD permissions

Auditing SPNs, RC4 & Pre-Auth Flags

  • Enumerate all user accounts with SPNs and check whether legacy RC4 encryption is still permitted.
  • Identify accounts with DONT_REQ_PREAUTH enabled for AS-REP Roasting exposure.
  • Audit whether service accounts sit in privileged groups or hold local admin rights across servers.
  • Check Group Managed Service Accounts (gMSA) adoption and fine-grained password policies.

Migrating Service Accounts to gMSAs

Replace human-managed service accounts with Group Managed Service Accounts (gMSAs), enforce AES-256 Kerberos encryption, and remove unnecessary SPNs.

Validate Active Directory service account resilience starting from ₹36,000 + 18% GST. Request a scoped proposal →

Kerberos Hardening Questions

Does Kerberoasting trigger account lockouts?

No. Requesting a TGS ticket is normal domain behavior, which is why proactive AD testing is essential to catch weak SPN passwords.

What does an Active Directory pentest cost?

Active Directory penetration testing starts from ₹36,000 + 18% GST (₹42,480 total).