LoFP LoFP / administrators can legitimately register fido2 security keys or passkeys on behalf of users through microsoft graph or powershell (for example during bulk onboarding or hardware-key provisioning), which also originates outside the self-service portal. baseline the applications and service principals that legitimately register authentication methods in the environment and add them as exceptions. investigate registrations initiated by an unexpected application, by a service principal, where the initiator differs from the target user, or that follow an anomalous sign-in or oauth consent grant.

Techniques

Sample rules

Entra ID FIDO2 Passkey Registered Outside the Self-Service Portal

Description

Identifies the registration of a FIDO2 or passkey authentication method for a Microsoft Entra ID user that was not initiated by the self-service combined registration portal (Microsoft App Access Panel), My SignIns or My Profile. Registration through Microsoft Graph, a service principal, or another application can indicate scripted provisioning with tooling such as DSInternals.Passkeys or roadtx, which adversaries use after account takeover to register a shadow passkey for phishing-resistant persistence. Administrative provisioning on behalf of users follows the same path and should be baselined.

Detection logic

data_stream.dataset:azure.auditlogs and
event.outcome:(Success or success) and
(
    (
        azure.auditlogs.operation_name:"User registered security info" and
        azure.auditlogs.properties.result_reason:(
            "User registered Fido2 Authentication Method" or
            "User registered Passkey"
        )
    ) or
    (
        azure.auditlogs.operation_name:"Admin registered security info" and
        azure.auditlogs.properties.result_reason:(
            "Admin registered Fido2 Authentication Method for user" or
            "Admin registered Passkey"
        )
    )
) and
azure.auditlogs.properties.initiated_by.app.appId:(
    * and not (
        0000000c-0000-0000-c000-000000000000 or
        19db86c3-b2b9-44cc-b339-36da233a3be2 or
        8c59ead7-d703-4a27-9e55-c96a0054c8d2
    )
)