← Back to SOC feed Coverage →

Display Name - Helpdesk theme impersonation attack detection

kql MEDIUM Azure-Sentinel
T1566
CloudAppEvents
huntingmicrosoftofficial
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-07-22T11:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets adversaries leveraging Microsoft Teams to execute helpdesk-themed phishing campaigns that impersonate trusted internal domains via T1566 (Phishing). Proactive hunting in Azure Sentinel is essential to identify these external UPN anomalies early, preventing credential compromise before attackers can pivot into the broader network.

KQL Query

let HelpdeskDomain = dynamic(["helpdesk-quick.com","helpdesk-call.com","helpdesk-service.com"]);
CloudAppEvents
| where Timestamp > ago(30d)
| where ActionType == "TeamsImpersonationDetected"
| extend ImpersonationDisplayName = tostring(parse_json(tostring(RawEventData.Sender)).DisplayName)
| extend ImpersonationUPN = tostring(parse_json(tostring(RawEventData.Sender)).UPN)
| extend ImpactedUserUPN = tostring(RawEventData.UserId)
| where ImpersonationUPN has_any(HelpdeskDomain)
| project Timestamp, AccountType, ImpactedUserUPN, ImpersonationDisplayName, ImpersonationUPN

Analytic Rule Definition

id: edd48210-532e-4560-a8fe-065240cd2f20
name: Display Name - Helpdesk theme impersonation attack detection
description: |
  This query check the external Teams UPN against known Teams impersonation domain
description-detailed: |
  This query check the external Teams UPN against known Teams impersonation domain
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - CloudAppEvents
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  let HelpdeskDomain = dynamic(["helpdesk-quick.com","helpdesk-call.com","helpdesk-service.com"]);
  CloudAppEvents
  | where Timestamp > ago(30d)
  | where ActionType == "TeamsImpersonationDetected"
  | extend ImpersonationDisplayName = tostring(parse_json(tostring(RawEventData.Sender)).DisplayName)
  | extend ImpersonationUPN = tostring(parse_json(tostring(RawEventData.Sender)).UPN)
  | extend ImpactedUserUPN = tostring(RawEventData.UserId)
  | where ImpersonationUPN has_any(HelpdeskDomain)
  | project Timestamp, AccountType, ImpactedUserUPN, ImpersonationDisplayName, ImpersonationUPN
version: 1.0.0

Required Data Sources

Sentinel TableNotes
CloudAppEventsEnsure this data connector is enabled

MITRE ATT&CK Context

References

False Positive Guidance

Here are 4 specific false positive scenarios for the Helpdesk theme impersonation attack detection rule, including tailored filters and exclusions:

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Email and Collaboration Queries/Spoof and Impersonation/Helpdesk theme impersonation attack detection.yaml