ADCS Certificate Template Configuration Vulnerability with Risky EKU

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects certificate creation with template allowing risk permission subject and risky EKU

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Certificate Service Operation" AND (TEMPLATE contains "1.3.6.1.5.5.7.3.2,1.3.6.1.5.2.3.4,1.3.6.1.4.1.311.20.2.2,2.5.29.37.0" AND TEMPLATE contains "CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT") OR (NEWTEMPLATE contains "1.3.6.1.5.5.7.3.2,1.3.6.1.5.2.3.4,1.3.6.1.4.1.311.20.2.2,2.5.29.37.0" AND NEWTEMPLATE contains "CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT") select Action1.HOSTNAME,Action1.MESSAGE,Action1.NEWTEMPLATE,Action1.TEMPLATE

Detection

Execution Mode

realtime

Log Sources

Active Directory

Author

Orlinum , BlueDefenZer