let threshold = 10;
Bitglass
| where EventType =~ 'access'
| where EventResultDetails =~ 'Failed login attempt.'
| summarize count() by User, bin(TimeGenerated, 10m)
| where count_ >= threshold
| extend AccountCustomEntity = User
description: |
'Detects multiple failed logins.'
queryPeriod: 1h
name: Bitglass - Multiple failed logins
triggerThreshold: 0
tactics:
- CredentialAccess
severity: High
kind: Scheduled
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
queryFrequency: 1h
triggerOperator: gt
id: 7c570bfc-9f20-490e-80e8-b898c7ce4bda
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassMultipleFailedLogins.yaml
version: 1.0.1
query: |
let threshold = 10;
Bitglass
| where EventType =~ 'access'
| where EventResultDetails =~ 'Failed login attempt.'
| summarize count() by User, bin(TimeGenerated, 10m)
| where count_ >= threshold
| extend AccountCustomEntity = User
requiredDataConnectors:
- connectorId: Bitglass
dataTypes:
- Bitglass
relevantTechniques:
- T1110
{
"$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/7c570bfc-9f20-490e-80e8-b898c7ce4bda')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/7c570bfc-9f20-490e-80e8-b898c7ce4bda')]",
"properties": {
"alertRuleTemplateName": "7c570bfc-9f20-490e-80e8-b898c7ce4bda",
"customDetails": null,
"description": "'Detects multiple failed logins.'\n",
"displayName": "Bitglass - Multiple failed logins",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassMultipleFailedLogins.yaml",
"query": "let threshold = 10;\nBitglass\n| where EventType =~ 'access'\n| where EventResultDetails =~ 'Failed login attempt.'\n| summarize count() by User, bin(TimeGenerated, 10m)\n| where count_ >= threshold\n| extend AccountCustomEntity = User\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"CredentialAccess"
],
"techniques": [
"T1110"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}