Box - New external user
| Id | fd36ac88-cd92-4137-aa23-37a3648621fa |
| Rulename | Box - New external user |
| Description | Detects when new user created with SourceLogin containing non-corporate domain. |
| Severity | Medium |
| Tactics | InitialAccess Persistence |
| Techniques | T1078 |
| Required data connectors | BoxDataConnector |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxNewExternalUser.yaml |
| Version | 1.0.0 |
| Arm template | fd36ac88-cd92-4137-aa23-37a3648621fa.json |
BoxEvents
| where EventType =~ 'NEW_USER'
| extend corp_domain = extract(@'@(.*)', 1, SourceLogin)
| extend new_domain = tolower(extract(@'@(.*)', 1, SourceLogin))
| where corp_domain != new_domain
| extend AccountCustomEntity = SourceLogin
| extend IPCustomEntity = SrcIpAddr
triggerOperator: gt
queryFrequency: 1h
requiredDataConnectors:
- connectorId: BoxDataConnector
dataTypes:
- BoxEvents_CL
relevantTechniques:
- T1078
entityMappings:
- entityType: Account
fieldMappings:
- identifier: FullName
columnName: AccountCustomEntity
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
query: |
BoxEvents
| where EventType =~ 'NEW_USER'
| extend corp_domain = extract(@'@(.*)', 1, SourceLogin)
| extend new_domain = tolower(extract(@'@(.*)', 1, SourceLogin))
| where corp_domain != new_domain
| extend AccountCustomEntity = SourceLogin
| extend IPCustomEntity = SrcIpAddr
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxNewExternalUser.yaml
queryPeriod: 1h
name: Box - New external user
status: Available
kind: Scheduled
description: |
'Detects when new user created with SourceLogin containing non-corporate domain.'
id: fd36ac88-cd92-4137-aa23-37a3648621fa
version: 1.0.0
tactics:
- InitialAccess
- Persistence
severity: Medium