Join our Newsletter — 33% off our NHI Course
Home› Guides› AD Certificate Services for Beginners: How Windows Hands…
Guide Privileged Access (PAM)

AD Certificate Services for Beginners: How Windows Hands Out Certificates and Why Attackers Want Them

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 11 min read
On this page

AD Certificate Services is the Windows tool that issues digital certificates to people, computers and services.

This guide is for anyone new to Windows networks who keeps hearing about "AD CS" or "ESC1". You do not need to run a server to care: if your organisation uses Windows sign-in, Wi-Fi or VPN at work, certificates may be part of how it checks who is who.

In short

  • AD CS hands out certificates, which act as digital ID cards for users, computers and services.[1]
  • Each certificate is made from a template, a set of rules saying who may ask for it and what it can be used for.[2]
  • If a template is set up badly, an ordinary user may be able to get a certificate in someone else's name.[3]
  • A certificate can keep working after a password reset, so templates and issued certificates need regular review.[3]

What you will learn

  • Explain what AD CS does in one sentence.
  • Spot the template settings that make up the risky pattern called ESC1.
  • Explain why a password reset may not end an attacker's access.
  • Ask your Windows team three simple questions about certificates.
Digital ID card (certificate)
a signed file that links a name to a secret key, so a computer can prove who it is.
ID card office (certificate authority)
the server that checks requests and signs certificates.
Card design form (certificate template)
the rules that say who may ask for a certificate and what it is for.

What is AD Certificate Services?

Think of a company ID card office. Staff fill in a form, the office checks it, and it prints a card with their name and photo. Doors and printers trust the card because the office made it.

AD CS is that office for a Windows network. AD stands for Active Directory, the Windows system that keeps the list of users and computers. AD CS is a Windows Server role (a job the server can be set up to do) that issues and manages certificates.[1]

A certificate is a digital ID card. It links a name to a secret key, and a trusted office has signed it. Microsoft lists uses such as secure Wi-Fi, VPN, smart card sign-in, encrypted email and secure websites.[1]

The server that signs certificates is called a certificate authority, or CA. It works from templates: sets of rules that say who may ask for a type of certificate and what it can be used for. The templates are stored in Active Directory, so every CA in the network can use them.[2]

Many certificates go to computers and services, not people. These are non-human identities (NHIs). An NHI is a digital identity, or the credential behind it, that represents a machine, application, automated process, service or AI agent. It lets that software prove who it is and connect to other systems without a person.

Where the comparison stops working: a fake plastic card can often be spotted by a guard. A certificate in the wrong name looks correct to the computer, because the trusted office really did sign it.

Why does it matter?

Some certificates can be used to sign in. So the rules on who may get one are really rules on who may sign in as whom. In 2021, two researchers said nearly every AD CS setup they had checked for these mistakes had at least one.[3]

If you are new to IT work

What could happen: you copy an old template "to save time" and pass on a risky setting.

Check this: ask a senior colleague to review any template change before it goes live.

Next: Public Key Infrastructure for Beginners

If you manage an IT team

What could happen: a CA set up years ago for Wi-Fi is still running, and nobody owns it.

Check this: name an owner for each CA and ask when its templates were last reviewed.

Next: Active Directory for Beginners

If you are studying security

What could happen: you learn about passwords and miss certificates, a quieter way in.

Check this: learn how certificates are used to sign in, not just to secure websites.

Next: Active Directory Attacks for Beginners

What does it look like?

Here is a made-up summary of one template's settings, written in plain words.

Example only. All values are made up.

Template name:   EXAMPLE-StaffCert-FAKE
Issued by:       FAKE-CA-0000 (ca.example.invalid)
Who may request: All domain users               (1)
Name on cert:    Typed in by the requester      (2)
Can be used for: Signing in to the network      (3)
Manager approval: Not needed                    (4)
Valid for:       2 years
  1. Every ordinary account is allowed to ask for this certificate.
  2. The person asking chooses whose name goes on it.
  3. The certificate can be used to sign in.
  4. Nobody checks the request before it is signed.

Why this is risky: put together, these four settings match the main parts of the pattern researchers named ESC1. An ordinary user may be able to ask for a sign-in certificate in an administrator's name.[3]

The safer way: the name comes from the directory, not from the requester. Only the group that needs the certificate may ask for it, and sign-in use is added only where it is needed. Where a template must allow typed names, a person approves each request.

How does it work?

Here is the normal flow when a computer or person gets a certificate.

  1. The request. A user, computer or service asks the CA for a certificate, naming a template.
  2. The rule check. The CA reads the template. It checks that the requester is allowed to use it.[2]
  3. The signing. If the rules allow it, the CA signs the certificate with its own private key (the secret only the CA should hold).
  4. The use. The requester uses the certificate, for example to join Wi-Fi or to sign in.
  5. The name match. When a certificate is used to sign in, Windows links it to an account. Microsoft now expects a strong link, tied to one account, and weak name-based links fail.[4]
Flow diagram titled How AD Certificate Services issues a certificate. Box 1 Request: a user, computer or service asks for a certificate and names a template. Box 2 Template: the rules say who may ask, whose name goes on it and what it is for. Box 3 Certificate authority: checks the rules and signs with its private key. Box 4 Certificate: a digital ID card used for Wi-Fi, VPN or signing in. A green bar reads The template is where most mistakes happen: check who may ask and who picks the name.
Figure 1. Request, template, signing and the issued certificate.
Before and after diagram titled Who picks the name on the certificate. Left panel, labelled Risky: any user may ask, the requester types any name, the certificate can sign in, no approval, so an ordinary user may get a certificate in an administrator's name. Right panel, labelled Safer: only the group that needs it may ask, the name comes from the directory, sign-in use only where needed, approval for exceptions, and issued certificates are reviewed. A note reads The risky side shows the main parts of the pattern called ESC1.
Figure 2. The ESC1 pattern in plain words, and the safer set-up.

Two more facts matter for defenders. First, a certificate is separate from a password. One obtained by abuse can keep working until it expires, even after the password is changed.[3] Second, the CA itself is very sensitive. Researchers advise protecting CA servers as carefully as the servers that run Active Directory.[3]

A worked example

Petra Tanaka has just joined the IT team at a fictional engineering firm, Brightwell Design. Her manager, Calla Ueda, asks her to help with a yearly check of the Windows network.

Petra finds a CA that was set up years ago for the office Wi-Fi. Nobody on the team remembers who built it. She remembers the ID card office. Who is allowed to fill in the forms, and who picks the name on the card?

She lists the templates and reads their settings in plain words. One template stands out. All staff may ask for it. The requester types the name. It can be used to sign in, and no approval is needed.

Petra does not test whether it can be abused. She takes the settings to Calla. Calla recognises the ESC1 pattern from the practitioner guide and agrees it needs fixing.

They find that the template is only used for Wi-Fi certificates on laptops. So they change it. The name now comes from the directory, and only the laptop group may ask. Sign-in use is removed, because Wi-Fi does not need it.

Next they look at the certificates already issued from that template. They check for any with a name that does not match the requester. In the records available to them, they find nothing unusual.

Last, Calla names an owner for the CA and books a template review every six months. She also turns on the CA's request records, so future checks have something to look at.

Myths and mistakes

What people thinkWhat is true
Certificates are only for websites.In Windows networks they are also used for Wi-Fi, VPN and signing in.[1]
Resetting the password ends an attacker's access.A certificate obtained by abuse can keep working until it expires or is revoked.[3] Revoke it too.
Our CA was set up by experts, so the templates are fine.Defaults and old copies can carry risky settings. Review templates on a schedule.
The CA is just another server.Whoever controls the CA can sign certificates. Protect it like your most important servers.[3]
Windows updates have fixed AD CS.Updates tightened how certificates link to accounts.[4] Template settings are still yours to get right.

What can I do this week?

  • Ask your Windows team whether you run AD CS, and who owns each CA.
  • Ask when the certificate templates were last reviewed.
  • Ask whether any template lets the requester choose the name and also allows sign-in.
  • Check that leaver and incident steps include revoking certificates, not only resetting passwords.

Checklist

  • Every CA has a named owner.
  • Templates no longer in use are taken out of service.
  • Only the groups that need a template may request it.
  • Requesters cannot choose the name on sign-in certificates without approval.
  • CA servers are protected like the most important servers.
  • Request and issue records on the CA are switched on and kept.
  • Incident steps include revoking certificates as well as resetting passwords.

Common questions

What is AD CS in simple terms?

It is the Windows server role that hands out digital ID cards, called certificates. Users, computers and services use them to prove who they are, for example on Wi-Fi, VPN or sign-in. A template sets the rules for each kind of certificate.

What is ESC1?

ESC1 is a name researchers gave to one risky template set-up. Ordinary users may request the certificate, the requester picks the name, it can be used to sign in and no approval is needed. Together these can let a user get a certificate as someone else.

Why do attackers target AD CS?

Because a sign-in certificate can work like a pass for an account. A badly set template may let an ordinary user get one for an administrator. That certificate can keep working after a password change, which makes it attractive to attackers.

Do small organisations use AD CS?

Some do. It is often added for one job, such as Wi-Fi or VPN, and then forgotten. If you run Windows servers, ask your IT team or supplier whether a CA exists, even if nobody mentions it day to day.

Is AD CS the same as a public website certificate?

No. Public website certificates come from outside companies that browsers trust. AD CS is usually an internal CA that only your own devices trust. It can issue certificates for many jobs, including signing in to your network.

Where next?

Ready for the detail? Read the practitioner guide: AD CS Security Guide. It goes further into each misconfiguration class, CA hardening, strong certificate mapping and how to detect abuse in event logs.

Also useful:

Related NHI Mgmt Group resources: Non-Human Identities for Beginners · Identity Recovery Guide · Certificate Management Policy Template

Key terms

Active Directory Certificate Services
The Windows Server role that issues and manages certificates for users, computers and services.
Digital certificate
A signed file that links a name to a key, used like a digital ID card.
Certificate template
The set of rules a CA applies to a type of certificate request.
Private key
The secret half of a key pair, which only its owner should hold.
Certificate mapping
How Windows links a certificate to the account it signs in as.
Active Directory
The Windows system that keeps the list of users, computers and groups in a network.
Tier 0
The small set of systems that control the whole network and need the strongest protection.

Sources and further reading

  1. Active Directory Certificate Services overview. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/windows-server/identity/ad-cs/active-directory-certificate-services-overview, accessed 28 Nov 2026.
  2. Certificate template concepts in Windows Server. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/windows-server/identity/ad-cs/certificate-template-concepts, accessed 28 Nov 2026.
  3. Certified Pre-Owned. Will Schroeder and Lee Christensen, SpecterOps, 17 June 2021. https://specterops.io/blog/2021/06/17/certified-pre-owned/, accessed 28 Nov 2026.
  4. KB5014754: Certificate-based authentication changes on Windows domain controllers. Microsoft Support, Microsoft. https://support.microsoft.com/en-us/topic/kb5014754-certificate-based-authentication-changes-on-windows-domain-controllers-ad2c23b0-15d8-4340-a468-4d4f3b188f16, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.