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
status: Available
queryFrequency: 15m
description: This rule generates an incident when there are more than 5 failed login attemts for a given host in the last 15 minutes.
severity: Medium
version: 1.0.0
relevantTechniques:
- T1110
- T1212
incidentConfiguration:
  groupingConfiguration:
    reopenClosedIncident: false
    matchingMethod: AllEntities
    enabled: false
    lookbackDuration: 5h
  createIncident: true
suppressionDuration: PT5H
name: Multiple failed attempts of NetBackup login
triggerThreshold: 0
suppressionEnabled: false
eventGroupingSettings:
  aggregationKind: SingleAlert
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  
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Veritas NetBackup/Analytic Rules/NetBackup_many_login_fail.yaml
requiredDataConnectors: []
kind: Scheduled
tactics:
- CredentialAccess
- Discovery
id: d39f0c47-2e85-49b9-a686-388c2eb7062c
queryPeriod: 15m
entityMappings:
- fieldMappings:
  - columnName: host
    identifier: HostName
  entityType: Host
{
  "$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/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",
        "subTechniques": [],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "CredentialAccess",
          "Discovery"
        ],
        "techniques": [
          "T1110",
          "T1212"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}