SenservaPro_CL
| where ControlName_s == 'UserStaleLastPasswordChange'
version: 1.0.0
name: Stale last password change
severity: Low
queryFrequency: 6h
kind: Scheduled
queryPeriod: 6h
description: |
'This query searches for stale last password change'
query: |
SenservaPro_CL
| where ControlName_s == 'UserStaleLastPasswordChange'
tactics:
- InitialAccess
triggerOperator: gt
entityMappings:
- entityType: Account
fieldMappings:
- columnName: ControlName_s
identifier: Name
- columnName: TenantId
identifier: AadTenantId
- columnName: TenantDisplayName_s
identifier: DisplayName
- entityType: SecurityGroup
fieldMappings:
- columnName: Group_s
identifier: DistinguishedName
- entityType: AzureResource
fieldMappings:
- columnName: SourceSystem
identifier: ResourceId
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SenservaPro/Analytic Rules/SearchStaleLastPasswordChange.yaml
requiredDataConnectors:
- connectorId: SenservaPro
dataTypes:
- SenservaPro_CL
status: Available
relevantTechniques:
- T1566
id: 645A8724-5C7E-4A1F-81CB-C33AFF1439EB
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/645A8724-5C7E-4A1F-81CB-C33AFF1439EB')]",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/645A8724-5C7E-4A1F-81CB-C33AFF1439EB')]",
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
"kind": "Scheduled",
"apiVersion": "2022-11-01-preview",
"properties": {
"displayName": "Stale last password change",
"description": "'This query searches for stale last password change'\n",
"severity": "Low",
"enabled": true,
"query": "SenservaPro_CL\n| where ControlName_s == 'UserStaleLastPasswordChange'\n",
"queryFrequency": "PT6H",
"queryPeriod": "PT6H",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0,
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"InitialAccess"
],
"techniques": [
"T1566"
],
"alertRuleTemplateName": "645A8724-5C7E-4A1F-81CB-C33AFF1439EB",
"customDetails": null,
"entityMappings": [
{
"fieldMappings": [
{
"columnName": "ControlName_s",
"identifier": "Name"
},
{
"columnName": "TenantId",
"identifier": "AadTenantId"
},
{
"columnName": "TenantDisplayName_s",
"identifier": "DisplayName"
}
],
"entityType": "Account"
},
{
"fieldMappings": [
{
"columnName": "Group_s",
"identifier": "DistinguishedName"
}
],
"entityType": "SecurityGroup"
},
{
"fieldMappings": [
{
"columnName": "SourceSystem",
"identifier": "ResourceId"
}
],
"entityType": "AzureResource"
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SenservaPro/Analytic Rules/SearchStaleLastPasswordChange.yaml",
"templateVersion": "1.0.0",
"status": "Available"
}
}
]
}