Detection rules › Kusto

Apache - Apache 2.4.49 flaw CVE-2021-41773

Status
available
Severity
high
Time window
10m
Source
github.com/Azure/Azure-Sentinel

'Detects using Apache 2.4.49 flaw CVE-2021-41773'

MITRE ATT&CK coverage

Rule body kusto

id: 767f9dc4-3b01-11ec-8d3d-0242ac130003
name: Apache - Apache 2.4.49 flaw CVE-2021-41773 
description: |
  'Detects using Apache 2.4.49 flaw CVE-2021-41773'
severity: High
status: Available
requiredDataConnectors:
  - connectorId: CustomLogsAma
    datatypes:
      - ApacheHTTPServer_CL
queryFrequency: 10m
queryPeriod: 10m
triggerOperator: gt
triggerThreshold: 0
tactics:
  - InitialAccess
  - LateralMovement
relevantTechniques:
  - T1190
  - T1133
  - T1210
query: |
  ApacheHTTPServer
  | where HttpRequestMethod =~ "GET"
  | where UrlOriginal has_all ("/cgi-bin/", "/%2e%2e/")
  | where HttpStatusCode == "200" 
  | extend UrlCustomEntity = UrlOriginal
entityMappings:
  - entityType: URL
    fieldMappings:
      - identifier: Url
        columnName: UrlCustomEntity
version: 1.0.3
kind: Scheduled

Stages and Predicates

Stage 1: source

ApacheHTTPServer

Stage 2: where

| where HttpRequestMethod =~ "GET"

Stage 3: where

| where UrlOriginal has_all ("/cgi-bin/", "/%2e%2e/")

Stage 4: where

| where HttpStatusCode == "200"

Stage 5: extend

| extend UrlCustomEntity = UrlOriginal

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
HttpRequestMethodeq
  • GET
HttpStatusCodeeq
  • 200 transforms: cased
UrlOriginalmatch
  • /%2e%2e/
  • /cgi-bin/

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

FieldSource
UrlCustomEntityextend