Passkeys are phishing-resistant. But that resistance is enforced by your browser, which binds every authentication to the origin that requested it. Skip the browser, and the guarantee weakens. In this episode of Entra. Chat, I spoke with Michael Grafnetter, Principal Security Researcher at SpecterOps and Microsoft MVP, about the Pass-the-Passkey research he presented at Black Hat USA 2026. A family of attacks against passkey implementations across Windows, Microsoft Entra ID, browsers and password managers. Michael starts with the vulnerability chain he reported to Microsoft. Windows was writing the complete passkey assertion into the event log, and Microsoft Entra ID would accept a replay of that assertion for up to ten minutes. Any user able to read those logs including a member of Remote Desktop Users on a shared server, or unprivileged malware quietly reading event logs without tripping EDR could impersonate whoever had just signed in. If that person was a Global Administrator, so was the attacker. Windows now truncates the logged message, and Microsoft Entra ID checks authenticator signature counters to reject replays. One clarification Michael is emphatic about: private keys were never written to the event log. They stay bound to the TPM or never leave the security key at all. What leaked were the short-lived digital signatures made by those keys and for this attack, that was enough. We also covered the attacks that do not depend on any single bug. Malware running without administrator rights can call the native Windows WebAuthn APIs directly and raise a passkey prompt flood that keeps returning until the user gives in and approves it. Synced passkeys, exported from a password manager and decrypted with a keylogged password, hand an attacker a credential with no ten-minute limit at all. And a browser-hooking technique Michael calls a passkey detour attack quietly redirects a legitimate assertion into the attacker’s own session. The defensive thread running through all of it is the same: every one of these attacks assumes malware is already on the device. That makes device trust the key control. Privileged access workstations for administrators, Conditional Access requiring compliant devices with EDR running, and the clean source principle that says a system can only be as trustworthy as whatever it depends on. Michael closes on an optimistic note, and it is worth repeating. Passkeys are still the future. They remain far better than passwords and phishable MFA, and every attack here costs an adversary vastly more effort than sending a phishing link. But as passkeys become the default in Microsoft Entra, the threat model deserves an honest read. Watch the demos. This episode includes three on-screen demonstrations that are much easier to follow on video than on audio. This episode brought to you by Workplace Ninjas US Workplace Ninjas US isn’t just another tech conference. It’s where Microsoft experts, MVPs, engineers, and IT professionals come together to learn, network, and build lasting connections. We are a community built on diversity, mentoring, fellowship, and creating a place where everyone belongs. Our core DNA comes down to a few pillars: * Over 60 sessions from the largest collection of MVPs and SMEs you will find in any event in America. * Amazing mentoring, development, and growth through our one on one mentoring system with any speaker, our hackathon, community theatre and more. * A diverse expo hall featuring some of the best Microsoft partners in the world that will help you drive deep efficiencies from your M365 stack. * A place where you will learn how to think differently and collaborate better through a collection of activities and can return refreshed and invigorated to drive change in your organization. * Don’t miss out on our early bird tickets while supplies last Subscribe with your favorite podcast player or watch on YouTube About Michael Grafnetter Michael Grafnetter is a Principal Security Researcher at SpecterOps and a Microsoft MVP, based in Prague. He specializes in Microsoft Entra ID and Active Directory security and PowerShell. He is the author of the DSInternals PowerShell module and the researcher who originally discovered the Shadow Credentials attack technique, now widely used by penetration testers, red teamers and attackers alike. He has presented his security research at international conferences including Black Hat Europe, Black Hat USA, SecTor, TROOPERS and BSides Lisbon. * LinkedIn - https://www.linkedin.com/in/grafnetter/ Related Links * Pass-the-Passkey research and tools, including Passkey Injector and the DSInternals. Passkeys module (discussed at 14:57 and 34:22) - https://github.com/SpecterOps/pass-the-passkey * Pass-the-Passkey research paper from Black Hat USA 2026 (introduced at 07:34) - https://specterops.io/wp-content/uploads/sites/3/2026/08/Pass-the-Passkey_A4_v2.pdf * Shadow Credentials, Michael’s earlier Active Directory research (mentioned at 01:46) - https://specterops.io/blog/2021/06/17/shadow-credentials-abusing-key-trust-account-mapping-for-account-takeover/ * DSInternals PowerShell module (mentioned at 01:34) - https://www.dsinternals.com/en/ * Passkeys (FIDO2) authentication in Microsoft Entra ID (context throughout) - https://learn.microsoft.com/entra/identity/authentication/concept-authentication-passkeys-fido2 * Synced passkeys, device-bound passkeys and passkey profiles (discussed at 23:21) - https://learn.microsoft.com/entra/identity/authentication/how-to-authentication-passkeys-fido2 * Deploy phishing-resistant passwordless authentication (context at 18:08) - https://learn.microsoft.com/entra/identity/authentication/how-to-deploy-phishing-resistant-passwordless-authentication * Require device compliance with Conditional Access (recommended at 21:12) - https://learn.microsoft.com/entra/identity/conditional-access/policy-all-users-device-compliance * Privileged access devices and the clean source principle (discussed at 21:55 and 35:41) - https://learn.microsoft.com/security/privileged-access-workstations/privileged-access-devices * Unit 42, “Pass the Passkey: A Novel Attack Surface in Passwordless Authentication” - the Palo Alto research on Google Password Manager passkeys (mentioned at 26:27) - https://unit42.paloaltonetworks.com/passwordless-authentication-security-risks/ Related Entra. Chat Episodes * From SMS MFA to Passkeys: A Practical Microsoft Entra Migration Plan - https://entra.news/p/from-sms-mfa-to-passkeys-a-practical * 5 Lessons from Rolling Out Passkeys to Millions of Users - https://entra.news/p/5-lessons-from-rolling-out-passkeys * Attackers Are Targeting The AI Ecosystem You Cannot See - https://entra.news/p/attackers-are-targeting-the-ai-ecosystem Chapters 00:00 Intro 01:02 Meet Michael Grafnetter 03:09 How the Research Started 06:50 Windows Hello for Business Was the First Passkey 07:30 The Signature in Your Event Log 10:18 No, Private Keys Are Not Logged 12:25 How Entra Mitigated the Replay 13:44 Demo: Signing In With a Stolen Signature 15:22 Malware-Initiated Passkey Phishing 18:08 The Browser Is What Makes Passkeys Phishing-Resistant 20:42 What Defenders Should Actually Do 23:04 Synced Passkeys and the Export Problem 26:13 Credential Exchange and Password Manager Risk 28:19 The Passkey Detour Attack 30:43 The Authentication Broker Debate 31:57 RDP Redirection and Remote Passkey Abuse 32:59 Spotting a Suspicious Passkey Prompt 34:46 Passkeys Are Still the Future Podcast Apps Apple Podcast - https://entra.chat/apple YouTube - https://entra.chat/youtube Spotify - https://entra.chat/spotify Overcast - https://entra.chat/overcast Pocketcast - https://entra.chat/pocketcast Others - https://entra.chat/rss Merill’s socials YouTube - youtube.com/@merillx LinkedIn - linkedin.com/in/merill Twitter - twitter.com/merill TikTok - tiktok.com/@merillf Bluesky - bsky.app/profile/merill.net Mastodon - infosec.exchange/@merill Threads - threads.net/@merillf GitHub - github.com/merill Get full access to Entra. News - Your weekly dose of Microsoft Entra at entra.news/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
[music]
SPEAKER_01Hey folks, welcome to another episode of Entra Chat. And today's Entra Chat is all about passing the pass keys. And I have none other than Michael Grafnetter here with me. He recently published the research And I said, you have to come on the Entra chat and tell your story. So Michael is a Principal Secretary Researcher at SpectOps and it's an amazing place. I have lots of high quality research. Things have been published over many years from SpectOps and Michael,
SPEAKER_01you are continuing the tradition. So welcome to Entra chat, Michael.
SPEAKER_02Thanks, Merill. It's great to be here. Thanks for the very nice introduction and hello everyone.
SPEAKER_01Cool. So, Michael, before we jump into Pass the Passkey and all the new stuff, for people who don't know you, tell us a little bit about yourself. And, you know, you've done some really cool things in the past. So this is not the greatest thing you've done. So we would love to learn more about you.
SPEAKER_02Well, you've done a very good job introducing me at the beginning, but yeah, I've been doing a lot of Active Directory research and EntraID research over the time. I discovered a couple of vulnerabilities here and there. I have this PowerShell module, which is called DS Internals, Directory Services Internals, which allows you to extract password hashes from Active Directory using And I was also the person who originally discovered
SPEAKER_02an attack technique called Shadow Credentials, which is currently very, very popular among penetration testers, red teamers when doing Active Directory penetration tests. But unfortunately, it is also quite popular among the bad guys who are attacking Active Directory. So I'm not sure if I should say you're welcome or I'm sorry.
SPEAKER_01I guess it's the same two-edged sword. Yeah, exactly.
SPEAKER_02It's always that way for any sort of security research you do. Absolutely.
SPEAKER_01Yeah, that's true. At least with the cloud, there's some way for the vendor to fix things, etc. Whereas with on-prem, you're left to people patching and, you know, keeping things up to date.
SPEAKER_02On-premises things, technologies are much older than the cloud stuff, you know? So the cloud technologies don't need to bring in all the legacy stuff. They don't need to care about backwards compatibility with applications that were created 20, 30 years ago. So it's always easier to start from a clean slate and do the design architecture based on the current requirements and trends. Exactly, exactly.
SPEAKER_01Awesome, so jumping on to Pass the Passkey, because Passkey is like the flavor of the month, day, year, this year. Everyone is moving into Passkeys, everyone is finding new things with Passkeys and there are new Passkey features rolling out all the time. So tell us about this Pass the Passkey, the research that you did, and tell us a backstory, like how did you come about this? That's the one that we're interested in.
SPEAKER_02I wish I had a cool backstory to tell you, you know, but it's very boring. So anytime I dig deep into some technology, anytime I read all the documentation available, hundreds and hundreds, And then I start playing with that technology. It just clicks somehow and I notice behaviors which shouldn't be there. So I was not looking for any vulnerabilities, you know.
SPEAKER_02I just noticed it was previously the same way with Active Directory Federation Services or with EntraID Connect and so on. I just liked the technology and I discovered something. And the most interesting thing which I discovered in Windows, for example, was regarding some cryptography, some very bad algorithms being used to encrypt some data. There was a CVE from that. And I just discovered that by reading the documentation, you know.
SPEAKER_02The online, you know, I'd learned on Microsoft.com and probably no one else cared.
SPEAKER_01Yes, that's really interesting, right? You didn't go digging for things. You were trying to merely understand how it was all put together and how it works. And then you were able to connect the dots and come up with, you know. Exactly. Exactly.
SPEAKER_02And maybe I already have like the attacker mindset, you know, whenever someone shows me some new cool technology, my first thought is like, how could I abuse that? How could an attacker abuse that technology? How could they use it for something different than it was intended to be used?
SPEAKER_01Nice, nice. I think that's a key skill to have, right, for either for defenders as well to sort of always have that in the back of their mind as they are trying to learn. Most of the time when we are doing things, we are just trying to learn like, okay, how does this work and how can I use it to solve a problem that I have? And your perspective is very different to that.
SPEAKER_02Yeah, sometimes it's not the best feature to have like in real life, you know, because my wife sometimes tells me that I'm too paranoid and my answer is always like, honey, I'm being paid for being paranoid, you know. Nice, awesome. So, yeah, and Passkeys. It's a very interesting technology and I'm a huge fan of that technology, you know. So that's why I did the research, that's why I dug deep into technology.
SPEAKER_02I've been working with Passkeys since Day one, even before they were supported by Microsoft Entra. And so I was happy that Microsoft jumped onto the train because I think it's the right direction. And man, we should have gotten rid of passwords a long time ago, you know, very long time ago.
SPEAKER_01Yeah, true, true. There is one thing that I do want to share. So a lot of people have this misconception about the word pass keys is new, but if you really go back and look at it, Windows Hello for Business was the very first It was called PASCII or the FIDO2 and a lot of what Microsoft did in Windows Hello for Business and what they published is what became the FIDO2 standard and then eventually became PASCII.
SPEAKER_01Hello for Business first, and then it evolved into what we do today. So it's, Hello for Business has been supported by Entra for a long time, but yes, past keys as we know today, and, you know, YubiKey support and all of that are things that Microsoft added in. Cool. So tell us about the, what you discovered.
SPEAKER_02So I had this talk at Blackhead and I talked about multiple categories of attacks against passkeys and their implementation in Windows. The most important thing I discovered was a vulnerability chain. Basically, when you sign into Microsoft Entra using A YubiKey or Windows Hello for Business, you mentioned the digital signature gets not only sent to the relying party to
SPEAKER_02the website, but it also gets written into the Elon block. So that's one issue I discovered in Windows. And then I realized that for up to 10 minutes you could send the message, the digital signature again to Microsoft Entra and it would accept it and it would log you in. So if any attacker was able to So to look into the event logs, to monitor them, they would then be able to impersonate users signing into cloud services from
SPEAKER_02that computer, even if the person signing in, or most importantly, the person signing in, would be a global admin. So that would be dangerous. So I discovered this. I reported it to Microsoft. So obviously I kept it a secret. I'm all about risk-responsible vulnerability disclosure. So the Windows team fixed the Windows vulnerability. They no longer write the entire digital signature into the event log.
SPEAKER_02So anyone listening to this podcast, please update your Windows regularly to get rid of such security issues, such security vulnerabilities. And the Entra team also slowly started to deploy some mitigations against this sort of an attack. So some of its variants no longer work. They could use it, yeah. And you could imagine an enterprise environment where you might be a member of remote desktop users, for example, on a computer or on a terminal server,
SPEAKER_02and you could then get hands-on on these events. It's produced by other users of that system. So the cross-user chatter was problematic. Or if you had some malware on the computer, it could just listen to the event logs and stay hidden from any EDR, antivirus, whatever, because no behavioral analysis would flag malware just for reading the Windows event logs. That's not malicious activity. They truncate the messages which are logged so that the most important part,
SPEAKER_02the replayable part, is no longer there.
SPEAKER_01So is that the private key that's logged? No, no, no.
SPEAKER_02Please, no. No private keys get logged into Windows Elon logs. And I've seen a couple of people misinterpret. So if you have Windows Hello for Business, your private key is securely stored in a TPM chip or if you have a security key like YubiKey, then the private key never leaves. The cryptographic hardware is never copied over USB to Windows.
SPEAKER_02What is generated are the short-term digital signatures, you know, and those digital signatures made by the private keys were logged, but those digital signatures were enough for an attacker to impersonate the legitimate user. They could then leave off the land, register their own pass keys and remain persistent on that target account. Got it. Nice.
SPEAKER_01Awesome. So it was common for both Hello for Business and Finder 2 keys. Were the mobile and those pass keys part of it? They were not logged?
SPEAKER_02Yeah, so if we are talking about the hybrid authentication flow, you know, when Windows displays the QR codes to you and you scan it using your iPhone or Android and then Bluetooth connection is established and the signature is sent over Bluetooth, yeah, that was affected as well. So if you used your phone to sign through Windows using a passkey, you were affected as well. Any way you've chosen was affected.
SPEAKER_00Yeah, yeah.
SPEAKER_02Exactly. Exactly. That's the main fix. Just check for updates, reboot your computers and you're on. Nice. Awesome.
SPEAKER_01Michael, you said you had a demo?
SPEAKER_02I could show you this vulnerability in action if you are interested.
SPEAKER_01Okay, yes, yeah, it'll be cool to show that. Yeah, because if you still have a Windows that's not patched, you can still reproduce it, right? Do you know what fixes Entra, they did on the Entra side? Is it if the key is taken and used somewhere else that it's able to detect and
SPEAKER_02What they did in Entra, so hardware security tokens produce signature counters which are sent with each and every authentication and they are always incremented. So Entra started checking this discounter and when it sees the same value being sent repeatedly, it blocks the subsequent authentications. It shouldn't impact regular users. I mean, this approach of tracking and the signature counters is A little bit controversial
SPEAKER_02because some of the authenticators like KeePass, for example, the software authenticators do not support that and always send zeros. So Entra engineers have a tough job, you know, testing all the possible authenticators and checking which of them is compatible and which of them is not so that they only turn on that security feature for the compatible ones. You know, they do not want to break Entra for it.
SPEAKER_01Yeah, exactly. Because you could end up with false positives and block real users.
SPEAKER_02Users wouldn't be happy about that. Right. Yeah. Okay. So this is a demo of exploitation of that vulnerability. What do you see on this computer is Windows event block. And we have that particular event from a previous Passkey authentication on that computer. I think it was produced by a YubiKey being used against Microsoft Entra.
SPEAKER_02So we just open the log, copy the JSON data structure, which is there, and then use a special browser, which I have created for this purpose. You navigate to Entra, and then instead of seeing the built-in passkey dialog, there is this custom one where we just paste the JSON, boom, boom, boom, and we are logged into Entra. Yeah, so that was a very, very quick demo. Yeah, you just copy-paste the value, nothing fancy.
SPEAKER_01That's the fastest I've seen anyone signing into Entra. You know, it's a convenience feature. Yes, very convenient. So this tool that you're sharing, is that a tool that's published? The tool is open source.
SPEAKER_02It's published at Spectrobs GitHub.
SPEAKER_01Cool. You have a bunch of tools. Do you want to share what other things you can do with Spectrobs?
SPEAKER_02It's a passkey injector because it injects the passkeys or passkey assertions into
SPEAKER_01the browser sessions.
SPEAKER_02So this was the first thing I discovered, this vulnerability chain, but then I looked at The ways an attacker could compromise the pass keys. And I was specifically looking like what malware running on a computer without high privileges, right? Without being an administrator, what malware could do on target computers. And I can show you a demo of that, including A command and control channel.
SPEAKER_02So this will be a demonstration of an end-to-end attack a malicious actor could do once they compromise a target computer. So they are listing Windows Hello for Business pass keys on the computer remotely. They check the screenshot of the remote computer where the malware is running. They see that the user has already opened the browser. So the attacker can then try to authenticate against Entra in their own browser
SPEAKER_02on their own computer. And Entra generates a challenge which needs to be digitally signed by the passkey by Windows Hello. And based on that, this tool generates a command with the right command line parameters, which they just paste into the command and control And this tool then uses the same API which browsers use to display
SPEAKER_02the passkey authentication dialog, right? So the user has multiple passkeys. And by the way, you see some very suspicious account names on my screen currently. I haven't compromised those accounts for the record, right? That would be even worse. The user has no other option than to just select some passkey because otherwise the window would continue popping up again and they authenticate using biometrics
SPEAKER_02or pin code. And what the attacker gets from that is the digital signature, the JSON we've already seen in the previous attack. So the attacker again just pastes the JSON into their browser and they are signed in. They basically compromised the identity. So this was a phishing attack against PASCIS, basically. Malware-initiated phishing attacks. So you first need to have some malware running on your computer.
SPEAKER_02And like normally we say that PASCIs are unphishable, right? That PASCIs are phishing resistant. But the technology which is responsible for keeping them phishing resistant is your browser, you know? And here I was just using raw native Windows APIs, totally bypassing the browser. And that's why I was able to Spoof the identity of the website and just fetch
SPEAKER_02the right user credentials.
SPEAKER_01Nice. So that one was really fascinating because, yeah, you basically broke sort of the story of phishing resistant. But of course, yeah, you need to have something running on the user's desktop. And like your demo showed, it just kept on popping at the user, right? Kept on showing them the passkey authentication dialogue. And then user kept on cancelling, it just kept coming back. And they had no option but to finish signing in with the passkey.
SPEAKER_02Exactly, exactly as you are saying. And I think that even security savvy people would be tempted to just click to continue because that window was like modal meaning it was overlay on top of their edge browser or whatever other application they were using and it was blocking them from doing The actual work they wanted to do on the computer. Luckily, even if you look into the camera, you still need to hit the OK button.
SPEAKER_02So Microsoft or Windows is still giving you the opportunity to To discover, to identify it as an attack and to just cancel the dialog window. So the hope is not lost. Yeah, and it's always been with cybersecurity, you know. Once malware is running on your device, it's no longer your device. It's the attacker's device. The attacker has control over your device. And obviously you can have some barriers on that computer, like Application allow listing.
SPEAKER_02You can have antivirus, EDR, XDR, whatever. But still some of these things can be bypassed under some circumstances. No such technology is bulletproof. But you should really try hard not to get malware onto
SPEAKER_01your computer.
SPEAKER_02What else the defenders can do? They should think about whether the passkey dialog window was displayed based on an action they did or if it just popped up randomly. They should read the information written in the dialog window without just automatically clicking the OK button. So against some other attacks it makes sense
SPEAKER_02to Create more advanced conditional access policies. So not only requiring phishing resistant authenticators, but also requiring compliant devices and so on. Making sure that EDR is really running on that computer, making sure that Some permissions, security hardening is applied on that computer from which a person and especially a privileged user is accessing the cloud services. And I'm not saying to apply such security hardening to all of your devices,
SPEAKER_02but you should definitely treat devices of global administrators differently than other devices.
SPEAKER_01Yeah, I mean, at Microsoft, when I was working there, we have a different device, which is a privileged workstation, a privileged access workstation, a secure access workstation device, and that device was completely locked down. Like I couldn't install anything. I could only install software from the system center. I can pick what IT team was managing on the device that they allowed to install. And it was really sort of clean source. So the chance of any malware getting onto that was almost non-existent.
SPEAKER_02And- Exactly. That's the right approach. And that was the right approach while we were using just passwords and pass keys. Don't change anything.
SPEAKER_01Exactly, yeah. So, but a lot of people don't have the luxury of giving people a different device, right? So everyone is like using the same, exactly, it costs money. So everyone is using the same device and signing in. And now with agents running as well, you can, it's really easy to get malware onto a device.
SPEAKER_02Yeah, agents are sometimes malware installation services, basically.
SPEAKER_01Yes. Yes. Yeah. So you, yeah, today you opened my eyes to like, you know, when I saw the demo of that kept on prompting that really sold the story of, you know, it is sort of fishable if someone has compromised the device.
SPEAKER_02And we were still talking about device bound basket, right? About YubiKeys or other security keys or about Windows Hello or Windows Hello for Business, right? Where the digital signature is only valid for a couple of minutes and the private key cannot be exported. But then you have the cool convenience features. Which are syncable pass keys, which can be synchronized using password managers between your devices.
SPEAKER_02And it's really super cool. I really love the technology, but the risk with syncable pass keys is much higher than with the device bound pass keys. So you need to be aware of that when deploying the pass keys. So with syncable, the pass keys are only protected by software, not by hardware. And once the attacker gets the private key, which is stored on your hard drive somewhere, maybe in an encrypted form, but there are various attacks known where the attacker can just decrypt it,
SPEAKER_02get the private key, and then sign into your account repeatedly.
SPEAKER_01That restriction is not there, right? If there's malware on the device where it's synced from, they have a lot more time to play around and try to get to those keys.
SPEAKER_02Exactly. And I can show you a demo again. So in this demo, we are in a situation where a user has already exported their passkey from Bitwarden, one popular password manager, into a JSON file. And they at least use the password to encrypt the passkey. They didn't export it in clear text, which adds at least some protection to that. So let me now show you how such a passkey,
SPEAKER_02such an exported passkey, could be used by malicious actor to sign in. So we will again use this special browser of mine, navigate to a website which supports passkeys, we'll open this sub-tool called Software Signer, load the JSON file, decrypt it using the password, we need to know the password from a keylogger, let's say, And here we see that multiple passkeys are stored in the files.
SPEAKER_02So we will just select the right passkey, submit it, and boom, we are logged in. So if you have KeePass, Bitwarden, or any other password manager which supports passkey, which supports exporting passkeys into files, be very careful whether you are encrypting them or not. And where are you saving such pass keys so that malicious actors cannot get hands on them?
SPEAKER_01Do password managers like Google and others allow exporting?
SPEAKER_02I'm not sure about Google's export capability, but even if they don't support that, there are known attacks. Like last month, there was an attack published by Palo Alto where they were specifically attacking the Google's passkey manager and they were able to export the private keys using some malware. But it's nothing new. Theoretically, it was already known that it should be possible. Once you don't store the private keys in secure enclave in hardware crypto devices,
SPEAKER_02there will always be some way of exporting the private keys, right? Yeah, there are two standards, credential exchange format and credential exchange protocol. And yeah, you can use it to copy or duplicate or clone your pass keys from one password manager onto another one. It currently works in iOS and macOS. I haven't seen any Windows implementation of this protocol yet.
SPEAKER_02That's, again, dangerous. You need to be careful whether you are exporting the pass case into a legitimate application or whether you are exporting it to some malware, to some Malicious application which is trying to fool you a little bit. But like Apple on their platform is obviously aware of the risk. So any application which is to receive pass keys or the synchronization protocol must be approved by Apple.
SPEAKER_02It needs to have a special privilege for that, a special commission given by Apple. So it's not as any application could do that. Exactly, exactly.
SPEAKER_01Michael, I guess we could go on, but I know your time is finishing as well. What else did you want to cover before we close off?
SPEAKER_02Well, I had one last attack which I presented and there was like hooking into your browser and listening to your legitimate pass key authentications and modifying them so that you don't get authenticated, but the attacker gets authenticated. Yeah, so it's again about what malware could do on your computer. So in the previous example, you've seen some dialogue window which you needed to approve and you could spot that something suspicious is happening,
SPEAKER_02some action Which didn't originate from your activity, just spontaneously happened. But here in an attack, which I call a Baski detours attack, the attacker just modifies the behavior of your browser and When you are trying to sign into Entra, GitHub or any other application which supports passkeys, the attacker would just steal the digital signature made by your authenticator from
SPEAKER_02the browser and they would then inject it into their own browser instead.
SPEAKER_01I won't show you a demo
SPEAKER_02because it's not cool. You would again just see this JSON file being displayed to the attacker and used to authenticate. But again, the consequences are very, very important. And I assume that some EDR solution vendors would pick up that sort of an attack and they would try to detect it and block it from happening in the future. Yeah, and it's obviously just one of the secrets you can be listening to in your browser,
SPEAKER_02right? Because you are also sending passwords back and forth, or you get the long-term session cookies into your browser, which the malicious actors can also be interested in. So passkeys or digital signatures produced by passkeys are Just another credential type the malicious actors can be interested in. And like most antiviruses probably already monitor the cookies, the security of the cookies, but pass keys are still like a novel stuff.
SPEAKER_02Nobody else demoed it previously, so I don't think any antivirus cared.
SPEAKER_01I've seen this pattern on like for Microsoft's Azure Power CLI, PowerShell. They've been trying to force all the sign-ins to happen through the Windows module, the Windows authentication broker, because before you could, I mean, even now, right, you could open a local host and browser and you complete the sign-in from there. And most of like Microsoft has been heavily pushing and Yeah,
SPEAKER_02it might mitigate some specific attack vector six.
SPEAKER_01And so like a lot, as usual, right? A lot of the devs and admins, they go like, this is painful because the WAM, when you have lots of identities, you need to have it signed in and it causes a lot of confusion. So they hate that. And people are writing, they're like, I won't use that module for signing in. I'll write my own module, which doesn't do the WAM or just call the browser directly. And they're doing different implementations to get around that and do the network.
SPEAKER_02My preferences have all the corresponding passkey stored in Windows Hello and just use Windows Hello on a secure computer to sign in.
SPEAKER_01Nice. Yeah, that definitely makes sense. It's the catch is if someone is having a secure computer that's remote, then you can use a redirection flow to do the passkey sign in. So that's definitely a flow that could be used through that.
SPEAKER_02Exactly. On the other hand, in the Black Hat session, I've shown how you could abuse this feature. Because if the remote computer to which you are connecting over remote desktop is compromised by a malicious actor. And if malware on that remote computer initiates pass key authentication, It gets sent over the network or RDP to your local computer and it then theoretically has access to your own Windows Hello, to your own YubiKeys plugged into your computer.
SPEAKER_02So if you are not careful, if you just approve that sort of authentication, you might get into trouble.
SPEAKER_01So even if you're getting, people would have assumed, right, phishing is only like browser-based attacks and things like that. But let's say some malware does get in. The lesson I've learned is if you're seeing some sort of phishy sign-in, so like the one you showed, right, the passkey kept on popping. Like I didn't initiate it, but I saw I'm seeing a passkey sign-in. And if I cancel it, it just keeps coming back. That's not like normal behavior and you should get your, you know, the spider sense up and your shields up when you start noticing behavior like that.
SPEAKER_02Yeah, that's true. On the other hand, unfortunately, even legitimate passkey authentications sometimes fail and you need to do it repeatedly, especially if you are using Bluetooth or NFC to sign into your browser. Those pass keys sometimes fail, you know. You do not touch the NFC reader properly with your security key and you must redo the authentication multiple times in a row for it to succeed.
SPEAKER_02So some people are already used to just trying to redo the authentication and if an attacker injects something into that workflow, it's hard to spot it. That's amazing.
SPEAKER_01Michael, this has been a really eye-opening session for me and I'm sure many of the people who have been listening and who watch your demo especially, those who have been listening on the podcast, make sure you go and check out the demos, the videos on YouTube. They are really cool demos and we'll include the links to your tooling, et cetera, right? And I think for people who do have If you have an unpatched Windows or even some of the others, you can definitely try to reproduce yourself, especially the flooding,
SPEAKER_01the flooding attack and things like that, you can reprove the scenarios.
SPEAKER_02I hope that our discussion wasn't too pessimistic. So let's finish it, let's end it on a more optimistic note. And we need to say that PASCIs are a future, that PASCIs And obviously there will be attacks because as Microsoft is pushing past keys really hard they will become the default Authentication method in Entra next month.
SPEAKER_02Attackers will put more effort into breaking some passkey related stuff, but it's all the attacks are still much harder to do than just phish your password, right? Or just guess your password 123 or whatever. So it's still better. It's still the future, but some security principles like clean source principle still apply.
SPEAKER_01100%. And I'm glad you sort of mentioned that, right? Even though, say for example, that flooding demo was a very easy demo to show, to get to that point, the attacker had to compromise the device, get their code in there and then run it, which is a lot of time and effort taken by the attacker compared to the standard phishing attacks they can do with passwords and trying to get users to click on a link and all they needed is a browser.
SPEAKER_02Exactly, exactly.
SPEAKER_01Michael, it's been awesome to have you and I really appreciate you coming on to Entra Chat and sharing all of this.
SPEAKER_02Great, thanks again for inviting me. It was a pleasure.
Microsoft is moving millions of users off SMS and onto passkeys, and most admins now have to decide which kind of passkey each group of users should get. Nishant Kaushik, CTO of the FIDO Alliance, the industry body...
AI agents are arriving in every Microsoft 365 tenant, and the questions admins ask first are what they cost to run and what it costs to secure them. In this Workplace Ninjas US special, four of the event’s speakers...
Most SaaS vendors connect to your tenant with one multitenant app and one credential, shared by every customer. Kelvin Tegelaar, founder of CyberDrain and creator of CIPP (used by well over 10,000 MSPs), sees it from...
Most Conditional Access gaps aren’t exotic. They come from reading policies the wrong way: as firewall rules with an “allow”, as a list of platforms that seems complete, as an MFA exception for the office that made...
Most tenants have the same problem: hundreds of app registrations and service principals, client secrets that were set to expire in a hundred years, permission grants nobody remembers approving, and test tenants that...