1Password - Potential insider privilege escalation via group
| Id | 398a1cf1-f56f-4700-912c-9bf4c8409ebc |
| Rulename | 1Password - Potential insider privilege escalation via group |
| Description | This will alert when an actor grants, or updates their own permissions via a group. Once this analytics rule is triggered it will group all related future alerts for upto an hour when all related entities are the same. Ref: https://1password.com/ Ref: https://github.com/securehats/ |
| Severity | Medium |
| Tactics | PrivilegeEscalation |
| Techniques | T1078 |
| Required data connectors | 1Password |
| Kind | Scheduled |
| Query frequency | 5m |
| Query period | 5m |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/1Password/Analytics Rules/1Password - Potential insider privilege escalation via group.yaml |
| Version | 1.0.0 |
| Arm template | 398a1cf1-f56f-4700-912c-9bf4c8409ebc.json |
OnePasswordEventLogs_CL
| where log_source == "auditevents"
| where action has_any("join", "role")
| where object_type == "gm"
| where tostring(actor_details.email) == tostring(aux_details.email)
| extend
TargetUsername = aux_details.email
, ActorUsername = actor_details.email
, SrcIpAddr = session.ip
, GroupRole = case(
aux_info == "R", "Group member"
, aux_info == "A", "Group manager"
, aux_info
)
suppressionEnabled: false
description: |-
This will alert when an actor grants, or updates their own permissions via a group. Once this analytics rule is triggered it will group all related future alerts for upto an hour when all related entities are the same.
Ref: https://1password.com/
Ref: https://github.com/securehats/
kind: Scheduled
tactics:
- PrivilegeEscalation
requiredDataConnectors:
- connectorId: 1Password
dataTypes:
- OnePasswordEventLogs_CL
incidentConfiguration:
groupingConfiguration:
reopenClosedIncident: false
lookbackDuration: 1h
enabled: true
matchingMethod: AllEntities
createIncident: true
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/1Password/Analytics Rules/1Password - Potential insider privilege escalation via group.yaml
severity: Medium
name: 1Password - Potential insider privilege escalation via group
suppressionDuration: 5h
eventGroupingSettings:
aggregationKind: SingleAlert
triggerThreshold: 0
queryPeriod: 5m
query: |-
OnePasswordEventLogs_CL
| where log_source == "auditevents"
| where action has_any("join", "role")
| where object_type == "gm"
| where tostring(actor_details.email) == tostring(aux_details.email)
| extend
TargetUsername = aux_details.email
, ActorUsername = actor_details.email
, SrcIpAddr = session.ip
, GroupRole = case(
aux_info == "R", "Group member"
, aux_info == "A", "Group manager"
, aux_info
)
relevantTechniques:
- T1078
id: 398a1cf1-f56f-4700-912c-9bf4c8409ebc
queryFrequency: 5m
entityMappings:
- entityType: Account
fieldMappings:
- columnName: ActorUsername
identifier: FullName
- entityType: Account
fieldMappings:
- columnName: TargetUsername
identifier: FullName
- entityType: IP
fieldMappings:
- columnName: SrcIpAddr
identifier: Address
triggerOperator: gt
version: 1.0.0
subTechniques:
- T1078.004