Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Cookies HttpOnly Flag Not Used

Back
Ide303d68e-08a7-4382-ab31-6a4bd80e8066
RulenameCookies: HttpOnly Flag Not Used
DescriptionCookies: HttpOnly Flag Not Used
SeverityMedium
TacticsCredentialAccess
TechniquesT1606.001
Required data connectorsHVPollingIDAzureFunctions
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CookiesHttponlyFlagNotUsed.yaml
Version1.0.2
Arm templatee303d68e-08a7-4382-ab31-6a4bd80e8066.json
Deploy To Azure
HackerViewLog_Azure_1_CL | where severity_s == "medium" | where progress_status_s == "New" | where status_s != "inactive"  | where issue_name_s == "Cookies: HttpOnly Flag Not Used"
relevantTechniques:
- T1606.001
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    lookbackDuration: PT5H
    groupByCustomDetails: []
    groupByAlertDetails: []
    enabled: false
    reopenClosedIncident: false
    matchingMethod: AllEntities
    groupByEntities: []
name: 'Cookies: HttpOnly Flag Not Used'
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: e303d68e-08a7-4382-ab31-6a4bd80e8066
tactics:
- CredentialAccess
version: 1.0.2
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CookiesHttponlyFlagNotUsed.yaml
queryPeriod: 5m
kind: Scheduled
eventGroupingSettings:
  aggregationKind: SingleAlert
suppressionDuration: 5h
queryFrequency: 5m
severity: Medium
status: Available
suppressionEnabled: false
description: |
    'Cookies: HttpOnly Flag Not Used'
query: 'HackerViewLog_Azure_1_CL | where severity_s == "medium" | where progress_status_s == "New" | where status_s != "inactive"  | where issue_name_s == "Cookies: HttpOnly Flag Not Used"'
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/e303d68e-08a7-4382-ab31-6a4bd80e8066')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/e303d68e-08a7-4382-ab31-6a4bd80e8066')]",
      "properties": {
        "alertRuleTemplateName": "e303d68e-08a7-4382-ab31-6a4bd80e8066",
        "customDetails": null,
        "description": "'Cookies: HttpOnly Flag Not Used'\n",
        "displayName": "Cookies: HttpOnly Flag Not Used",
        "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/CookiesHttponlyFlagNotUsed.yaml",
        "query": "HackerViewLog_Azure_1_CL | where severity_s == \"medium\" | where progress_status_s == \"New\" | where status_s != \"inactive\"  | where issue_name_s == \"Cookies: HttpOnly Flag Not Used\"",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [
          "T1606.001"
        ],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess"
        ],
        "techniques": [
          "T1606"
        ],
        "templateVersion": "1.0.2",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}