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

Multiple failed attempts of NetBackup login

Back
Idd39f0c47-2e85-49b9-a686-388c2eb7062c
RulenameMultiple failed attempts of NetBackup login
DescriptionThis rule generates an incident when there are more than 5 failed login attemts for a given host in the last 15 minutes.
SeverityMedium
TacticsCredentialAccess
Discovery
TechniquesT1110
T1212
KindScheduled
Query frequency15m
Query period15m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Veritas NetBackup/Analytic Rules/NetBackup_many_login_fail.yaml
Version1.0.0
Arm templated39f0c47-2e85-49b9-a686-388c2eb7062c.json
Deploy To Azure
NetBackupAlerts_CL
| where operation_s contains "LOGIN" and Message contains "authentication failed" 
| extend userName =  split(userName_s, "@")[0]
| extend host = split(userName_s, "@")[1] 
| summarize Total=count() by tostring(host)
| where Total >= 5
severity: Medium
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Veritas NetBackup/Analytic Rules/NetBackup_many_login_fail.yaml
id: d39f0c47-2e85-49b9-a686-388c2eb7062c
name: Multiple failed attempts of NetBackup login
query: |-
  NetBackupAlerts_CL
  | where operation_s contains "LOGIN" and Message contains "authentication failed" 
  | extend userName =  split(userName_s, "@")[0]
  | extend host = split(userName_s, "@")[1] 
  | summarize Total=count() by tostring(host)
  | where Total >= 5  
entityMappings:
- fieldMappings:
  - columnName: host
    identifier: HostName
  entityType: Host
queryPeriod: 15m
triggerThreshold: 0
eventGroupingSettings:
  aggregationKind: SingleAlert
tactics:
- CredentialAccess
- Discovery
version: 1.0.0
kind: Scheduled
relevantTechniques:
- T1110
- T1212
suppressionEnabled: false
queryFrequency: 15m
status: Available
requiredDataConnectors: []
description: This rule generates an incident when there are more than 5 failed login attemts for a given host in the last 15 minutes.
suppressionDuration: PT5H
incidentConfiguration:
  groupingConfiguration:
    enabled: false
    matchingMethod: AllEntities
    lookbackDuration: 5h
    reopenClosedIncident: false
  createIncident: true
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": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/d39f0c47-2e85-49b9-a686-388c2eb7062c')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/d39f0c47-2e85-49b9-a686-388c2eb7062c')]",
      "properties": {
        "alertRuleTemplateName": "d39f0c47-2e85-49b9-a686-388c2eb7062c",
        "customDetails": null,
        "description": "This rule generates an incident when there are more than 5 failed login attemts for a given host in the last 15 minutes.",
        "displayName": "Multiple failed attempts of NetBackup login",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "host",
                "identifier": "HostName"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "SingleAlert"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "lookbackDuration": "PT5H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Veritas NetBackup/Analytic Rules/NetBackup_many_login_fail.yaml",
        "query": "NetBackupAlerts_CL\n| where operation_s contains \"LOGIN\" and Message contains \"authentication failed\" \n| extend userName =  split(userName_s, \"@\")[0]\n| extend host = split(userName_s, \"@\")[1] \n| summarize Total=count() by tostring(host)\n| where Total >= 5",
        "queryFrequency": "PT15M",
        "queryPeriod": "PT15M",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess",
          "Discovery"
        ],
        "techniques": [
          "T1110",
          "T1212"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}