Header Content Security Policy Missing
Id | 0765fa90-1198-4241-960b-975387ac73fa |
Rulename | Header: Content Security Policy Missing |
Description | Header: Content Security Policy Missing |
Severity | High |
Tactics | InitialAccess |
Techniques | T1190 T1566 |
Required data connectors | HVPollingIDAzureFunctions |
Kind | Scheduled |
Query frequency | 5m |
Query period | 5m |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/HeaderContentSecurityPolicyMissing.yaml |
Version | 1.0.2 |
Arm template | 0765fa90-1198-4241-960b-975387ac73fa.json |
HackerViewLog_Azure_1_CL | where severity_s == "high" | where progress_status_s == "New" | where status_s != "inactive" | where issue_name_s == "Header: Content Security Policy Missing"
relevantTechniques:
- T1190
- T1566
incidentConfiguration:
createIncident: true
groupingConfiguration:
lookbackDuration: PT5H
groupByCustomDetails: []
groupByAlertDetails: []
enabled: false
reopenClosedIncident: false
matchingMethod: AllEntities
groupByEntities: []
name: 'Header: Content Security Policy Missing'
requiredDataConnectors:
- dataTypes:
- HackerViewLog_Azure_1_CL
connectorId: HVPollingIDAzureFunctions
entityMappings:
- fieldMappings:
- identifier: Address
columnName: meta_resolved_ip_s
entityType: IP
- fieldMappings:
- identifier: HostName
columnName: meta_host_s
entityType: Host
- fieldMappings:
- identifier: Url
columnName: hackerview_link_s
entityType: URL
triggerThreshold: 0
id: 0765fa90-1198-4241-960b-975387ac73fa
tactics:
- InitialAccess
version: 1.0.2
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/HeaderContentSecurityPolicyMissing.yaml
queryPeriod: 5m
kind: Scheduled
eventGroupingSettings:
aggregationKind: SingleAlert
suppressionDuration: 5h
queryFrequency: 5m
severity: High
status: Available
suppressionEnabled: false
description: |
'Header: Content Security Policy Missing'
query: 'HackerViewLog_Azure_1_CL | where severity_s == "high" | where progress_status_s == "New" | where status_s != "inactive" | where issue_name_s == "Header: Content Security Policy Missing"'
triggerOperator: gt
{
"$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/0765fa90-1198-4241-960b-975387ac73fa')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/0765fa90-1198-4241-960b-975387ac73fa')]",
"properties": {
"alertRuleTemplateName": "0765fa90-1198-4241-960b-975387ac73fa",
"customDetails": null,
"description": "'Header: Content Security Policy Missing'\n",
"displayName": "Header: Content Security Policy Missing",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "meta_resolved_ip_s",
"identifier": "Address"
}
]
},
{
"entityType": "Host",
"fieldMappings": [
{
"columnName": "meta_host_s",
"identifier": "HostName"
}
]
},
{
"entityType": "URL",
"fieldMappings": [
{
"columnName": "hackerview_link_s",
"identifier": "Url"
}
]
}
],
"eventGroupingSettings": {
"aggregationKind": "SingleAlert"
},
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": false,
"groupByAlertDetails": [],
"groupByCustomDetails": [],
"groupByEntities": [],
"lookbackDuration": "PT5H",
"matchingMethod": "AllEntities",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/HeaderContentSecurityPolicyMissing.yaml",
"query": "HackerViewLog_Azure_1_CL | where severity_s == \"high\" | where progress_status_s == \"New\" | where status_s != \"inactive\" | where issue_name_s == \"Header: Content Security Policy Missing\"",
"queryFrequency": "PT5M",
"queryPeriod": "PT5M",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT5H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1190",
"T1566"
],
"templateVersion": "1.0.2",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}