Detection rules › Kusto

PAC high severity

Status
available
Severity
high
Time window
5h
Source
github.com/Azure/Azure-Sentinel

'High severity alerts found by Prancer.'

MITRE ATT&CK coverage

TacticTechniques
ReconnaissanceT1595 Active Scanning

Rule body kusto

id: 7caa1c03-d20b-42f2-ac95-5232f6e570da
name:  PAC high severity
description: |
  'High severity  alerts found by Prancer.'
severity: High
requiredDataConnectors:
- connectorId: PrancerLogData
  dataTypes:
    - prancer_CL
queryFrequency: 5h
queryPeriod: 5h
triggerOperator: gt
triggerThreshold: 0
eventGroupingSettings:
  aggregationKind: SingleAlert
status: Available
tactics:
  - Reconnaissance
relevantTechniques:
  - T1595
query: |
 union prancer_CL
  | where data_data_resourceID_s contains 'Microsoft.Compute' and severity_s == 'High'
  | project
      Name = name_s,
      Severity = severity_s,
      Description = data_alert_description_s,
      URL = data_alert_url_s,
      Resource = data_data_resourceID_s,
      Config_ID = data_data_configId_s,
      Collection = data_data_applicationName_s,
      MITRE = data_alert_mitreId_s,
      Company = companyName_s,
      Solution = data_alert_solution_s,
      WASC_ID = data_alert_wascid_s,
      CWE_ID = data_alert_cweid_s,
      Evidence = data_alert_evidence_s,
      Request_Header = data_data_requestHeader_s,
      Request_Body = data_data_requestBody_s,
      Response_Header = data_data_responseHeader_s,
      Response_Body = data_data_responseBody_s,
      Other_Data = data_alert_other_s
entityMappings:
  - entityType: AzureResource
    fieldMappings:
      - identifier: ResourceId
        columnName: Resource
  - entityType: URL
    fieldMappings:
      - identifier: Url
        columnName: URL
alertDetailsOverride:
  alertDisplayNameFormat: "{{data_data_message_s}}"  
  alertDescriptionFormat: "{{data_data_description_s}}"
  alertSeverityColumnName: "{{data_data_severity_s}}"
  alertDynamicProperties:
    - alertProperty: RemediationSteps
      value: data_data_remediation_description_s
version: 1.0.2
kind: Scheduled

Stages and Predicates

Stage 1: union

union

Stage 2: source

prancer_CL

Stage 3: where

| where data_data_resourceID_s contains 'Microsoft.Compute' and severity_s == 'High'

Stage 4: project

| project
     Name = name_s,
     Severity = severity_s,
     Description = data_alert_description_s,
     URL = data_alert_url_s,
     Resource = data_data_resourceID_s,
     Config_ID = data_data_configId_s,
     Collection = data_data_applicationName_s,
     MITRE = data_alert_mitreId_s,
     Company = companyName_s,
     Solution = data_alert_solution_s,
     WASC_ID = data_alert_wascid_s,
     CWE_ID = data_alert_cweid_s,
     Evidence = data_alert_evidence_s,
     Request_Header = data_data_requestHeader_s,
     Request_Body = data_data_requestBody_s,
     Response_Header = data_data_responseHeader_s,
     Response_Body = data_data_responseBody_s,
     Other_Data = data_alert_other_s

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
data_data_resourceID_scontains
  • Microsoft.Compute
severity_seq
  • High transforms: cased

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
CWE_IDproject
Collectionproject
Companyproject
Config_IDproject
Descriptionproject
Evidenceproject
MITREproject
Nameproject
Other_Dataproject
Request_Bodyproject
Request_Headerproject
Resourceproject
Response_Bodyproject
Response_Headerproject
Severityproject
Solutionproject
URLproject
WASC_IDproject