Detection rules › Sigma

ADCS Certificate Template Configuration Vulnerability with Risky EKU

Severity
high
Author
Orlinum , BlueDefenZer
Source
upstream

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

Event coverage

ProviderEvent IDTitle
Security-Auditing4898Certificate Services loaded a template.
Security-Auditing4899A Certificate Services template was updated.

Stages and Predicates

Stage 1: selection10

or:
TemplateContent|contains: 1.3.6.1.4.1.311.20.2.2
TemplateContent|contains: 1.3.6.1.5.2.3.4
TemplateContent|contains: 1.3.6.1.5.5.7.3.2
TemplateContent|contains: 2.5.29.37.0

Stage 2: selection11

TemplateContent|contains: 'CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT'

Stage 3: selection20

or:
NewTemplateContent|contains: 1.3.6.1.4.1.311.20.2.2
NewTemplateContent|contains: 1.3.6.1.5.2.3.4
NewTemplateContent|contains: 1.3.6.1.5.5.7.3.2
NewTemplateContent|contains: 2.5.29.37.0

Stage 4: selection21

NewTemplateContent|contains: 'CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
NewTemplateContentmatch
  • 1.3.6.1.4.1.311.20.2.2
  • 1.3.6.1.5.2.3.4
  • 1.3.6.1.5.5.7.3.2
  • 2.5.29.37.0
  • CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT corpus 2 (sigma 2)
TemplateContentmatch
  • 1.3.6.1.4.1.311.20.2.2
  • 1.3.6.1.5.2.3.4
  • 1.3.6.1.5.5.7.3.2
  • 2.5.29.37.0
  • CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT corpus 2 (sigma 2)

Neighbors

Often fire together

Rules that target events appearing in the same incident timelines. They pattern-match on adjacent steps of the same TTP, so an alert from one is often paired with alerts from these. Useful for triage context and for assembling chained-detection rules.

Share event IDs (chain-detection candidates)

Rules that observe the same Windows event-ID pairs as this one. If you're authoring a multi-stage / sequence rule that spans these events, these are the existing detections that already cover one or both endpoints.