Skip to content

Commit 733278b

Browse files
committed
Revised YAML based on validation error checks.
1 parent 19c4bfe commit 733278b

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
id: edd48210-532e-4560-a8fe-065240cd2f20
2-
name: Helpdesk theme impersonation attack detection
2+
name: Display Name - Helpdesk theme impersonation attack detection
33
description: |
44
This query check the external Teams UPN against known Teams impersonation domain
55
description-detailed: |
@@ -9,17 +9,17 @@ requiredDataConnectors:
99
dataTypes:
1010
- CloudAppEvents
1111
tactics:
12-
- Social Engineering
12+
- InitialAccess
1313
relevantTechniques:
14-
- T1684
14+
- T1566
1515
query: |
16-
let HelpdeskDomain = dynamic(["helpdesk-quick.com","helpdesk-call.com","helpdesk-service.com"]);
17-
CloudAppEvents
18-
| where Timestamp > ago(30d)
19-
| where ActionType == "TeamsImpersonationDetected"
20-
| extend ImpersonationDisplayName = tostring(parse_json(tostring(RawEventData.Sender)).DisplayName)
21-
| extend ImpersonationUPN = tostring(parse_json(tostring(RawEventData.Sender)).UPN)
22-
| extend ImpactedUserUPN = tostring(RawEventData.UserId)
23-
| where ImpersonationUPN has_any(HelpdeskDomain)
24-
| project Timestamp, AccountType, ImpactedUserUPN, ImpersonationDisplayName, ImpersonationUPN
16+
let HelpdeskDomain = dynamic(["helpdesk-quick.com","helpdesk-call.com","helpdesk-service.com"]);
17+
CloudAppEvents
18+
| where Timestamp > ago(30d)
19+
| where ActionType == "TeamsImpersonationDetected"
20+
| extend ImpersonationDisplayName = tostring(parse_json(tostring(RawEventData.Sender)).DisplayName)
21+
| extend ImpersonationUPN = tostring(parse_json(tostring(RawEventData.Sender)).UPN)
22+
| extend ImpactedUserUPN = tostring(RawEventData.UserId)
23+
| where ImpersonationUPN has_any(HelpdeskDomain)
24+
| project Timestamp, AccountType, ImpactedUserUPN, ImpersonationDisplayName, ImpersonationUPN
2525
version: 1.0.0

0 commit comments

Comments
 (0)