Bitglass
| where EventType =~ 'access'
| where EventMessage =~ 'Login'
| summarize dev = makeset(Dvc) by User
| join (Bitglass
| where EventType =~ 'access'
| where EventMessage =~ 'Login') on User
| where dev !contains Dvc
| extend AccountCustomEntity = User
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassNewDevice.yaml
version: 1.0.0
queryPeriod: 14d
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AccountCustomEntity
triggerThreshold: 0
query: |
Bitglass
| where EventType =~ 'access'
| where EventMessage =~ 'Login'
| summarize dev = makeset(Dvc) by User
| join (Bitglass
| where EventType =~ 'access'
| where EventMessage =~ 'Login') on User
| where dev !contains Dvc
| extend AccountCustomEntity = User
queryFrequency: 1h
description: |
'Detects when a user logins from new device.'
relevantTechniques:
- T1078
id: bfca0251-1581-4185-906b-4805099e3216
requiredDataConnectors:
- connectorId: Bitglass
dataTypes:
- Bitglass
status: Available
severity: Medium
tactics:
- InitialAccess
kind: Scheduled
triggerOperator: gt
name: Bitglass - Login from new device
{
"$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/bfca0251-1581-4185-906b-4805099e3216')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/bfca0251-1581-4185-906b-4805099e3216')]",
"properties": {
"alertRuleTemplateName": "bfca0251-1581-4185-906b-4805099e3216",
"customDetails": null,
"description": "'Detects when a user logins from new device.'\n",
"displayName": "Bitglass - Login from new device",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "Name"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Bitglass/Analytic Rules/BitglassNewDevice.yaml",
"query": "Bitglass\n| where EventType =~ 'access'\n| where EventMessage =~ 'Login'\n| summarize dev = makeset(Dvc) by User\n| join (Bitglass\n | where EventType =~ 'access'\n | where EventMessage =~ 'Login') on User\n| where dev !contains Dvc\n| extend AccountCustomEntity = User\n",
"queryFrequency": "PT1H",
"queryPeriod": "P14D",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1078"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}