Back
IdB1DB8B7E-9D74-48C3-9683-74483CBEFF4E
RulenameVersasec CMS - Multiple Failed Login Attempts
DescriptionDetects when Operator login failed to often.
SeverityHigh
TacticsCredentialAccess
TechniquesT1110
Required data connectorsVersasecCms
KindScheduled
Query frequency5m
Query period1h
Trigger threshold5
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VersasecCMS/Analytic%20Rules/VersasecCmsOperatorLoginFailed.yaml
Version1.0.1
Arm templateB1DB8B7E-9D74-48C3-9683-74483CBEFF4E.json
Deploy To Azure
let threshold = 5;
VersasecCmsSysLogs 
| where EventId == 2 
| sort by ComputerName asc, TimeGenerated asc
| extend TimeDiff = datetime_diff('minute', TimeGenerated, prev(TimeGenerated))
| where TimeDiff <= threshold and ComputerName == prev(ComputerName)
requiredDataConnectors:
- dataTypes:
  - VersasecCmsSysLogs
  connectorId: VersasecCms
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VersasecCMS/Analytic%20Rules/VersasecCmsOperatorLoginFailed.yaml
version: 1.0.1
status: Available
incidentConfiguration:
  groupingConfiguration:
    reopenClosedIncident: false
    matchingMethod: AllEntities
    enabled: false
    lookbackDuration: 5m
  createIncident: true
queryFrequency: 5m
query: |
  let threshold = 5;
  VersasecCmsSysLogs 
  | where EventId == 2 
  | sort by ComputerName asc, TimeGenerated asc
  | extend TimeDiff = datetime_diff('minute', TimeGenerated, prev(TimeGenerated))
  | where TimeDiff <= threshold and ComputerName == prev(ComputerName)
tactics:
- CredentialAccess
relevantTechniques:
- T1110
id: B1DB8B7E-9D74-48C3-9683-74483CBEFF4E
triggerThreshold: 5
triggerOperator: gt
name: Versasec CMS - Multiple Failed Login Attempts
queryPeriod: 1h
severity: High
entityMappings:
- fieldMappings:
  - columnName: ComputerName
    identifier: FullName
  entityType: Host
kind: Scheduled
eventGroupingSettings:
  aggregationKind: SingleAlert
description: |
  Detects when Operator login failed to often.
{
  "$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/B1DB8B7E-9D74-48C3-9683-74483CBEFF4E')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/B1DB8B7E-9D74-48C3-9683-74483CBEFF4E')]",
      "properties": {
        "alertRuleTemplateName": "B1DB8B7E-9D74-48C3-9683-74483CBEFF4E",
        "customDetails": null,
        "description": "Detects when Operator login failed to often.\n",
        "displayName": "Versasec CMS - Multiple Failed Login Attempts",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "ComputerName",
                "identifier": "FullName"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "SingleAlert"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "lookbackDuration": "PT5M",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/VersasecCMS/Analytic%20Rules/VersasecCmsOperatorLoginFailed.yaml",
        "query": "let threshold = 5;\nVersasecCmsSysLogs \n| where EventId == 2 \n| sort by ComputerName asc, TimeGenerated asc\n| extend TimeDiff = datetime_diff('minute', TimeGenerated, prev(TimeGenerated))\n| where TimeDiff <= threshold and ComputerName == prev(ComputerName)\n",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT1H",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess"
        ],
        "techniques": [
          "T1110"
        ],
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 5
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}