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 vault

Back
Ida00ffbd8-1d1c-47a3-b0a6-7d70bd8017ed
Rulename1Password - Potential insider privilege escalation via vault
DescriptionThis will alert when an actor grants, or updates their own permissions via a vault. 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 vault.yaml
Version1.0.0
Arm templatea00ffbd8-1d1c-47a3-b0a6-7d70bd8017ed.json
Deploy To Azure
OnePasswordEventLogs_CL
| where log_source == "auditevents"
| where action has_any("grant", "update")
| where object_type == "uva"
| where tostring(actor_details.email) == tostring(aux_details.email)
| extend
    TargetUsername = aux_details.email
    , ActorUsername = actor_details.email
    , SrcIpAddr = session.ip
suppressionEnabled: false
description: |-
  This will alert when an actor grants, or updates their own permissions via a vault. 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 vault.yaml
severity: Medium
name: 1Password - Potential insider privilege escalation via vault
suppressionDuration: 5h
eventGroupingSettings:
  aggregationKind: SingleAlert
triggerThreshold: 0
queryPeriod: 5m
query: |-
  OnePasswordEventLogs_CL
  | where log_source == "auditevents"
  | where action has_any("grant", "update")
  | where object_type == "uva"
  | where tostring(actor_details.email) == tostring(aux_details.email)
  | extend
      TargetUsername = aux_details.email
      , ActorUsername = actor_details.email
      , SrcIpAddr = session.ip  
relevantTechniques:
- T1078
id: a00ffbd8-1d1c-47a3-b0a6-7d70bd8017ed
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