GWorkspace - Multiple user agents for single source
| Id | 6ff0e16e-5999-11ec-bf63-0242ac130002 |
| Rulename | GWorkspace - Multiple user agents for single source |
| Description | Detects requests with different user agents from one source in short timeframe. |
| Severity | Medium |
| Tactics | Persistence Collection |
| Techniques | T1185 T1176 |
| Required data connectors | GoogleWorkspaceReportsAPI |
| 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/GoogleWorkspaceReports/Analytic Rules/GWorkspaceDifferentUAsFromSingleIP.yaml |
| Version | 1.0.1 |
| Arm template | 6ff0e16e-5999-11ec-bf63-0242ac130002.json |
let threshold = 5;
GWorkspaceActivityReports
| where isnotempty(UserAgentOriginal)
| summarize user_ua = makeset(UserAgentOriginal) by SrcIpAddr, bin(TimeGenerated, 5m)
| where array_length(user_ua) > threshold
| extend IPCustomEntity = SrcIpAddr
description: |
'Detects requests with different user agents from one source in short timeframe.'
kind: Scheduled
tactics:
- Persistence
- Collection
requiredDataConnectors:
- connectorId: GoogleWorkspaceReportsAPI
dataTypes:
- GWorkspaceActivityReports
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GoogleWorkspaceReports/Analytic Rules/GWorkspaceDifferentUAsFromSingleIP.yaml
severity: Medium
name: GWorkspace - Multiple user agents for single source
triggerThreshold: 0
queryPeriod: 1h
query: |
let threshold = 5;
GWorkspaceActivityReports
| where isnotempty(UserAgentOriginal)
| summarize user_ua = makeset(UserAgentOriginal) by SrcIpAddr, bin(TimeGenerated, 5m)
| where array_length(user_ua) > threshold
| extend IPCustomEntity = SrcIpAddr
relevantTechniques:
- T1185
- T1176
id: 6ff0e16e-5999-11ec-bf63-0242ac130002
queryFrequency: 1h
status: Available
triggerOperator: gt
version: 1.0.1
entityMappings:
- entityType: IP
fieldMappings:
- columnName: IPCustomEntity
identifier: Address