1Password - Vault export post account creation
| Id | 969e2e5c-9cc6-423c-a3de-514f7ad75fe7 |
| Rulename | 1Password - Vault export post account creation |
| 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/ |
| Severity | Medium |
| Tactics | CredentialAccess Persistence |
| Techniques | T1555 T1136 |
| Required data connectors | 1Password |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 14d |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/1Password/Analytics Rules/1Password - Vault Export Post Account Creation.yaml |
| Version | 1.0.0 |
| Arm template | 969e2e5c-9cc6-423c-a3de-514f7ad75fe7.json |
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