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

1Password - Vault export post account creation

Back
Id969e2e5c-9cc6-423c-a3de-514f7ad75fe7
Rulename1Password - Vault export post account creation
DescriptionThis will alert when a successful vault export has occurred within 14 days of a new account being created within 1Password.



Ref: https://1password.com/

Ref: https://github.com/securehats/
SeverityMedium
TacticsCredentialAccess
Persistence
TechniquesT1555
T1136
Required data connectors1Password
KindScheduled
Query frequency1h
Query period14d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/1Password/Analytics Rules/1Password - Vault Export Post Account Creation.yaml
Version1.0.0
Arm template969e2e5c-9cc6-423c-a3de-514f7ad75fe7.json
Deploy To Azure
let ruleFrequency = 1h;
let lookback = 14d;
let onePasswordUserCreationCheck =
    OnePasswordEventLogs_CL
    | where TimeGenerated between (ago(lookback) .. ago(now() - ago(ruleFrequency)))
    | extend creationActivityFound = iff(action == "activate" and object_type == "user", bool(1), bool(0))
;
OnePasswordEventLogs_CL
| where action == "export" and object_type == "vault"
| extend userUuid = tostring(actor_details.uuid)
| join (
    onePasswordUserCreationCheck
    | where creationActivityFound == true
    | extend userUuid = tostring(object_details.uuid)
    )
    on $left.userUuid == $right.userUuid
| extend
    TargetUsername = object_details1.email
    , SrcIpAddr = session1.ip_address
suppressionEnabled: false
description: |-
  This will alert when a successful vault export has occurred within 14 days of a new account being created within 1Password.

  Ref: https://1password.com/
  Ref: https://github.com/securehats/  
kind: Scheduled
tactics:
- CredentialAccess
- Persistence
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 - Vault Export Post Account Creation.yaml
severity: Medium
name: 1Password - Vault export post account creation
suppressionDuration: 5h
eventGroupingSettings:
  aggregationKind: SingleAlert
triggerThreshold: 0
queryPeriod: 14d
query: |-
  let ruleFrequency = 1h;
  let lookback = 14d;
  let onePasswordUserCreationCheck =
      OnePasswordEventLogs_CL
      | where TimeGenerated between (ago(lookback) .. ago(now() - ago(ruleFrequency)))
      | extend creationActivityFound = iff(action == "activate" and object_type == "user", bool(1), bool(0))
  ;
  OnePasswordEventLogs_CL
  | where action == "export" and object_type == "vault"
  | extend userUuid = tostring(actor_details.uuid)
  | join (
      onePasswordUserCreationCheck
      | where creationActivityFound == true
      | extend userUuid = tostring(object_details.uuid)
      )
      on $left.userUuid == $right.userUuid
  | extend
      TargetUsername = object_details1.email
      , SrcIpAddr = session1.ip_address  
relevantTechniques:
- T1555
- T1136
id: 969e2e5c-9cc6-423c-a3de-514f7ad75fe7
queryFrequency: 1h
entityMappings:
- entityType: Account
  fieldMappings:
  - columnName: TargetUsername
    identifier: FullName
- entityType: IP
  fieldMappings:
  - columnName: SrcIpAddr
    identifier: Address
triggerOperator: gt
version: 1.0.0