Analytic rule catalog
Unauthenticated API Endpoint with Sensitive Data
Back
| Id | 479bc6ef-ecb3-496f-9a2a-38c9635d77d3 |
| Rulename | Unauthenticated API Endpoint with Sensitive Data |
| Description | Detects internet-facing API endpoints with no authentication that handle sensitive data classifications (PII, Financial, PHI, Confidential). Uses StratoSecure_ApiInventory_CL from Phase 6 API inventory discovery. |
| Severity | High |
| Tactics | InitialAccess |
| Techniques | T1190 |
| Required data connectors | StratoSecurePush |
| Kind | Scheduled |
| Query frequency | 6h |
| Query period | 375m |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/StratoSecure/Analytic%20Rules/S9_UnauthenticatedAPI_Internet.yaml |
| Version | 1.0.0 |
| Arm template | 479bc6ef-ecb3-496f-9a2a-38c9635d77d3.json |
let sensitiveDataClasses = dynamic(["PII", "Financial", "PHI", "Confidential"]);
StratoSecure_ApiInventory_CL
| where TimeGenerated >= ago(6h)
| where InternetExposure == true
| where AuthType =~ "none" or isempty(AuthType)
| where DataClassification has_any (sensitiveDataClasses)
| summarize EndpointCount = count(), Endpoints = make_set(Path, 50),
Methods = make_set(Method), DataClasses = make_set(DataClassification),
EndTime = max(TimeGenerated)
by ApplicationId = ServiceName, StraTenantId
| project TimeGenerated = EndTime, ApplicationId, StraTenantId,
EndpointCount, Endpoints, Methods, DataClasses
name: Unauthenticated API Endpoint with Sensitive Data
triggerOperator: gt
query: |
let sensitiveDataClasses = dynamic(["PII", "Financial", "PHI", "Confidential"]);
StratoSecure_ApiInventory_CL
| where TimeGenerated >= ago(6h)
| where InternetExposure == true
| where AuthType =~ "none" or isempty(AuthType)
| where DataClassification has_any (sensitiveDataClasses)
| summarize EndpointCount = count(), Endpoints = make_set(Path, 50),
Methods = make_set(Method), DataClasses = make_set(DataClassification),
EndTime = max(TimeGenerated)
by ApplicationId = ServiceName, StraTenantId
| project TimeGenerated = EndTime, ApplicationId, StraTenantId,
EndpointCount, Endpoints, Methods, DataClasses
queryFrequency: 6h
description: |
Detects internet-facing API endpoints with no authentication that handle
sensitive data classifications (PII, Financial, PHI, Confidential).
Uses StratoSecure_ApiInventory_CL from Phase 6 API inventory discovery.
id: 479bc6ef-ecb3-496f-9a2a-38c9635d77d3
triggerThreshold: 0
queryPeriod: 375m
version: 1.0.0
kind: Scheduled
status: Available
severity: High
requiredDataConnectors:
- connectorId: StratoSecurePush
dataTypes:
- StratoSecure_ApiInventory_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/StratoSecure/Analytic%20Rules/S9_UnauthenticatedAPI_Internet.yaml
relevantTechniques:
- T1190
tactics:
- InitialAccess
entityMappings:
- fieldMappings:
- identifier: AppId
columnName: ApplicationId
entityType: CloudApplication
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"apiVersion": "2024-01-01-preview",
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/479bc6ef-ecb3-496f-9a2a-38c9635d77d3')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/479bc6ef-ecb3-496f-9a2a-38c9635d77d3')]",
"properties": {
"alertRuleTemplateName": "479bc6ef-ecb3-496f-9a2a-38c9635d77d3",
"customDetails": null,
"description": "Detects internet-facing API endpoints with no authentication that handle\nsensitive data classifications (PII, Financial, PHI, Confidential).\nUses StratoSecure_ApiInventory_CL from Phase 6 API inventory discovery.\n",
"displayName": "Unauthenticated API Endpoint with Sensitive Data",
"enabled": true,
"entityMappings": [
{
"entityType": "CloudApplication",
"fieldMappings": [
{
"columnName": "ApplicationId",
"identifier": "AppId"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/StratoSecure/Analytic%20Rules/S9_UnauthenticatedAPI_Internet.yaml",
"query": "let sensitiveDataClasses = dynamic([\"PII\", \"Financial\", \"PHI\", \"Confidential\"]);\nStratoSecure_ApiInventory_CL\n | where TimeGenerated >= ago(6h)\n | where InternetExposure == true\n | where AuthType =~ \"none\" or isempty(AuthType)\n | where DataClassification has_any (sensitiveDataClasses)\n | summarize EndpointCount = count(), Endpoints = make_set(Path, 50),\n Methods = make_set(Method), DataClasses = make_set(DataClassification),\n EndTime = max(TimeGenerated)\n by ApplicationId = ServiceName, StraTenantId\n | project TimeGenerated = EndTime, ApplicationId, StraTenantId,\n EndpointCount, Endpoints, Methods, DataClasses\n",
"queryFrequency": "PT6H",
"queryPeriod": "PT375M",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1190"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}