Microsoft Defender for Identity
Identity protection

Certificate security posture assessments - Microsoft Defender for Identity | Microsoft Learn

In brief

The article title and wording were revised to use “Certificate security posture assessments” and “Microsoft Defender.” Internal authoring links were removed, and the ESC4 section was renamed as an Identity Security assessment.

What Defender admins need to know

Administrators will see updated terminology when reviewing certificate assessment guidance; no configuration change is required.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

CertificatesCertificate security posture assessment in Microsoft Defender for Identityassessments - Microsoft Defender for Identity | Microsoft Learn

This article describes Microsoft Defender for Identity's Certificates security posture assessment report.assessments in Microsoft Defender for Identity.

Note

Edit misconfigured certificate templates owner (ESC4)

This articlesection provides an overview of Microsoft Defender for Identity'sthe Misconfigured certificate templates owner (ESC4) security posture assessment report.Identity Security assessment.

Description

Typically, users have an Enrollment Agent that enrolls their certificates for them. Under specific circumstances, Enrollment Agent certificates can enroll certificates for any eligible user, posing a risk to your organization.

When Microsoft Defender for Identity reports about Enrollment Agent certificate templates that endanger your organization, risky Enrollment Agent templates are listed on the Exposed entities pane.

Implementation

  1. Remediate the issues by performing at least one of the following steps:

    • Remove the Certificate request agent EKU.

    • Remove overly permissive enrollment permissions, which allow any user to enroll certificates based on that certificate template. Templates marked as vulnerable by Microsoft Defender for Identity have at least one access list entry that allows enrollment for a built-in unprivileged group, making this exploitable by any user. Examples of built-in, unprivileged groups are Authenticated Users or Everyone.

    • Turn on the CA certificate Manager approval requirement.

    • Remove the certificate template from being published by any CA. Templates that aren't published can't be requested, and therefore can't be exploited.

    • Use Enrollment Agent restrictions on the Certificate Authority level. For example, you might want to restrict which users are allowed to act as an Enrollment Agent, and which templates can be requested.

    • Remove any EKUs that enable user authentication, such as Client Authentication, Smartcard logon, PKINIT client authentication, or Any purpose.

    • Remove overly permissive enrollment permissions, which allow any user to enroll certificate based on that certificate template.

      Certificate templates marked as vulnerable by Microsoft Defender for Identity have at least one access list entry that supports enrollment for a built-in, unprivileged group, making this exploitable by any user. Examples of built-in, unprivileged groups include Authenticated Users or Everyone.

    • Turn on the CA certificate Manager approval requirement.

    • Remove the certificate template from being published by any CA. Templates that aren't published can't be requested, and therefore can't be exploited.