Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How should security teams reduce the risk of…
Threats, Abuse & Incident Response

How should security teams reduce the risk of Active Directory certificate abuse when low-privileged users can create machine accounts?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 24, 2026 Domain: Threats, Abuse & Incident Response

Security teams should reduce exposure by limiting who can create machine accounts, tightening certificate template settings, and watching for suspicious hostname changes. Set ms-DS-MachineAccountQuota to 0 or restrict Add workstations to domain users to a controlled group. Also review templates that allow DNS name based enrollment and require manager approval where possible.

How machine account creation becomes a certificate abuse path

When low-privileged users can create machine accounts, they may be able to register a new computer object, control its host naming inputs, and then use that foothold to request certificates that are accepted more broadly than intended. The risk is not the machine account alone, it is the way directory permissions, certificate template rules, and certificate-based authentication can combine into an abuse path.

Two conditions usually make the path dangerous: weak control over who can create or modify machine accounts, and certificate templates that trust attacker-influenced subject fields or DNS names. If those controls line up poorly, a low-privileged user can move from a harmless directory action to a certificate that later authenticates as a more trusted principal.

That is why the first question is not “can users create computers?” but “what downstream authority does that creation unlock?” In Active Directory environments, certificate issuance and directory trust often intersect in subtle ways, so a narrow permissions issue can become an authentication issue if the issued certificate is accepted by services that trust it broadly. See also Ultimate Guide to NHIs — What are Non-Human Identities for the broader credential and lifecycle context, and NHI Lifecycle Management Guide for the control implications of provisioning and offboarding.

Controls that reduce abuse without breaking legitimate enrollment

The most direct control is to remove unnecessary machine-account creation rights. Setting ms-DS-MachineAccountQuota to 0, or restricting Add workstations to domain users to a tightly controlled group, reduces the chance that any authenticated user can mint a fresh computer object for abuse. That change is most effective when paired with delegated onboarding for the business units that truly need it, rather than relying on a broad default allowance.

Certificate template hardening is the second control layer. Templates that allow DNS-name-based enrollment, weak subject construction, or broad enrollment rights create a bridge from directory control to certificate misuse. Restricting template enrollment, tightening subject name requirements, and requiring manager approval where operationally feasible narrows that bridge. The practical goal is to make the issued certificate depend on verified identity attributes, not on attacker-controlled naming inputs.

Monitoring should focus on directory object creation, hostname changes, and certificate request patterns that do not match normal provisioning workflows. A machine account being created is not itself suspicious in every environment, but a new object followed quickly by a certificate request, naming inconsistency, or unusual template use is a strong signal that the workflow may be being abused. For wider identity governance patterns, Privileged Access Management Guide and Ultimate Guide to NHIs, Key Challenges and Risks are useful complements.

How defenders should think about the certificate side of the problem

Certificate abuse in this scenario is usually an authorization problem disguised as a naming problem. The certificate itself may be technically valid, but the trust decision behind it can be wrong if issuance rules assume the requester is honest. Security teams should therefore review which templates are used for computer enrollment, whether the template permits subject alternative names or DNS manipulation, and whether the resulting certificate can authenticate to systems that matter operationally.

Where machine identities are part of the environment, certificate lifecycle discipline matters as much as issuance policy. Long-lived or poorly scoped certificates increase the chance that a single weak enrollment path turns into durable misuse. If a certificate can be reused across environments, or if the same enrollment path works for many hosts, the blast radius is larger than the original machine-account issue suggests. The same logic appears in NHI lifecycle and risk guidance and in the machine-identity focus of Guide to SPIFFE and SPIRE, even though the operational setting is different.

Risk and Threat Considerations

The main risk is privilege amplification: a low-privileged user who can create a machine account may be able to influence certificate enrollment in ways that produce a credential trusted by other services. The failure is often not one single broken control, but a chain of permissive defaults across directory permissions, certificate templates, and trust decisions.

Failure mechanism: Broad machine-account creation rights, combined with templates that accept attacker-influenced DNS or subject data, can let a user obtain a certificate that authenticates as a more trusted host or service. That certificate can then be used for unauthorized access or lateral movement.

Impact: The result can be account impersonation, unauthorized authentication, or access to systems that rely on certificate trust rather than interactive login. In larger environments, one weak enrollment path can become a repeatable escalation technique across many hosts.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack surface, NIST SP 800-53 Rev 5, CIS Controls v8 and NIST SP 800-57 set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-05 — Overprivileged NHIMachine-account creation plus certificate abuse is an overprivilege path.
NHI-07 — Long-Lived SecretsAbused certificates often become durable credentials if not rotated quickly.
Recommendation — Limit machine-account and certificate privileges to the minimum needed. Shorten certificate lifetimes and rotate credentials before abuse persists.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementCertificates are authenticators that need controlled issuance, rotation, and revocation.
AC-6 — Least PrivilegeRestricting machine-account creation is a least-privilege access decision.
IA-9 — Identifier and Authenticator Protection (Non-Organizational Users)Certificate-based machine authentication depends on protected authenticators.
Recommendation — Manage certificate lifecycle with issuance, rotation, and revocation controls. Remove unnecessary rights to create or modify machine accounts. Protect machine authenticators from weak issuance and misuse.
CIS Controls v8CIS-5 — Account ManagementMachine-account creation and review are account-management concerns.
Recommendation — Review and restrict machine-account creation and related approvals.
NIST SP 800-57Key ManagementCertificate abuse is reduced by strong key and certificate lifecycle control.
Recommendation — Apply key lifecycle controls to limit certificate misuse.
ISO/IEC 27001:2022A.5.15 — Access controlRestricting who can create machines and enroll certificates is access control.
Recommendation — Enforce access restrictions for machine creation and enrollment.

Practitioner Guidance

What to prioritize: Treat machine-account creation rights and certificate template review as one control problem, not two separate admin tasks. If the directory permission is fixed but the template still trusts weak subject data, the abuse path may remain open.

What to verify: Confirm which groups can create computers, which templates permit computer enrollment, and whether those templates accept DNS or subject values that a requester can influence. If you cannot explain why a template must trust those fields, it is probably too permissive.

Common mistake: Teams often reduce the machine-account quota and stop there. That helps, but it does not fully address certificate templates that can still turn a legitimate-looking request into an overtrusted certificate.

Practitioner takeaway: The safest design is the one where directory creation, certificate enrollment, and authentication trust are all constrained together, so no single low-privilege action can become a reusable trust token.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 24, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org