Your Phishing-Resistant Passkeys Fold the Moment Malware Lands on the Device

Passkeys still stop remote phishing. Malware on the device defeats them easily, and most MFA rollouts forgot to require device compliance in Conditional Access.

Everyone read Michael Grafnetter’s Black Hat research as “passkeys are broken.” That reading is wrong, and the correction matters more than the headline. Passkeys resist exactly what they were designed to resist, a remote attacker fishing for credentials, and they still do that beautifully. What they never resisted, and were never engineered to resist, is a program running with your privileges on the box you’re sitting at.

Let me give the other side its due, because it isn’t stupid. Enterprise security spent fifteen years watching password-plus-OTP get phished at scale. Adversary-in-the-middle kits like Evilginx turned “we have MFA” into a false comfort, the proxy sits between the user and the real login page, relays the code, and steals the session cookie. FIDO2 and Windows Hello for Business kill that attack cold because the authentication is cryptographically bound to the real relying party’s origin. The browser won’t hand a passkey assertion to micr0soft-login.com. That is a genuine, hard-won improvement, and anyone who deployed passkeys to escape AiTM phishing made the right call. I’d make it again.

The mistake is in the word “phishing-resistant” doing more work than it was ever licensed to do. It describes the network path. It says nothing about the endpoint. And that gap is the whole story.

What Grafnetter actually demonstrated

Strip out the protocol internals and the attack is depressingly simple. Malware running in a user’s session on a Windows device doesn’t need to steal the passkey’s private key, in a lot of cases it can’t, and that’s the part vendors like to emphasize. It doesn’t have to. It can drive the authenticator. The credential lives on the machine (platform authenticator) or is plugged into it (FIDO2 security key), the user is present, and the malicious code is already inside the trust boundary where authentication happens. So it asks the authenticator to produce an assertion, or it rides the session that results, and replays from there.

Think of it as pass-the-passkey in the same spirit as pass-the-hash and pass-the-ticket. We didn’t need the secret itself in 2010 to be Domain Admin, and we don’t need to exfiltrate a FIDO private key in 2026 to ride a compliant-looking assertion off a compromised host. The research shows the authenticator can be invoked, and the resulting authentication material used, by code that owns the session. The origin check that stops Evilginx is irrelevant here, the request is coming from the legitimate origin, on the legitimate device, because the attacker is on the legitimate device.

This is why “passkeys are broken” is the wrong lesson. Nothing in the cryptography failed. The threat model quietly changed from “attacker is remote and the device is trustworthy” to “attacker is local and the device is not,” and the authenticator was only ever a control for the first one.

The boundary was never the authenticator. It’s the device.

Here’s the part that should sting a little, because we’ve relearned it before. The authenticator strength tells you how someone proved possession. It tells you nothing about what state the machine was in when they did. If the endpoint is compromised, every control that assumes a healthy endpoint inherits the compromise. We learned this with cached Kerberos tickets. We learned it with browser session cookies and token theft. Passkeys are the same lesson wearing a nicer coat.

So the control that actually constrains this attack isn’t the authenticator type at all. It’s device trust, a Conditional Access requirement that the sign-in come from a device Entra knows and vouches for. Require compliant device (Intune attests to patch state, encryption, EDR health) or require Entra hybrid/Entra joined device raises the bar from “any machine the passkey touches” to “a machine under management whose health we can assert.” It doesn’t make a compromised managed device safe, malware on a compliant box is still malware, but it collapses the attack surface from the entire internet to your enrolled fleet, and it gives your EDR and compliance signals a seat at the authentication table.

If your phishing-resistant rollout shipped the authenticator and not the device grant, you deployed half a control and called it done. A lot of tenants did exactly that, because the passkey story was the shiny one and device compliance is tedious plumbing. The plumbing was the point.

Go look at your own policies before you argue with me

Before anyone decides this doesn’t apply to them, pull the actual grant controls out of your tenant and read them. Not the policy names, the names lie, the builtInControls. This is read-only; it changes nothing. Run it, eyeball it, then decide what’s missing.

audit.ps1PowerShell
# Read-only audit of CA grant controls. No changes made.
# Requires: Microsoft.Graph module, Policy.Read.All (or equivalent)
​
Connect-MgGraph -Scopes "Policy.Read.All" -NoWelcome
​
try {
    # -All handles pagination for you; don't hand-roll @odata.nextLink here
    $policies = Get-MgIdentityConditionalAccessPolicy -All -ErrorAction Stop
}
catch {
    Write-Error "Failed to read Conditional Access policies: $($_.Exception.Message)"
    return
}
​
$report = foreach ($p in $policies) {
    $controls = $p.GrantControls.BuiltInControls
​
    [pscustomobject]@{
        DisplayName        = $p.DisplayName
        State              = $p.State          # enabled / disabled / enabledForReportingButNotEnforced
        GrantControls      = ($controls -join ', ')
        RequiresCompliant  = $controls -contains 'compliantDevice'
        RequiresEntraJoined= $controls -contains 'domainJoinedDevice'
        RequiresMfa        = $controls -contains 'mfa'
    }
}
​
# Policies that grant access on MFA alone, with no device trust requirement.
# These are the ones that treat an authenticator as sufficient on their own.
$report |
    Where-Object { $_.State -ne 'disabled' -and
                   -not $_.RequiresCompliant -and
                   -not $_.RequiresEntraJoined } |
    Sort-Object DisplayName |
    Format-Table DisplayName, State, GrantControls -AutoSize

Two caveats so you don’t misread the output. Grant controls can be combined with OR or AND, check GrantControls.Operator on anything that looks borderline, because “MFA OR compliant device” is not the same bar as “MFA AND compliant device,” and only the AND actually forces device trust on every sign-in. Second, device-based grants assume Intune compliance signals and enrollment are real and current; a stale compliance baseline is theatre. If nothing in that final table surprises you, good. If your crown-jewel apps show up there granting on authenticator strength alone, you found your weekend.

What I’d actually do Monday

Keep the passkeys. This is not a retreat from phishing-resistant MFA, pulling back to push notifications because of this research would be the dumbest possible overcorrection. Instead, treat the authenticator and the device as two separate controls that both need to be true for anything that matters. Layer a device-compliance or Entra-joined grant onto the policies protecting high-value apps and privileged roles. Make sure your EDR and compliance posture are genuinely feeding those grants, not just rubber-stamping enrolled machines. And stop letting “phishing-resistant” stand in for “secure” in the deployment slide deck, it describes a path, not an endpoint.

The uncomfortable summary is that we bought an authenticator and told ourselves we’d bought a boundary. Grafnetter just reminded us, on a conference stage, that the boundary was always the device, the same place it’s been every other time we skipped that step and paid for it later.