heroui logo

Entra ID Passkey Sign-In with Unusual Authenticator AAGUID

Elastic Detection Rules

View Source
Summary
Detects a successful passkey or FIDO2 authentication step in a Microsoft Entra ID sign-in where the authenticator’s AAGUID (Authenticator Attestation GUID) is first seen in the tenant during ingestion. It targets sign-ins whose authentication_details show a Passkey or FIDO2 method that succeeded, and then extracts AAGUID values from authentication_method_detail. AAGUIDs that are all zeros or malformed are ignored. The rule aggregates per tenant and AAGUID to surface first-seen authenticators, which can indicate either legitimately new authenticators (e.g., new hardware keys, new platform passkeys) or attacker-registered shadow passkeys used for phishing-resistant persistence (e.g., via ROADtools roadtx or DSInternals.Passkeys). Ingestion time is used to determine “first seen” because delayed sign-ins may occur; a lookback window ensures timely detection. The query collects contextual fields (provider, user, app, resource, client_app_used, source_ip, user_agent, device/trust details, conditional access, risk state, etc.) to support investigators. The rule triggers for events ingested within the last 10 minutes to avoid missing late logs and to provide near-real-time visibility. The detection is mapped to MITRE ATT&CK Persistence (T1098, T1098.001) via the use of new or unusual cloud credentials, highlighting the potential for persistence through novel passkeys. False positives include legitimate enrollment of a new authenticator model or ramp-up of passkey adoption; such cases should be baselined and exceptions created for approved AAGUIDs. Remediation steps include deleting attacker-registered passkeys and devices, revoking sessions and tokens, resetting credentials, and enforcing FIDO2 attestation and AAGUID restrictions so only approved authenticators can register. The rule emphasizes correlation with user enrollment events and provider details to validate legitimacy and reduce noise. This rule is designed to augment identity and access audits and aid rapid triage of suspicious sign-ins.
Categories
  • Cloud
  • Identity Management
Data Sources
  • Cloud Service
ATT&CK Techniques
  • T1098
  • T1098.001
Created: 2026-10-21