Back
Id33B07EAA-F451-4C38-AC9F-8AF3F7E99F0E
RulenameCyble Vision Alerts Compromised Endpoint Cookies
DescriptionDetects compromised browser cookies associated with monitored entities. Identifies exposed authentication cookies with future expiry, enabling potential session hijacking or persistent unauthorized access.
SeverityLow
TacticsCredentialAccess
DefenseEvasion
TechniquesT1539
T1550
Required data connectorsCybleVisionAlerts
KindScheduled
Query frequency30m
Query period30m
Trigger threshold0
Trigger operatorGreaterThan
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cyble%20Vision/Analytic%20Rules/Alerts_Compromised_Endpoints_Cookies.yaml
Version1.0.0
Arm template33B07EAA-F451-4C38-AC9F-8AF3F7E99F0E.json
Deploy To Azure
Alerts_compromised_endpoints_cookies
| where Service == "compromised_endpoints_cookies"
| extend MappedSeverity = Severity
customDetails:
  MappedSeverity: Severity
  CookieExpiry: CEC_Expiry
  CookieEmail: CEC_Email
  Status: Status
  AlertID: AlertID
  CookieURL: CEC_URL
  CookieDomain: CEC_EmailDomain
  CookieSessionID: CEC_SessionID
  Service: Service
alertDetailsOverride:
  alertDescriptionFormat: |
    A compromised browser session cookie associated with {{CEC_EmailDomain}} was detected for service {{CEC_URL}}. The cookie has not expired and may allow session hijacking. Session ID {{CEC_SessionID}}.
  alertDisplayNameFormat: Compromised Session Cookie {{CEC_Email}} {{CEC_URL}}
severity: Low
relevantTechniques:
- T1539
- T1550
requiredDataConnectors:
- connectorId: CybleVisionAlerts
  dataTypes:
  - CybleVisionAlerts_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cyble%20Vision/Analytic%20Rules/Alerts_Compromised_Endpoints_Cookies.yaml
queryPeriod: 30m
queryfrequency: 30m
entityMappings:
- fieldMappings:
  - identifier: Url
    columnName: CEC_URL
  entityType: Url
- fieldMappings:
  - identifier: FullName
    columnName: CEC_Email
  entityType: Account
kind: Scheduled
triggerOperator: GreaterThan
status: Available
query: |
  Alerts_compromised_endpoints_cookies
  | where Service == "compromised_endpoints_cookies"
  | extend MappedSeverity = Severity
incidentConfiguration:
  groupingConfiguration:
    enabled: false
    reopenClosedIncident: false
    lookbackDuration: PT5H
    matchingMethod: AllEntities
  createIncident: true
eventGroupingSettings:
  aggregationKind: AlertPerResult
suppressionDuration: PT1H
name: Cyble Vision Alerts Compromised Endpoint Cookies
tactics:
- CredentialAccess
- DefenseEvasion
triggerThreshold: 0
version: 1.0.0
id: 33B07EAA-F451-4C38-AC9F-8AF3F7E99F0E
description: |
  'Detects compromised browser cookies associated with monitored entities. Identifies exposed authentication cookies with future expiry, enabling potential session hijacking or persistent unauthorized access.'
enabled: true
{
  "$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/33B07EAA-F451-4C38-AC9F-8AF3F7E99F0E')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/33B07EAA-F451-4C38-AC9F-8AF3F7E99F0E')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "A compromised browser session cookie associated with {{CEC_EmailDomain}} was detected for service {{CEC_URL}}. The cookie has not expired and may allow session hijacking. Session ID {{CEC_SessionID}}.\n",
          "alertDisplayNameFormat": "Compromised Session Cookie {{CEC_Email}} {{CEC_URL}}"
        },
        "alertRuleTemplateName": "33B07EAA-F451-4C38-AC9F-8AF3F7E99F0E",
        "customDetails": {
          "AlertID": "AlertID",
          "CookieDomain": "CEC_EmailDomain",
          "CookieEmail": "CEC_Email",
          "CookieExpiry": "CEC_Expiry",
          "CookieSessionID": "CEC_SessionID",
          "CookieURL": "CEC_URL",
          "MappedSeverity": "Severity",
          "Service": "Service",
          "Status": "Status"
        },
        "description": "'Detects compromised browser cookies associated with monitored entities. Identifies exposed authentication cookies with future expiry, enabling potential session hijacking or persistent unauthorized access.'\n",
        "displayName": "Cyble Vision Alerts Compromised Endpoint Cookies",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Url",
            "fieldMappings": [
              {
                "columnName": "CEC_URL",
                "identifier": "Url"
              }
            ]
          },
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "CEC_Email",
                "identifier": "FullName"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "lookbackDuration": "PT5H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cyble%20Vision/Analytic%20Rules/Alerts_Compromised_Endpoints_Cookies.yaml",
        "query": "Alerts_compromised_endpoints_cookies\n| where Service == \"compromised_endpoints_cookies\"\n| extend MappedSeverity = Severity\n",
        "queryfrequency": "PT30M",
        "queryPeriod": "PT30M",
        "severity": "Low",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess",
          "DefenseEvasion"
        ],
        "techniques": [
          "T1539",
          "T1550"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}