JiraAudit
| where EventMessage =~ "User's password changed"
| extend user = todynamic(AssociatedItems)[0]['name']
| summarize ip_list = makeset(SrcIpAddr) by tostring(user), bin(TimeGenerated, 30m)
| where array_length(ip_list) > 1
| extend AccountCustomEntity = user, IPCustomEntity = ip_list
queryPeriod: 1h
query: |
JiraAudit
| where EventMessage =~ "User's password changed"
| extend user = todynamic(AssociatedItems)[0]['name']
| summarize ip_list = makeset(SrcIpAddr) by tostring(user), bin(TimeGenerated, 30m)
| where array_length(ip_list) > 1
| extend AccountCustomEntity = user, IPCustomEntity = ip_list
name: Jira - User's password changed multiple times
entityMappings:
- fieldMappings:
- columnName: AccountCustomEntity
identifier: Name
entityType: Account
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
queryFrequency: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AtlassianJiraAudit/Analytic Rules/JiraUserPasswordChange.yaml
requiredDataConnectors:
- connectorId: JiraAuditAPI
dataTypes:
- JiraAudit
description: |
'Detects when user's password was changed multiple times from different IP addresses.'
kind: Scheduled
version: 1.0.1
status: Available
severity: High
relevantTechniques:
- T1078
triggerOperator: gt
triggerThreshold: 0
tactics:
- Persistence
id: 943176e8-b979-45c0-8ad3-58ba6cfd41f0