Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

1Password - Potential insider privilege escalation via group

Back
Id398a1cf1-f56f-4700-912c-9bf4c8409ebc
Rulename1Password - Potential insider privilege escalation via group
DescriptionThis 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/
SeverityMedium
TacticsPrivilegeEscalation
TechniquesT1078
Required data connectors1Password
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/1Password/Analytics Rules/1Password - Potential insider privilege escalation via group.yaml
Version1.0.0
Arm template398a1cf1-f56f-4700-912c-9bf4c8409ebc.json
Deploy To Azure
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
    )
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
      )  
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/1Password/Analytics Rules/1Password - Potential insider privilege escalation via group.yaml
name: 1Password - Potential insider privilege escalation via group
queryPeriod: 5m
eventGroupingSettings:
  aggregationKind: SingleAlert
id: 398a1cf1-f56f-4700-912c-9bf4c8409ebc
kind: Scheduled
requiredDataConnectors:
- connectorId: 1Password
  dataTypes:
  - OnePasswordEventLogs_CL
entityMappings:
- entityType: Account
  fieldMappings:
  - columnName: ActorUsername
    identifier: FullName
- entityType: Account
  fieldMappings:
  - columnName: TargetUsername
    identifier: FullName
- entityType: IP
  fieldMappings:
  - columnName: SrcIpAddr
    identifier: Address
suppressionEnabled: false
queryFrequency: 5m
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    lookbackDuration: 1h
    enabled: true
    matchingMethod: AllEntities
    reopenClosedIncident: false
tactics:
- PrivilegeEscalation
triggerThreshold: 0
triggerOperator: gt
relevantTechniques:
- T1078
version: 1.0.0
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
suppressionDuration: 5h
subTechniques:
- T1078.004