start	end	text
0	1340	Hello everyone.
1340	6480	I'm Marco and today we will be presenting C-traps.
6480	11560	C-trap client impersonation and API confusion on Fido 2.
13100	14280	So I'm Marco.
14280	17340	I'm a post doc at KTH in Sweden.
17780	21140	I've done this work while I was doing my Ph.D.
21140	28000	at Eurocom in France under Professor Antonioli which will talk with me as a co-speaker.
28100	35640	My research is in security and privacy so I look at proprietary and standard protocols of IoT devices.
35640	39900	For example, authenticators from Fido 2.
40060	48880	I also look at mobile, so Android and transport very common ones like Bluetooth energy, Wi-Fi, NFC and so on.
48880	54620	So now Daniele will have the stage for him.
55160	56560	All right guys.
56560	58440	Thank you for coming to our talk.
58440	59800	My name is Daniele Antonioli.
59800	67840	I'm an assistant professor at Eurocom, a university and research center located in Sofia Antipolis in the southern part of France.
68420	70640	We do research in security and privacy.
70640	77580	We cover topics including Bluetooth, electric scooters, Fido 2, web tracking and more.
77580	81420	Feel free to reach out to me after the talk if you're interested in doing a Ph.D.
81420	83220	or a post doc in any of these topics.
83280	88160	You can also check out my website for more information about myself and my research.
88400	90540	This is the CTRAPS talk outline.
90540	96260	So I will start by introducing Fido 2 and the CTRAPS contributions, attacks and vulnerabilities.
96520	101260	We'll talk about some background information about Fido 2 and our threat model.
101260	110500	Then Marco will take over and talk about really cool attacks with demos including the client impersonation attacks, the API confusion, man in the middle attacks.
110500	126540	Then he will talk about the CTRAPS vulnerabilities, a toolkit that we developed an open source implementing the attacks, our experimental results and countermeasures and responsible disclosure we did with the Fido Alliance.
127080	129100	Let's jump into the talk.
129240	140480	So this talk is based on a research paper that we published in 2025 at IEEE Euro S&P called CTRAPS, CTRAPS, Client Impersonation and API Confusions on Fido.
140800	158800	Remember that we started this research in 2023 and it took quite a lot to get the paper accepted but when the paper got accepted then we also submitted the content of the paper to DEF CON to also showcase our results to a broader audience and not only to boring academics.
160580	163080	So let's start with Fido to set the stage.
163080	163700	What is Fido?
163700	167260	Fido means Fast Identity Online version 2.
167260	171980	This is an open authentication standard that was designed to be resilient against phishing.
171980	173980	Phishing is a password compromise.
174340	178420	It highly relies on the concept of authenticator.
178420	183700	An authenticator can be like a USB dongle like this one.
183700	184500	This is a YubiKey.
184500	185240	It's quite popular.
185240	192260	There are billions of authenticators like this one which are storing billions of credentials.
192500	197940	These days you can also use your smartphone as a Fido authenticator.
197940	205980	And then the authenticator is storing some authentication credentials which are cryptographically key pairs that you can use to authenticate.
206220	209780	There are two typical use cases for Fido authentication.
209780	228340	The first one is a second factor or multi-factor authentication where let's say you want to log in on Apple.com, you register with Apple.com, you register a Fido credential, and then whenever you log in, you enter your username, your password, and then you provide your authenticator to the backend.
228400	234060	And this allows you to tolerate the password compromise attack.
234080	246020	Because even if the attacker gets access to your password, it cannot get access to your USB authenticator, to your key pairs which is not phishable because this is a cryptographic key.
246020	254420	It is not a password that can be brute forced and so cannot impersonate you on Apple.com.
254480	265000	More recently, Fido also enabled what is called passwordless authentication where you can log in on a website by using your username and only the passkey.
265240	268860	And this is also known as passkey authentication.
268860	274020	It's a single factor authentication while the other is a second factor authentication.
276890	282090	These are the entities involved in a Fido authentication ceremony.
282090	284310	There is the authenticator that you've already seen.
284310	299450	Then there is a Fido client which can be a smartphone, a laptop, and there is a user which usually owns the authenticator and the client and wants to authenticate to a web service via the client like Apple.com, Facebook.com, Google.com.
299450	302650	And so the user is contacting the relying party.
302650	311190	Relying party is just some technical jargon using the Fido standard to indicate a service who is supporting Fido authentication.
311450	318430	And then Fido specifies two standard application layer protocols that are used to authenticate.
318430	320210	One is called CTAP.
320210	323130	CTAP stands for client to authentication protocol.
323130	332950	And this protocol is used in the link between the authenticator and the user and can be transported using multiple technologies including USB and NFC.
333070	336730	In fact, if you look at the authenticator, you have a USB port.
336730	340550	You can plug in your authenticator in your laptop and then complete authentication.
340550	345270	Or you can tap your authenticator to your smartphone.
345270	346930	They are in NFC range.
346930	351210	They exchange some CTAP messages and then you can complete authentication.
351210	352950	Second factor or single factor.
353330	356390	On the other hand of the scheme, there is WebAuthn.
356390	366750	This is a communication protocol which is spoken by the client and the relying party, which is using standard internet-based technologies like TCPAP and TLS.
366910	374090	And in CTAPs, we focus on the CTAP link, specifically on the security and privacy of the CTAP protocol.
374390	381590	So the attacker is a protocol level attacker which is trying to find design vulnerabilities in the CTAP protocol.
381650	389330	And we will see, we will focus on vulnerabilities enabling client impersonation and man-in-the-middle attacks.
389470	397790	So with a client impersonation, the attacker is approaching the authenticator as a client and is trying to tamper with the client.
397790	405430	In a man-in-the-middle scenario, the attacker has a man-in-the-middle channel between the authenticator and the client.
405430	408890	And these attacks, they have critical impacts on the FIDO ecosystems.
408890	415350	So here we talk about millions of keys and billions of credentials stored in these keys.
415830	432290	And as an example of attack impact, you can delete credentials, you can track users based on their credentials, you can denial of service an authenticator, you can leak some sensitive data about the user, like the list of relying parties, the list of accounts,
432290	433550	and so on and so forth.
433650	440430	And interestingly, while attacking CTAP, you are kind of agnostic to the link layer.
440430	448250	So if you find the vulnerabilities at the application layer, then you can attack communications over USB, over NFC, over BLE, and so on and so forth.
448250	453190	Plus, you can also affect, as a side effect, the relying party.
453190	462930	So we mount attacks using CTAP messages, and without even sending one single web out and message, we can affect the relying party.
462930	470230	Because if we delete the credentials in the authenticator, then the user will not be able to log in on the relying party.
470690	476210	This is the list of contributions that we provide with the CTAP's work.
476210	489130	After doing extensive security evaluation of the protocol, the application layer protocol, we found eight critical design vulnerabilities affecting even the latest version of CTAP.
489130	492750	So up to CTAP version 2.2.
493310	499050	And we show how to exploit these design vulnerabilities in 11 new ways.
499050	516450	So we present 11 new attacks, four of which are client impersonation ones, and seven of which are man-in-the-middle attacks, where we exploit a new attack technique in the context of FIDO that we call API confusion, which essentially means that the client wants to call APIA.
516450	518950	We are in the middle, and then we play some tricks.
518950	528990	We are able to bypass authorization and play some tricks to call API B on the authenticator and return an APIA OK message to the client.
529530	533550	Then we also present a toolkit, which is on GitHub.
533550	534950	It is open source.
534950	536490	It is implementing our attacks.
536490	544810	It also includes a virtual CTAP testbed that you can use to test your own authenticator without having to attack Apple.com or Microsoft.com.
544810	549290	You can just test it locally, and then you can try the attack somewhere else.
549290	558350	We also provide four attack clients that can be used on real devices against real devices to perform all of our attacks.
558350	574350	We run an extended evaluation, experimental evaluation with real devices, where we compromise six of the most popular authenticators, including Yubico Authenticators, Faitian Authenticators, and open source Google Authenticators, and also 10 very popular reliant parties.
574350	579510	So we are capable of compromising Apple.com, Microsoft.com, NVIDIA.com, and so on and so forth.
579510	587290	And all the web services that are relying on their login mechanism as a piggyback.
587290	593590	And then we also discuss eight fixes at the design level, because here we are focusing about the protocol.
593590	595550	We are not talking about side channels, fault injection.
595550	597510	We talk about the CTAP protocol.
597590	601230	And we present eight design fixes, which are compliant with FIDO, too.
602490	602890	All right.
602890	607230	So now a very quick introduction about FIDO.
608610	610710	So I talk a lot about FIDO credentials.
610710	611970	What is a FIDO credential?
611970	616850	This is an ECDSA key pair, where you have a private key that you are using to sign something.
616850	620190	You have a public key that you are using to verify something.
620290	622430	There are two types of FIDO credentials.
622550	624590	First type is non-discoverable.
624590	630870	These are credentials where the private key, which is encrypted, is stored on the relying party.
631010	635430	And this is historically the first type of credentials that was introduced by the FIDO standard.
635510	648150	And something that might sound surprising to you, it was to me when I started working on this field, is that FIDO credential, the private key of your FIDO account, is not stored on the authenticator by default.
648190	652770	But it is stored on the relying party, on the Apple backend.
652810	659430	And it is encrypted, this private key, with a master key that is instead stored on the YubiKey.
660010	663130	Then the second type of credentials is called discoverable.
663130	668310	And these are credentials that are enabling the passkey authentication thing.
668310	670290	So the single factor authentication.
670470	676850	And in this case, the private key is encrypted with the master key, and then it is stored on the authenticator itself.
677670	681310	And a typical authentication flow with FIDO goes as follows.
681310	687370	So you create a FIDO credential when you are interacting with a relying party.
688530	693730	And then you use this credential whenever you want to authenticate using the client.
693730	705530	So you use the client, you contact the relying party, you enter your username, your password, and then you authenticate with FIDO, or you only authenticate with FIDO.
705530	722730	And the authentication under the hood is a challenge-response-based protocol, where the relying party is sending a challenge , the client is relaying the challenge to your authenticator, the authenticator is answering the challenge with a signed response using the private key corresponding to that credential,
722730	729790	and then the relying party knows the public key and can verify your challenge and let you in.
730570	742650	Now, within this authentication flow, there is a channel, the sit-up channel, which is providing communication means from the authenticator to the client using this sit-up protocol.
742650	745050	This is a standard application layer protocol.
745050	749750	As I told you, it is transported over USB, NFC, or Bluetooth Low Energy.
749970	752050	And it is a request-response protocol.
752050	760810	So the client is requesting something from the authenticator, like make a new credential, the authenticator is doing something, and then it is returning the credential.
761150	767330	The first sit-up version was also known as UTF, or Universal Second Factor.
767330	778430	And this first version of sit-up standardized in the FIDO specification two-factor authentication and provided what is known as an authenticator API.
778430	784230	This keyword is very important because this is what we are attacking in the sit-ups slides later.
784250	791830	The authenticator API is a way to manage, create credentials, generate authentication responses, and so on and so forth.
791830	794950	Then sit-up was updated to version two.
795210	797390	The latest is 2.2.
797390	803630	And this standard introduced password-less authentication with discoverable credentials.
803630	811310	And it also extended the authentication API with features such as protection of discoverable credential.
811330	820830	And remember that our attacks are focusing on sit-up two, and so they're effective even against the latest and most secure FIDO authenticators, clients, and their line parties.
821790	833370	Specifically, we focus on seven core sit-up authenticator APIs, make credentials, get assertion, credential management, client pin, reset, selection, and get info.
833510	837970	The get assertion API is the one used to authenticate.
837990	840010	An API can have a subcommand.
840010	846530	For example, the credential management API has enum RPIs or enum credential subcommands.
846530	853670	And so you send a credential management API request with subcommand enumerate, please enumerate airline parties.
853750	858730	You send this message to the authenticator, and the authenticator sends back the information.
858950	863530	And this communication is protected by two main authorization mechanisms.
863530	867890	These authorization mechanisms are standard, so everybody's implementing this API.
867950	871750	Everybody in the FIDO ecosystem must implement these authorizations.
871750	875690	The first one is called user verification, and here is color-coded in blue.
876190	880570	With user verification, whenever you use an authenticator, you set a pin.
880850	888130	This pin is stored in the authenticator, and then you have to enter the pin in the client whenever an API requires it.
888130	897670	For example, if you want to create a new credential, before being able to do that, you enter the pin on the client, on your smartphone, then the smartphone communicates to the authenticator.
897670	902590	You are kind of authenticated because you know the pin, and then you can proceed.
902970	911350	The second orthogonal authorization mechanism is called user presence, and here is color-coded in violet.
911490	918830	This user presence is entirely managed by the authenticator, and it depends on the transport that you are using.
918830	927470	If you are using USB for your authentication, your API call, as a user, you have to press a button on the authenticator.
927470	935810	So you insert the authenticator, the client is asking something to the authenticator, and then the user has to press a button to confirm his presence.
935870	942530	Instead, if you are using NFC, then NFC range automatically guarantees user presence.
942530	943870	So you don't need to press any button.
943870	946110	There is no user interaction required.
946110	950030	You just have to put the devices in range.
951710	963850	And this is the threat model, the CTRAPS threat model, just to understand the requirements of the attack before we talk about the attacks.
963850	970450	We consider a scenario where a victim is owning a client device and an authenticator, like a smartphone and a YubiKey .
970470	977230	The user is capable of performing user verification with the client and also user presence with the authenticator.
977230	984150	And the client is communicating to airline party via WebO10 and also to the authenticator via CTAP.
984150	999050	And we assume that there is an attacker, protocol-level attacker, focusing on design issues on CTAP, which is either trying to spoof a client, so approaching the authenticator as a client, or as a man-in-the-middle position between the authenticator and the client.
999310	1003650	It is important to realize that we are not assuming any compromise on the FIDO devices.
1003650	1005910	So we are not installing malware on the client.
1005910	1008070	We are not installing malware on the airline party.
1008070	1010890	We are not running a side-channel attack on the authenticator.
1010890	1016890	Here we are just sending CTAP packets and we want to exploit the CTAP protocol.
1017490	1025010	So this concludes my part and now Marco will continue talking about the client impersonation attacks and other really good things.
1026110	1030150	So let's look at attacks and video demonstrations.
1030290	1042850	We start with the client impersonation, but first we must have one single stop to understand what actually happens when you call a CTAP API.
1043030	1046950	So the user wants to call API A.
1047190	1050990	They do this through the client.
1050990	1057930	So the client understands if the API A requires user verification.
1058270	1065450	If it requires user verification, the client starts the pin UV out protocol.
1065630	1067650	This goes as follows.
1067650	1072310	You perform a secure defilement in order to get a shared secret.
1072310	1084270	Then the client sends encrypted a message containing the hashed pin for the authenticator that the user inputted and the permissions.
1084270	1091430	The permissions give access control to the user verification token at the end of the process.
1091430	1099710	Basically they restrict the token to specific API calls or end to specific relying parties.
1100230	1106750	Now the authenticator checks if the pin is the one stored inside its memory.
1106750	1111990	If it's correct, sends the encrypted message containing the user verification token.
1111990	1115770	And then the client retrieves it and can use it for the whole session.
1115770	1117970	So this token is reusable.
1117970	1124610	You can use it as many times as you want without asking for another pin input prompt to the user.
1124630	1127630	If you disconnect, you have to do this again.
1128590	1136090	Now the client actually calls API A and attaches the token if it requires user verification.
1136590	1143070	Then the authenticator understands if API A requires or not a user presence check.
1143070	1145250	If it does, he does it.
1145250	1154990	If it's correct, then the authenticator executes API A and sends an API A okay result.
1155850	1158010	So this is how it works normally.
1158010	1161150	Let's see how we tamper with it.
1161150	1166770	So first the client impersonation attack that factory resets the authenticator.
1166770	1173790	So we have on the left the authenticator and on the right the attacker posing as a legitimate FIDO client.
1174050	1177030	The attacker sends a reset command.
1177030	1179070	It's one of the sit up APIs.
1179250	1181630	This command requires user presence.
1181630	1195290	So connects to the authenticator, sends reset, user presence check, passes, and then the authenticator deletes the master key which invalidates all credentials because without the master key, the authenticator cannot decrypt them.
1195290	1198130	No matter if they are discoverable or non-discoverable.
1198130	1200030	No credential is safe.
1200110	1208710	Then it also resets the PIN and other data and settings on authenticator and finally sends the reset okay result.
1209570	1213150	So let's look at the first demonstration.
1213150	1214910	So let me open the link.
1214910	1222190	So we have the FIDO authenticator put inside the pocket of a jacket just right now.
1222190	1228050	Then I have my malicious app that connects over NFC to it.
1228110	1229930	I'm trying to scan for it.
1229990	1231690	Now it works.
1231970	1238410	And we have the message here that... sorry I will show it better a little bit later.
1238410	1243050	So you can see the message that the factory reset was successful.
1243610	1247690	And now I will show you that there are no credentials inside anymore.
1247690	1258710	So I just use another function of my app to show that we connected and here it's supposed to print credentials but there is no credentials.
1259450	1261650	So that's the factory reset.
1265770	1267450	We have plenty more.
1267450	1273370	So let's go to the tracking user from the authenticator credentials.
1273370	1287590	So now I think this is very interesting because the get assertion API call is used for authentication but for us we use it to track the user by extracting identifiers.
1288030	1301070	So get assertion usually requires user verification but if the relying party set the credential protection policy as off, it doesn't require user verification.
1301070	1304890	And this is the case for big players like Apple and Microsoft.
1305850	1308250	So here the attack goes as follows.
1308250	1314390	The client, the attacker posing as a client prepares a list of insecure relying parties.
1315270	1319330	What I mean by insecure is they have credential protection as off.
1319370	1321850	So this skips user verification.
1322270	1328430	Then the client, the attacker sends the get assertion API call.
1328550	1332930	Here it is the client that decides if the user presence is required.
1332930	1334870	So we control the client.
1334870	1336210	We are the attacker.
1336210	1343450	We are the attacker client so we put it as false and we don't need user presence anymore.
1343490	1349070	And we also touch the list of relying parties that are using credential protection off.
1349070	1356910	So the authenticator gives back a list of all credential identifiers from those relying parties and all user identifiers.
1356910	1365670	And these are the values that bind the online relying party user account to the credential IDs.
1365670	1368830	Both of them are uniquely identifying the user.
1368830	1381250	So we can put them in a fingerprint list and then track the user whenever he connects to our malicious client, our attacker, whenever we connect to it.
1381450	1383790	So we have the demo.
1383790	1386510	This is also over NFC.
1386750	1390630	So this time we changed the piece of clothing.
1390630	1396130	So we have the jeans if you were wondering if they work on every clothing.
1396130	1406550	So now we are scanning the authenticator key and we can see no user input, no user consent.
1407170	1413810	And we detected that there is one relying party, login Microsoft com, and we have two credentials inside.
1414190	1421430	One, we have the credential identifier for the first one, 085C, and then the user identifier.
1421630	1424250	And also same thing for the second credential.
1424250	1426750	So that's how we can track users.
1431710	1437970	Just to quickly add on what Marco showed, here we can track the user because the credential ID is unique.
1438050	1442690	And so this can act as a really strong fingerprint for a tracking attack.
1442690	1447890	And so the first time we collect the data, we create the fingerprint.
1447890	1456750	And then whenever the user roams around and then we scan again, the same YubiKey, we can track the user via its unique credential IDs.
1458070	1459190	Yes.
1459410	1462110	So we have four client impersonation attacks.
1462110	1464210	I already shown you the first two.
1464210	1468050	For the third one, we attack the client API.
1468050	1473210	So here we just submit 10 incorrect pin guesses.
1473350	1478630	So then the authenticator goes into a hard lockout mode that requires factory resetting.
1478630	1481290	So you lose all of your credentials .
1482150	1489130	And we also have another attack that profiles the authenticator given the hardware and software details.
1489590	1492730	Now we go into the second attack technique .
1492990	1499370	So in this technique, we have a man in the middle attacker between the authenticator and the client.
1499370	1504530	So for example, a malicious USB hub, a malicious sit-up library, and so on.
1505390	1522670	So first, if the client wants to call API A and it requires user verification, the man in the middle attacker runs the pin UV out protocol, forcing to create a user verification token that accepts all APIs and all parties.
1522870	1528230	So we break the access control part of the protocol.
1528310	1537150	So now that we can run any API we want on any rank party we want, we wait for the client to call API A with a token if it's needed.
1537150	1541170	And then we instead run API B on the authenticator.
1541170	1548650	So we change, we confound API A with API B, which is the one the attacker wants to execute.
1548650	1553450	Now, if API B requires user presence, we do the user presence check.
1553450	1566130	Then API B is executed, a success message is returned, and the man in the middle attacker changes it to API A success to masquerade.
1566990	1573510	We tested API Confusion with all combinations of the seven core sit-up APIs.
1573510	1576590	You can see the seven APIs here.
1577210	1580190	So let's give an example.
1580670	1593530	Here we have on the left the APIs called by the user, and on the columns, so on the top, the APIs that the attacker wants to run, to execute.
1593630	1609470	So for example, for Reset, it works that if the user calls MakeCredential, we can call Reset instead, because MakeCredential has compatible permissions, compatible user verification, user presence, compared to Reset.
1609470	1617510	So we can use the user presence from MakeCredential to execute the user presence that Reset requires.
1617710	1620310	And you can see some one and choose.
1620310	1636550	We have these requirements because if we want the attacks to be stealthy, in some cases we require NFC to have user presence, or we need credential protection to not perform user verification.
1636550	1638330	But this is optional.
1638710	1641170	This is just for having stealthy attacks.
1641170	1643290	But we can run them anyway.
1645050	1650390	Now, the first API confusion attack I will present is the Factory Reset.
1650390	1655330	So the goal is the same as the client impersonation, but the technique is different.
1655330	1662050	So now the client calls API A that requires user presence, because Reset requires user presence.
1662050	1664830	For example, get assertion, selection, and so on.
1664830	1668450	The middle attacker confounds API A into Reset.
1668450	1672370	We do the user presence check, which the user expects.
1672630	1683170	We delete the credentials, other data, and then we get back to the client saying API A was executed and not Reset.
1684050	1689990	Then we have the second attacks that we are presenting for API confusion.
1689990	1695110	So deleting discoverer credentials, which are the ones stored in the authenticator.
1695110	1699190	Now we run the middle attack.
1699190	1707010	We have the pin UV authentication protocol that forces the user verification for everyone.
1707410	1709770	The client calls API A.
1709770	1713650	We confound it with calls to credential management.
1713650	1716450	And here credential management has different subcommands.
1716450	1721450	So the first one you can see from the diagram is getCredentialData.
1721450	1724830	We see if there are any discoverer credentials inside.
1724830	1732470	If there are, we enumerate all the parties tied to those credentials, and we get a list of the relying parties.
1732470	1734910	So like Microsoft, Apple, Google, and so on.
1734910	1743850	Then we use this to get, with the credential API call, the list of credential identifiers.
1743850	1748630	And now we can delete one by one all the credentials stored in the authenticator.
1748650	1753410	And then we tell the client that API A was okay.
1754930	1760190	So here is a demonstration that we can use the user verification token for multiple API calls.
1761110	1764390	And now, so here we have a setup that simulates.
1764390	1766670	I'm in the middle over USB.
1766750	1769490	So you will see a lot of traffic.
1769490	1771630	Let me skip here.
1771890	1774570	Yes, so you can see a lot of traffic here.
1774570	1777490	So this is the client pin protocol that executes.
1777490	1780930	Then we are enumerating the relying parties, enumerating the credentials.
1781130	1787230	And at the end, you will see that we are deleting the discoverer credentials just in a little bit.
1787650	1791890	So yes, I will just wait two seconds.
1792090	1795690	And you will see that the stored credentials are now zero.
1795770	1797790	So here you can see deleteCredential.
1797790	1803070	We deleted one, two, three, four credentials, and then zero remaining.
1803070	1807350	So that's how you delete discoverer credentials using API Confusion.
1813300	1815780	So we present seven API Confusion attacks.
1815780	1820000	Some of them are similar to the ones I've shown you for the client impersonation.
1820000	1829000	Other ones are like filling the discoverer credential memory space by using make credential API calls or denial of servicing authenticator using selection.
1829920	1833140	So now as for the vulnerabilities and the toolkit.
1833680	1838580	So we find eight CTAP vulnerabilities on the design of CTAP.
1838580	1860260	So the fact that you can connect the CTAP client without authentication, the fact that there is no feedback about API calls, the fact that NFC range gives user presence, allowing us to connect without the user noticing, the fact that you can use destructive APIs without user authorization,
1860260	1871540	trackable identifiers, issues with the user verification, user presence of reset and credential management API, and also the DOS over the selection API.
1871840	1874120	So this is how the vulnerabilities map.
1874120	1883180	Basically the first two are required for connection to the, for connecting impersonating the client and many in the middling, the traffic.
1883180	1890040	The second one is for stealthiness and the other ones are specific to some or just one API.
1891020	1896180	So then we released open source toolkit for connecting these attacks.
1896180	1907240	We have three modules, a virtual testbed for CTAP experiments for other clients and the sectors which improved the sectors for CTAP.
1907320	1912180	So for the testbed, we have a virtual running party and CTAP client.
1912380	1921160	We want to test, we wanted to test physical authenticators without breaking the actual running parties, without sending web authent requests.
1921160	1924240	So this was very practical.
1924240	1931640	We extended the Yubico testbed for this, the FIDO2 Python repository.
1931640	1938280	We send raw CTAP packets with this so we can change them at a byte level.
1938280	1945500	We can customize the configuration of the virtual client , changing the requirements and the curves, extension needed.
1945500	1949500	We also offer templates imitating, simulating real running parties.
1949500	1955360	So the correct running party ID, identifier, the real credential protection policy and so on.
1955780	1961240	Then for the four attack clients, we have an Android app for the client impersonation over NFC.
1961240	1969060	So it runs on the attacker phone like this one and we got up to two centimeters of range on my phone.
1969060	1978100	Then for the Proxmark, we have a long range antenna that deploys the attack with a range of up to 6.5 centimeters.
1978100	1980440	So a better result.
1980440	1984580	And also sends this custom CTAP commands over NFC.
1984640	1989780	Also an Android app running on the victim phone that performs a client impersonation.
1990420	1995220	And we are using our custom API instead of the Android NFC API.
1995220	2003600	And finally, this Electron app running on desktop that can simulate API confusion over USB using the node-hid library.
2004080	2005840	And performs that in the middle.
2006220	2011960	So we evaluated six popular authenticators from Mubico, Feitian, Solokeys and Google.
2011960	2013300	Some of them were open source.
2013300	2014620	Some of them are closed source.
2014620	2017960	They have different amounts of memory for discoverer credentials.
2018300	2023040	And years are from 2018 to pretty recent 2023.
2024120	2027320	Then also ten popular running parties.
2027320	2034200	Among them are Apple and Microsoft that has the discoverer weak type here.
2034200	2039640	Which means that they use the credential protection off on their discoverer credentials.
2039820	2044580	Then we have sites like Adobe and the GitHub that use discoverable credentials.
2044580	2046160	So they are stored in the authenticator.
2046160	2049920	And then DocuSign and Facebook that use non-discoverable credentials.
2049920	2053020	They are stored by their running party.
2054820	2058860	So our attacks, they target the SITAP protocol.
2058860	2067000	So they are working regardless of the hardware and software of the authenticators.
2067000	2071500	So all of our attacks are effective on all the authenticators.
2071500	2076020	Just one exception that four authenticators do not implement the selection API.
2076020	2080680	So of course we couldn't implement the selection-based attack.
2080680	2083140	Because there was no API there.
2085380	2093480	As Daniel already told you, we have impact also on the running party despite not sending any WebO10 command.
2094100	2097720	So for the outcomes, we have the deletion of credentials.
2097720	2098860	So you can't log in.
2098860	2099700	You lose the credentials.
2099700	2101000	You can't log into the account.
2101000	2103860	So for example for Microsoft, this is for the Microsoft account.
2103860	2110600	But you also use these credentials for the OneDrive, for the Office and even for your Minecraft login.
2112000	2114300	Then we have the user tracking.
2114340	2119840	So here we track the user and it doesn't work with non-discoverable credentials.
2119840	2123020	So that's why we have the not applicable in our table.
2123020	2126560	We only can track the user with discoverable credentials.
2126620	2130840	And finally we have the service authenticator meaning that it doesn't work or it is busy.
2130840	2134480	So you cannot use it for login, for authentication.
2135000	2142120	So for the countermeasure disclosure, we have eight countermeasures fixing the eight vulnerabilities.
2142120	2150440	So some of them are proposals for having a trusted sit-up client like PKI or attestation.
2150440	2152440	Then visual feedback for authenticator.
2152440	2155440	For example, using the LED is one of the options.
2155440	2162200	Then user interaction for the user presence even when doing NFC, when having the NFC transport.
2162200	2164720	A different pin for destructive APIs.
2164720	2170460	Rotating and credential protection on credential identifiers and user identifiers.
2170500	2174860	Adjustments to the authorization of the reset and credential management.
2174860	2179780	And rate limiting for DOS on the selection, for DOS prevention on selection.
2180100	2184640	So for the disclosure, we informed the FIDO Alliance on November 2023.
2184640	2190680	They answered us on May 2024 with nice feedback.
2190680	2195540	And they also requested us to disclose our findings to the vendors.
2195540	2200240	So we contacted Yubico, Soloveit and Google about the attacks.
2200240	2206900	We also told Yubico that we found an implementation flaw in their firmware.
2206960	2210100	And we got a CVE and an advisory from them.
2210100	2214060	And now it is fixed for newer models, but not for the old ones.
2214060	2215400	It is still there.
2215860	2218300	And it involves data leaking.
2219100	2226080	And then we also contacted parties using the credential protection of policy, which is Microsoft and Apple.
2226820	2229660	So thank you for the attention.
2229660	2235720	And if you want to meet us later, we have a live demo for most of the attacks.
2235720	2239200	So feel free to come to us.
2239200	2240040	Thank you.
2240440	2241620	Thank you very much.
