Cookies SameSite Flag Not Used
Id | f4a06203-66f0-4f84-8bc8-05a44161b426 |
Rulename | Cookies: SameSite Flag Not Used |
Description | Cookies: SameSite Flag Not Used |
Severity | Informational |
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/CookiesSamesiteFlagNotUsed.yaml |
Version | 1.0.2 |
Arm template | f4a06203-66f0-4f84-8bc8-05a44161b426.json |
HackerViewLog_Azure_1_CL | where severity_s == "informational" | where progress_status_s == "New" | where status_s != "inactive" | where issue_name_s == "Cookies: SameSite Flag Not Used"
name: 'Cookies: SameSite Flag Not Used'
version: 1.0.2
severity: Informational
queryFrequency: 5m
triggerOperator: gt
suppressionEnabled: false
relevantTechniques:
- T1190
- T1566
status: Available
description: |
'Cookies: SameSite Flag Not Used'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CookiesSamesiteFlagNotUsed.yaml
requiredDataConnectors:
- connectorId: HVPollingIDAzureFunctions
dataTypes:
- HackerViewLog_Azure_1_CL
entityMappings:
- fieldMappings:
- identifier: Address
columnName: meta_resolved_ip_s
entityType: IP
- fieldMappings:
- identifier: Url
columnName: hackerview_link_s
entityType: URL
- fieldMappings:
- identifier: HostName
columnName: meta_host_s
entityType: Host
tactics:
- InitialAccess
queryPeriod: 5m
suppressionDuration: 5h
query: 'HackerViewLog_Azure_1_CL | where severity_s == "informational" | where progress_status_s == "New" | where status_s != "inactive" | where issue_name_s == "Cookies: SameSite Flag Not Used"'
incidentConfiguration:
createIncident: true
groupingConfiguration:
matchingMethod: AllEntities
lookbackDuration: PT5H
enabled: false
groupByEntities: []
reopenClosedIncident: false
groupByAlertDetails: []
groupByCustomDetails: []
kind: Scheduled
eventGroupingSettings:
aggregationKind: SingleAlert
triggerThreshold: 0
id: f4a06203-66f0-4f84-8bc8-05a44161b426
{
"$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/f4a06203-66f0-4f84-8bc8-05a44161b426')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/f4a06203-66f0-4f84-8bc8-05a44161b426')]",
"properties": {
"alertRuleTemplateName": "f4a06203-66f0-4f84-8bc8-05a44161b426",
"customDetails": null,
"description": "'Cookies: SameSite Flag Not Used'\n",
"displayName": "Cookies: SameSite Flag Not Used",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "meta_resolved_ip_s",
"identifier": "Address"
}
]
},
{
"entityType": "URL",
"fieldMappings": [
{
"columnName": "hackerview_link_s",
"identifier": "Url"
}
]
},
{
"entityType": "Host",
"fieldMappings": [
{
"columnName": "meta_host_s",
"identifier": "HostName"
}
]
}
],
"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/CookiesSamesiteFlagNotUsed.yaml",
"query": "HackerViewLog_Azure_1_CL | where severity_s == \"informational\" | where progress_status_s == \"New\" | where status_s != \"inactive\" | where issue_name_s == \"Cookies: SameSite Flag Not Used\"",
"queryFrequency": "PT5M",
"queryPeriod": "PT5M",
"severity": "Informational",
"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"
}
]
}