start	end	text
600	3640	All right, yeah, the problem is at the end of the day,
3640	5940	apparently the good stuff is empty.
7120	8380	But it's all right.
9860	12180	Hello, welcome to our talk,
12180	15000	exploiting Bluetooth from your card to the bank account.
15660	17980	To get this out of the way, first,
17980	20640	the main speaker sadly cannot be here tonight.
20640	22740	He didn't receive a visa in time.
23000	25140	We still don't have to do without him.
25140	26880	But the second part of the video
26880	30260	with all the technical details of the talk
30260	32220	will be given via video.
32340	35440	So if you have questions at the end, afterwards,
35440	37740	I'll do my best to answer them online or offline
37740	39940	or connect you with Vlad,
39940	43780	who's the main wizard behind this talk, really.
46300	54350	To prove this, I'll let Vlad introduce himself.
54550	56390	And I hope this works.
58250	59210	Do we have sound?
73090	74370	Do we have any sound?
84310	87170	Otherwise I can introduce him, but...
127750	129150	The volume's up all the way?
129490	131610	Yeah, on this it is.
131610	132670	On here, I don't know.
132850	134730	Can we check the volume on your computer?
134790	135530	That is up all the way?
135530	136270	It's on.
266470	271690	See you recording. My name is Vladislav, but some of you might know me as Weiser and Schmitz.
271690	275790	I'm a bug bounty hunter and primarily focus on web mobile infrastructure when it comes
275790	280230	to pen testing. I also focus on code reviews and development of the tools and frameworks.
280230	285210	I'm currently open to the new opportunities, so feel free to reach out. I also have additional
285210	290530	certifications, awards, and masters. But the most important fact is that I have never attacked
290530	295570	booters or cars before, and I applied some of the bug bounty hunting techniques to it and
295570	303420	got some interesting results for you. All right, yeah, sorry for this. Apparently,
303420	313810	this was the first talk today with audio. So let's move on. After Vlad introduced himself,
313810	319350	who am I? My name is Martin. I'm a security researcher and a scientist at the Swiss Cyber
319350	326150	Defense Campus, which is the procurement agency of the Swiss military. I have a background in
326150	332180	wireless security, been publishing in all the major academic systems security conference,
332470	339270	and I've been leading research efforts, not just on cars, but on all sorts of transportation
339270	348510	security at our campus. That includes aviation, so I've just done a talk at the aerospace village,
348510	354790	so you can always check that out, but also space, cars, and trains. I have never looked
354790	360070	at bluetooth before this work, but we've done work on cars, so you can also check out
360070	368910	brokenwire.fail, where we've hacked electric charging processes. So let me first introduce
368910	375470	you to the motivation for this research. One of our main jobs at the campus is to support
375470	380830	procurement for the Swiss military and for the federal government. So we want to really make
380830	387750	sure that the government and the military buy secure systems. As you can imagine, the DoD
387750	394970	buys quite a lot of IT systems, but also other systems such as cars. If you buy that in high
394970	401610	volume, you have quite decent negotiation leverage with manufacturers. In general, public
401610	407050	procurement, if you don't know, is done with tenders. You can basically broadly divide it
407050	413870	into a pre-tender stage, then the actual tender contract, and the time after actually having
413870	422010	procured the systems, and even received and deployed the systems. Doing simple pen testing
422010	429170	after you have bought these things, that's often too late for us. The leverage you have in
429170	435350	negotiations, it's partly gone, and the systems, they're already in operation. I mean, at that
435350	443410	point, you run insecure systems. So that's not ideal. Something else we do is, we do a lot of
443970	453650	standards. That works. If you look at aviation, for example, you find a lot of flaws, and in
453650	460250	principle, you can try to change that in the long run. The problem is, most of these areas have
460250	465410	very long life cycles. So even if you find and demonstrate major flaws in protocols and
465410	471630	technologies being used there, it will take decades until that is being changed in practice.
471630	481950	So again, not too helpful for our case here. So what do we want to concretely do here to support
481950	489230	our procurement? We want to do concrete vulnerability research as early as possible.
489530	495890	We want to really help shape the security requirements during the process and in the final
495890	501070	contenders. To do that, we work with the manufacturers, but we also use support from academia
501070	507310	in Switzerland and outside to bring everyone together to make the systems more secure, and not
507310	513210	just do this for us, but for everyone. So concretely, if we do research, we follow a responsible
513210	519410	disclosure process with the manufacturers. If we find anything, we publish at conferences, also
519410	525610	come to hacker cons now, and we also release our code wherever possible, just as in this case.
527430	533170	That brings me then to today's concrete case study, vehicles and the army and Bluetooth.
533590	540630	As alluded earlier, the DoD buys a lot of vehicles, not just these that you can see here, probably the
540630	549450	ones you think of first. Luckily, these don't have Bluetooth, or at least I think, I mean I haven't
549450	554790	checked all of them, you don't really know. They might exist these days as well, but in general
554790	565450	they don't. But honestly, boringly, by far the most vehicles being procured by our DoD are box
565450	572570	standard, run of the mill civilian cars. And they all have Bluetooth. You basically cannot buy a
572570	579490	car without it, even if you want it. So, even we can't get that without. That brings me off the
579490	587690	scope of this research now. Bluetooth, of course, is not the only interface you find in the car.
587690	597050	Cars are super complex systems. When doing a count, we found at least 19 interfaces in modern
597050	603990	cars, from wired OBD ports to the key fob. If there's an issue with any of these interfaces,
603990	610850	these systems, the only way traditionally for a manufacturer to do anything and to deal with it
611250	618230	in that car and that model, is to do a recall. And recalls, typically for safety problems,
618230	626390	they're expensive and rarely done, really just for very important safety problem. For security
628010	636090	reasons, this rarely happens, to be honest. So, that leaves us with a very complex attack surface,
636090	642270	much of which actually has been discussed at DEF CON, also at the Car Hacking Village. They
642270	648330	specialize in that, of course, but just an illustration here, don't have to check all of
648330	654890	this, but it's a very big complex attack surface you have in modern cars.
656570	663170	So, why are we looking now specifically at Bluetooth? Well, most importantly, nobody had
663170	668090	done it yet. So, there's a lot of Bluetooth research, of course, but nobody has really
668090	676330	checked on a large scale all the exploits that exist in Bluetooth with a reasonable amount of
676330	683350	cars. So, that sort of Bluetooth security in cars hasn't been addressed. That felt to us like an
683350	688990	oversight, not just from the procurement perspective, but over 1 billion cars have Bluetooth
689470	695370	and, as mentioned, you can't do anything about that if you buy a new car. That overall makes
695370	701810	the research very impactful, not just for us, but really for anyone with a car. And we're very happy
701810	708290	also with the outcomes that we had from this research, which was led by Vlad, who will now
708290	717310	present the technical details and I will come back afterwards for any questions or any information.
729480	733760	Bluetooth is a short-range wireless communication standard and it is not a specific protocol, but
733760	737720	multiple different protocols that work on top of each other and that are maintained by different
737720	741740	entities. Due to this complexity, there are different errors and misunderstandings that
741740	746560	arise and these are the primary source of the vulnerabilities that we keep filing.
746560	750040	We're only going to talk about the Bluetooth classic here, we're not going to talk about the
750040	754840	Bluetooth technology at all. So what you have to remember about the Bluetooth is that it is
754840	759800	transport plus additional functionality on top of it. And when I refer to the functionality,
759800	765340	I refer to the Bluetooth profiles that allow you to make calls, stream audio, share context messages,
765340	770520	and even have the whole internet stack on top of the Bluetooth. So Bluetooth is reaching the
770520	774940	functionality and we have to secure it and for that we have pairing. When it comes to pairing,
774940	780740	it depends on the capabilities of the device and the security options. So when it comes to the
780740	785780	capabilities themselves, they depend on the input and output capabilities of the device.
785780	791280	So if the device has both of them, then we call such device Display Yes, No. If the device has
791280	796520	only output capabilities, then we call such device Display Only. When it comes to the devices that
796520	801880	only has input capabilities, we call such devices Keyboard Only devices. And when the device doesn't
801880	808040	have any of the capabilities, so we call such devices No Input, No Output capability device.
808420	812540	We can also summarize the security model of the Bluetooth as everything or nothing as
812540	817540	pass-pairing. We can access almost all functionality that is available to us on
817540	823780	this IoT device without any further authorization in most of the cases. That's why we have to be
823780	828700	sure and confident in the pairing process and for that we have different pairing modes.
828700	835720	So when one of the devices doesn't have doesn't support security options, then for example it
835720	842820	doesn't have simple secure pairing or and secure connections, then legacy pairing is used and from
842820	847540	its name you can infer that it's legacy and ideally shouldn't be used at all. To give you some reasons
847540	856940	it's vulnerable to the non-branded XXX and also the link, the security of the link depends
856940	862780	on the four-digit pin which you can easily brute force. So then when it comes to devices that
863280	867880	doesn't have input capabilities, if one of the devices doesn't have input capabilities,
867880	872900	then just works pairing mode is used and for this pairing mode there are no guarantees that
872900	878540	you are actually pairing with the device that you want to pair with and that's why it is
878540	883740	intrinsically vulnerable to the man-in-the-middle attacks. When it comes to the pass-key entry,
883740	888760	it was recently discovered that it's vulnerable to the message confusion when the middle attack
888760	895700	which is not remediated yet in the latest version, it might be there for a few years at least.
896120	900780	So it leaves us with only one pairing mode which is actually secure and is an American
900780	906640	version. It is executed only for the devices that have this way as no capabilities and
906640	912680	they both want to pair with each other. Then when it comes to when we are pass-pairing,
912680	918820	most of the firmwares or all of the firmwares do not differentiate between the pairing modes used,
918820	925140	so whether or not you use the secure pairing mode or not. And that means that legacy pairing
925140	930740	is the same as the American version at least in the eyes of the firmware. So boosters have been
930740	934880	there for more than 23 years and we have found that there are more than 108 different attacks
934880	940920	on the booster standards themselves as of March 2024. Also, SANS provided statistics that there
940920	947720	are approximately 650 different CVEs related to the boosters devices as of 2022 and even more
948240	954500	right now. So for the presentation, we are going to differentiate between four
954500	959560	different categories of the exploits. So when I refer to the critical exploits, I refer to
959560	965460	the remote code execution, memory leakage, information leakage, but then in the middle
965460	972720	the nano-source categories are actually self-explanatory, while the chaining category
973380	981340	describes not specifically vulnerabilities or exploits, but rather weaknesses that one can use
981340	990800	to make the attacks possible or they actually allow or make some of the attacks to be executed
990800	998540	easily. We actually tried to, even though there are, sorry, even though boosters have been there
998540	1004340	for 22 years and been subject to the extensive security research, there are still challenges
1004340	1009400	involved into testing it. So it's like the common database of religious vulnerabilities,
1009400	1015840	it's like the framework for testing it. And in general, the attacks are being shared,
1015840	1019860	but the proof of concepts are not. And if they are shared, they are generally shared on the
1020620	1027560	sites that are not quite well indexed, so it's quite challenging to find such proof of concept.
1027560	1033440	And if you find the proof of concept, there is also, there is a high chance that the proof of
1033440	1038200	concept will be based on the old hardware that you cannot buy anymore. And this also applies to the
1038200	1045400	recently recently publicized exploits, for example, it's 123. When it comes to testing,
1045400	1051340	intrinsic false positives and false negatives, when you test in the black box fashion for
1051340	1059640	the null-source-based attacks, then it's a bit tricky to automate the null-source attacks in
1059640	1066440	some cases, especially for some of the devices, because the null-source attacks are quite powerful
1066440	1075360	in these cases, and it requires rebooting the device, but it's quite difficult to do. For example,
1075400	1081640	in case of the cars, in some cases it requires to wait for 10, 20, or 30 minutes, so it's a bit
1081640	1089600	tricky. We tried to solve some of these problems, and that's why we came up and open-sourced a
1089600	1093580	framework for vulnerability testing framework for Blitzware Classic, like access and redevelop
1093580	1100800	44 different exploits. Also, the main goal is reproducibility of the past and future research.
1100800	1104700	There is also a balance between automation, semi-automation, and manual tests,
1104700	1112740	so even though the attacker side is automated, the victim side is not. It's infeasible to do so,
1112740	1117540	so you still have to do some of the manual actions, for example, on the infotainment screen.
1117660	1122700	I also evaluated half of the exploits on the non-vulnerable devices, while for the other half,
1122700	1128060	I ensured that the exploits write to some deep payload, but as there were no non-vulnerable
1128060	1135920	devices for them, we used them as is. But still, these exploits found the real vulnerabilities
1135920	1143000	in the cars, so I'm quite confident in them. The tool itself works pretty straightforward.
1143000	1149580	The tester executes the command, then the engine loads the redefined exploit profile,
1149580	1153000	then checks for the vulnerability of the target device without requiring
1153000	1158480	any interactions from the tester, then executes the exploit, and after that,
1158480	1164620	depending on the exploit type, it either compares the value, or it checks the variability and
1164620	1170760	availability of the target device once again. After that, the toolkit reports back to the tester.
1171040	1177100	So I used this toolkit to attack different cars, and the result was pretty minimalistic,
1177100	1185500	or you could have used a virtual machine, USB cables, a development board, and a Nexus 5 phone
1185500	1191640	for denial-of-service attacks and internal war attacks. Then I spent approximately one to three
1191640	1197980	hours per car, as different issues arose, and for some of the cars, especially the
1198700	1205220	internal combustion cars, you have to test them outside as they require the engine to be started
1205220	1209860	to access the infotainment system, and because of that, you have to test them outside.
1210640	1214860	If you can connect to the infotainment system and observe the logs, please do that as it would
1214860	1222760	help to remediate some of the false positives and false negatives. So all of the cars were provided
1222760	1227180	by SAP Defense Campus, Amuno Logistics, and some were provided by friends and acquaintances.
1227180	1234800	In total, we had 22 cars. Only four were partially tested. You might think that the sample size is
1234800	1240400	quite small, but it is the biggest out there, and we tried to focus on different categories
1240400	1249700	of the cars, monetary-wise, and also focusing on the top manufacturers, so that we would have
1250040	1255560	a notion of the state-of-the-art bluetooth security in the automotive industry.
1255920	1259940	And finally, all of the bluetooth tests are non-invasive,
1259940	1263720	so we didn't have any problems with the cars afterwards.
1264800	1271560	I spent approximately 40 hours throughout a few weeks and found 73 different vulnerabilities.
1271620	1278240	Some issues were not reportable because they are inherent issues, and that's why I was able
1278240	1283840	to report only 64 vulnerabilities. All of the vulnerabilities that were reported were reported
1283840	1290080	responsibly, and all manufacturers and vendors had time to fix them, but you already guessed that
1290080	1295860	not all of them did that, but we still are releasing as there have been more time,
1295860	1303140	they had a lot of time to do so. So, generally, the first thing that I wanted to share is that
1303140	1308400	the cars are generally lacking in adoption of the newest bluetooth standards. So, for example,
1308400	1314360	you wanted to buy a 2023 car, you would expect that the hardware used in it would be rather
1314360	1321260	recent, but in fact what you get is the bluetooth version from 2014. And the difference is 9 years
1321260	1329960	in this case, on average it's 7 years, and mean is also 7 years. So, in the time frame of 9 years,
1329960	1335500	there have been a lot of research done into the bluetooth, so there are more than 10 different
1335500	1340960	attacks on the car specification itself, which also affects your bluetooth version,
1340960	1348160	and that's why you're in risk, because there are existing vulnerabilities that could be
1350720	1355420	exploited in your car. First, you might think that you can remediate them with the firmware
1355420	1361200	update. Here's the first problem, most of the cars still don't provide the firmware updates.
1361200	1367760	And the second problem is that you cannot remediate the car specification attacks with
1367760	1374840	the firmware updates, as they generally require fixing the standards first, then a few years will
1374840	1381140	pass as the new hardware will be developed and be available on the market. After that, you'll be able
1381140	1388900	to actually swap the hardware in your car for the newest, but no one is going to do that for you,
1388900	1394260	and manufacturers most likely won't be doing that. And this is required because you can change the
1394260	1400700	bluetooth version only by swapping the hardware. You cannot do that in the firmware. So we've been
1400700	1406120	testing for the known vulnerabilities, and we actually expected that we won't find
1406900	1414000	known vulnerabilities in the cars produced in 2022 and 2023. That were our expectations,
1414000	1421060	but in fact we still found a lot of cars that had them, and for example Tesla cars,
1421060	1427200	they had a specific man-in-the-middle vulnerability that also shouldn't really exist in other models.
1427560	1432120	You can check it for yourself. But the most interesting view is actually on the average
1432120	1439140	number of vulnerabilities found per car manufacturer, as you can see here the differences
1439140	1445320	between them and also the similarities. So when it comes to the critical vulnerabilities,
1445320	1453000	there were only three manufacturers that had them, Renault and Volkswagen. So these vulnerabilities
1453000	1457460	were rather old, and they could have been fixed with the firmware update, but there were no firmware
1457460	1463700	updates for these vulnerabilities for these cars. Then when it comes to the denial of service and
1463700	1470080	man-in-the-middle attacks, you have to notice that if one of the manufacturers doesn't
1470080	1475940	have man-in-the-middle attacks, they would generally have denial of service attacks or vice versa.
1476040	1483120	So these types are omnipresent and they can be swapped. Both of them can be used to establish
1483120	1487560	the man-in-the-middle position, so you can use both denial of service attacks and man-in-the-middle
1487560	1493380	attacks to aid you in establishing the man-in-the-middle position. So this knowledge would be very helpful
1493380	1499540	in the future, so try to remember it. And as we've been talking for the known vulnerabilities you
1499540	1507020	already guessed that we found some new ones, especially some new attacks actually. So the first
1507020	1512840	attack is the contact extractor attack. Here the victim establishes the bluetooth connection
1512840	1518640	with the car, then shares the contacts via phonebook exit profile and leaves the car without
1518640	1527240	impairing the phone, for example, by switching off the bluetooth or just walking away.
1527240	1533540	Then we will be able to spoof the MAC address to the MAC address of the victim, establish the bluetooth
1533540	1539260	connection and extract the contacts. But it would have been an ideal case, but unfortunately we cannot
1539260	1547020	do that because both the attacker and the car run the phonebook exit profile client service
1547020	1553200	and only the servicers can serve the contacts. So this specific attack applies in the car sharing
1553200	1560220	context and due to that fact we would have to get into the car. We do not need to start the car,
1560220	1565080	we just need to access the infotainment system and it is accessible without starting the engine.
1565260	1570820	So we would have to search for the password number on the infotainment screen
1570820	1577180	and if the car is vulnerable it would show us the contacts. So here you can see that we
1577180	1582860	connected to the Renault car, we do not have any contacts on the left, but when we switch to the
1582860	1589420	dial pad and search for the password number, then the contacts are shown to us. The second attack is
1589420	1594920	very similar to the non-bluetooth equipment attack with some caveats that are applied
1596700	1603380	to the automotive industry. So some of the cars actually deny connections or pairing
1603380	1609380	to be initiated from the non-bluetooth capability devices, but there are also the cars that
1610020	1615520	allow the connection to be initiated from the user's smartphone and also from the car.
1615520	1621300	So in case the connection is being initiated from the car, there are some cars that actually
1621300	1627260	forget that they deny access to the non-bluetooth capability devices and thus it might be possible
1627260	1633000	to get the connections from the car to the attacker, for example by self-deletion or
1633000	1641900	pre-committing or using other techniques, so that we might be able to get the man-in-the-middle position.
1642660	1648420	So the third attack is actually the attack on the numerical person man-in-the-middle.
1648420	1654820	This is an insecure numerical person man-in-the-middle attack. In this case, it is a mutation-specific
1654820	1663720	attack. So in this case, the car either has the design problem or they have a state problem.
1663720	1670680	In case of the state, we'd have to check the connection with different capabilities, while for
1670680	1676280	the design, we'd have to just resolve the pairing process. So in case the car is vulnerable, it
1676280	1682820	wouldn't need any confirmation of the pairing on the infotainment screen or show non-bluetooth-like
1682820	1688120	confirmation without showing the pairing number, or it will show you a static number across different
1688120	1695480	pairing attacks. So due to this fact, we'd have all the pieces to establish the man-in-the-middle
1695480	1701920	position or just the connection to the car. So to give you some of the examples in case of the
1701920	1706740	Hyundai cars, they show you the pairing number, they show you the button to cancel the pairing
1706740	1715020	or the connection, but they show you the button to accept the pairing. And this is a problem because
1715020	1720540	the whole logic is on the attacker side. In case of the Audi cars, they show you non-bluetooth-like
1720540	1724980	confirmation window, they don't show you the pairing number, and if you click accept, the
1724980	1730720	pairing would be done. After that, they will show you the window with the pairing number and the
1730720	1738580	button to cancel pairing or unpair. But in this case, there are two possibilities. So in case of
1738580	1750120	the first one, if the user clicks yes or pair on their phone first, then we might be able to get
1750120	1755500	the man-in-the-middle position. If they don't, then they might spot the attack and ask them to
1755500	1762580	wait 5-10 seconds to execute it. When it comes to the BMW cars, they had a state problem. Some of them
1762580	1769440	still might have, but it should be fixed in the newer versions, in the newer firmware versions.
1769440	1779540	So in this case, you can force the state problem by using the capabilities other than display
1779540	1786640	as null, and it will show you the specific number that you see on the screen. After that,
1786640	1791020	you'll be able to establish the man-in-the-middle position or adjust the connection to the user or
1791020	1797260	to the car. In case of the Renault cars, they didn't give the user any control whatsoever,
1797260	1802200	so anyone could connect to it. So you've seen that I've found many different vulnerabilities
1802200	1808000	in the car, specifically primarily denial-of-service attacks and man-in-the-middle attacks,
1808000	1813700	but you still might have a question, what can we do with them? And this is what we are going
1813700	1818420	to explore now. So first thing, we have to establish the man-in-the-middle position,
1818420	1823480	and for that we have three different options. First one is to do selective jamming. In case
1823480	1828400	of this active jamming, it's relatively difficult to do, but it's still possible. So in this case,
1828400	1834260	we would have to spoof the MAC address of the car and then selectively jam it. After that,
1834260	1840100	you might be able to get the connection request or pairing request from the user,
1840100	1845100	or do it vice versa. The second option is to use denial-of-service attacks and deny
1845100	1852980	user source to the car and then spoof the MAC address again and get the connection from the
1852980	1858060	user or vice versa. The third option is actually to procure it with different MAC addresses,
1858060	1863340	but the same names as those the car and the user would expect. So in this case, if we connect to
1863340	1869900	the car, we would have the name of a user, and if we connect to the user, we would have the name
1869900	1878360	of the car, so that the user would be lured into pairing. You might actually have a question or a
1878360	1884840	problem with discovering the MAC addresses. You might think it is difficult, but in fact, it's
1884840	1890320	rather easy, and it became easy as of recently. So for example, you have at least two options.
1890320	1897080	The first option is to simply listen for the MAC addresses, for discoverable MAC addresses with your
1897080	1903540	laptop hardware. You would be able to find only discoverable MAC addresses, so the sample size
1903540	1910400	won't be big, but it might be enough for the attacks. And the second option is to use blue
1910400	1915540	squares attack to actually get the MAC address, almost all MAC addresses in the Bluetooth classic
1915540	1921400	space, with the help of USRP and Ubertooth, so it's approximately two thousand dollars worth of
1921400	1928560	the equipment. So with that, you'll be able to discover the MAC addresses that are in non-discoverable
1928560	1937660	mode for almost all the attacks that we are going to show you. So then, with this specific part,
1937660	1943800	you'll be able to get your first click, or the first seamless click, and after that, you might
1943800	1950500	have a question, what can we do with the man-in-the-middle position? So in this case, we would have to escape
1950500	1957460	the Bluetooth sandbox, because we're in, so to say, Bluetooth sandbox, as we cannot execute the code,
1957460	1963320	we cannot execute arbitrary code on this other device, and because of that, we'd have to switch
1963320	1968780	to the phones rather than, and look for the functionality that we can exploit. So in this case,
1968780	1975520	generally, phones have the phone functionality. They allow you to make calls, play music, or stream audio
1975520	1981420	without any authorization, while when it comes to sharing context messages, they require the authorization
1981420	1989360	in some cases. Then they also allow you to emulate the SIM card of the victim or user, and get access
1989360	1997060	to the SMS messages and phone calls. While this might seem very interesting, the specific
1997060	2002860	SIM access profile, this is actually deprecated, and it's only available on the Android devices,
2002860	2010220	and it has a lot of warnings. It's not like users would not dismiss the warnings, but still,
2010220	2014200	it's only available on the Android device, and in fact, the most interesting one
2014740	2020860	is the message access profile, which allows you to extract different messages, for example, SMS
2020860	2026360	messages and emails. In case of the emails, it's only available according to the specification.
2026360	2033320	I haven't been able to find any implementation that actually factors the emails, so you might
2033880	2039660	find that, might not. I'm not sure in case of the emails, but what I know for the fact is that you
2039660	2045460	can extract the SMS messages that were ever delivered to the phone, and also you can send
2045460	2053260	the SMS messages. So additionally, the user experience is very helpful, as on the iOS devices,
2053260	2059120	functionality is called notifications, while on the Android devices, it's called messages.
2059320	2066820	So there is no mentioning of SMS messages at all. So we come to the generic attack that you can
2066820	2071680	execute, and the first thing that you need is the man-in-the-middle position, which requires
2072680	2076580	one click from the user, and then you will be able to ask for the message access profile
2077620	2082640	access, which will require another click from the user. Once granted, you will be able to
2082640	2087140	instruct the user's phone to send the SMS message or call a specific number that you control,
2087140	2093280	so that you will be able to link the phone number to yourself, and then use it in the
2093280	2097600	open source intelligence flow, automatic flow, so that you will be able to discover the
2098280	2106620	login names or email addresses, or just use the phone number directly on the services of interest,
2106620	2113180	and then trigger the SMS-based LTP for the accounts that are associated with the victim's
2113180	2119000	phone number, and then the LTP would be delivered to the victim's phone, which we can always retrieve
2119000	2125660	as we have the message profile access, and then relay back to the backend and hijack the accounts.
2126000	2131360	If this sounds all quite complicated and unlikely to you, I actually have some good news. So first,
2131360	2136060	we do not need to have the man-in-the-middle position at all, we just need the connection
2136060	2142460	to the phone. Secondly, we can link the phone numbers while accessing the metadata of the SMS
2142460	2147800	messages that were previously delivered, and I guess almost all of us have some SMS messages
2147800	2153960	that were delivered to the phone numbers that we use. Then we can also look for the content
2153960	2159140	into the contents of the SMS messages and look for the emails and the login names,
2159140	2165140	or alternatively, we could use the phone number or the data that we found in the
2165140	2172800	open-source intelligence for them. Finally, we do not need to ask for the message access profile
2172800	2179680	authorization for some of the phones, especially Xamarin 22 and older phones, but also this applies
2179680	2187080	to the latest phones as well. So this is a one-to-two-click generic health takeover attack.
2187860	2195480	With this attack, we can bypass MFA, we can hijack accounts for the services that primarily
2195480	2201560	rely on the SMS-based OTPs, for example, meta-services. But the most interesting services
2201560	2208180	that we want to hijack or potential perpetrators we want to hijack are the ones for which we can
2208180	2213060	trigger the SMS-based OTP by knowing some information. In most of the cases, it's
2213060	2220880	knowing the email address or the login name. So by knowing this information, you would be able to
2220880	2226560	trigger the SMS-based OTP and to know this information, you can use the open-source
2226560	2232340	intelligence form. Then you'll be able to hijack PayPal, Coinbase, Google account in case the
2232900	2236760	user is not logged into the Google account on the Android phone.
2237200	2242080	Then you'll be also able to, for example, hijack the apps to control the vehicles.
2243080	2247860	But for some of these services, it's rather difficult to do. So in case of the Apple ID,
2247860	2253260	you have to resort to phishing only as the victim is constantly notified and it's infeasible to you
2253780	2259020	the recovery in the timely fashion. Then when it comes to the Google account, if the user is logged
2260460	2267860	on the Android device, then we would have to know the browser type and operating system type
2268560	2274360	so that we can forge it. And as we'll be close to the victim and have similar IP and location,
2274360	2278900	we'll be able to bypass all the checks done by Google and hijack the account.
2279020	2283660	To give you some examples, we would first start with the Android phone. In this case,
2283660	2290260	this is Samsung S23 for which I did the attack. So almost all of the Android phones are actually
2290260	2296080	always bearable and discoverable. So you can execute the attack at any time you want.
2296080	2303780	And once we try to connect and pair, we can force the notepad notification window that
2303780	2311300	wouldn't show any pairing numbers to compare and thus the user would see only the specific device
2311300	2318980	wants to pair with them and the buttons to pair or cancel. So in this case, it's the art of choosing
2318980	2327420	the names to lure the victim into pairing or for that we can use, we can do the targeted attacks
2327420	2334040	to observe the victim or just use the most common ones and try to pair randomly. After that, we can
2334040	2341120	ask for the master Excel profile access. And in most of the cases, it is a typical workflow for
2341120	2347820	the cars and smartwatches and speakers. So if you forge the name for these devices, you would be
2348540	2357720	more likely to get the message access if the victim is more or less cautious. But I guess
2357720	2365940	most of the users are not, so they would probably run the access. Once granted, you'll be able to
2365940	2370980	execute the attack. So get the phone number, force the SMS-based OTP on the specific site,
2370980	2376120	then extract the OTP, enter the OTP, change the password and log out the user from all of the
2376120	2382280	sessions for the Samsung account. And I was able to log out the user from their own phone and
2382280	2390000	completely hijack the Samsung account. So this is a two-click generic attack and also Google was
2390000	2398140	working on a patch for the Android devices while Samsung patched their part in the Samsung account
2398140	2405200	service in June 24. They actually said that they fixed the vulnerability in November 2023,
2405200	2412460	but I reported in May 2024 and it was exploitable at that time. But who knows?
2412940	2418740	When it comes to exploiting iOS devices, you can actually exploit map the same way on the iOS
2418740	2427200	devices as on the Android devices. As on each new pairing request or in each new repairing pairing,
2427200	2433220	the user would need to explicitly allow notifications by going to the settings menu
2433220	2439220	for this specific Bluetooth device and then toggling a button to allow the notifications.
2439220	2446120	It's quite infeasible when we do the attack that way. But what if we can renegotiate the connection
2446120	2450620	for an already connected device that already has the notification permissions? You would expect
2450620	2457540	that the notifications would be reset on each pairing, which is a requirement as per specification,
2457540	2464980	but iOS doesn't follow that. So you can spoof the MAC address for an already connected device
2464980	2474400	that already has access or permissions and try to repair. In this case, here I wasn't able to
2474400	2479980	force the notepad notepad confirmation window that wouldn't show the pairing number to compare,
2479980	2486140	but you might also experiment with that and maybe get the notepad notepad confirmation window.
2486140	2495920	But it is unfortunately that it's not the case as of today. But what's most interesting is that
2495920	2503420	the iOS is also helping us in one other way. They fetch the name of the previously connected
2503420	2509600	device from the cache and use it in the pairing request. So if the user had some kind of esoteric
2509600	2516120	name for their device, they would be more inclined into pairing with us. And once they click pair,
2516140	2521560	we have the notification permissions as the previous device, as the previous connection
2521560	2527660	had them. So we'd be able to execute the attack. In this case, for example, hijack the Facebook.
2527660	2533700	But you might actually want to focus not just on the Facebook, but also on the Apple ID itself.
2534020	2541360	So recently there was an attack that involved phishing and seems to have attacked and the
2541360	2548120	perpetrators were able to steal $22,000 from the victim. And here we can try to replicate
2548120	2555580	the similar attack with the map attack. So here we'll be able to inject the SMS message as if they
2555580	2561680	came from Apple and do phishing. Once the user enters the Apple ID and the password,
2561680	2573540	SMS-based OTP or MFA would be used and we'll be able to steal the SMS message value for OTP value
2574160	2579600	via the Messenger Exit Profile attack. So here we just swap the symptom with the
2579600	2584920	Messenger Exit Profile attack. We can also focus on other applications like
2584920	2591420	PayPal or Coinbase or any other of interest. So you do not have to always focus on the
2591420	2601420	Apple ID. But the most actually interesting, worrying, or best part or worst part of this
2601420	2608220	talk is that this specific vulnerability is not fixed as of the latest iOS version and it's not
2608220	2615140	going to be fixed. Apple said that the users are safe because they are shown the parent prompt,
2615140	2622680	but I seem to see that they generally violated the business verification and that's why their
2622680	2628340	users are one click away from their accounts being stolen. But of course, it's up to you to
2628340	2633180	judge and decide whether this is a specific vulnerability that should be fixed or not.
2633180	2638240	But I personally hope that Apple would eventually fix it and upgrade it accordingly.
2638400	2643940	For the attack itself, I'm releasing a tool that affects more than 50% of the smartphone
2643940	2650840	market worldwide, more likely to affect the whole market. And this specific tool would allow you to
2650840	2656800	retrieve and send SMS messages, as well as look for the emails and phone numbers on the device.
2656860	2662720	And it would be possible to connect the tool to the infrastructure that would actually do the
2662720	2668940	recovery process. So here we come to the key takeaways. And the first thing that I want to
2668940	2675340	mention is that even the newest cars are generally shipped with the protocol vulnerabilities.
2676060	2682980	And it's not really easy to fix this because the design of the car is locked in just several years
2682980	2690120	before it's manufactured. And it's not possible to change the business version or hardware in it.
2690120	2696460	So it's quite difficult to do so. And we have to live with the anticipation of some kind of
2696460	2702980	protocol obligations and vulnerabilities in the cars and knowing that. Then when it comes to pairing,
2702980	2708120	pairing security or in the secure environment is extremely important as it's the only safeguard
2708120	2715640	against the middle attacks. But what you have to remember is that forcing repairing is possible
2715640	2722060	and it might be malicious. So we have to watch out for that as well. Then when it comes to the
2722060	2729620	SMS-based OTP services or the services that rely only on SMS-based OTPs, it might be rather
2729620	2736460	risky for the end users. And it's why maybe it would be best to consider other OTPs
2739020	2747220	sources. So for example, email-based OTPs. And in that case, it might add additional safeguards to
2747220	2754320	the users. So thanks for listening. Now I hand over to Martin and maybe see you next year.
2758220	2766600	All right. Thanks for staying with us. There's just two points left for me at the very end.
2767140	2775800	Let me find the right slides. No, that's not it.
2785020	2801960	Be quicker that way. So yeah, uh, sorry. We've seen that much of Bluetooth is fundamentally
2801960	2807400	insecure, both the standards and implementations. The toolkits have the link on the last slide as
2807400	2815260	well. Um, it's online for you to check your cars, your Bluetooth products, any of them. Um, and of
2815260	2822740	course we're not liable for anything you do with it. Um, but we focus on Bluetooth and cars and
2822740	2829600	just very last thing, of course you can check anything. And we took it to one of the domains
2829600	2835120	we're very familiar with, which is aviation. We tried it out on our own lab of certified real
2835120	2840500	aircraft hardware, which also has Bluetooth to connect so-called electronic flight bags,
2840500	2848160	which is just an iPad really with flight computers. And the thing is these Bluetooth
2848160	2854840	versions are so old, most of these exploits don't work there because, uh, honestly you can
2854840	2861160	establish the man in the middle position anyway because the encryption is just so weak or trivial.
2861160	2868400	So we haven't explored this further, uh, but it should be very easy to, uh, also do this on at
2868400	2875040	least these specific, um, flight management systems. With that, thank you for listening
2875040	2881780	and also putting up with the video talk. I hope Vlad can make it in person next time.
2882140	2887420	This is the QR code to the GitHub repository where you can find all the information. Also
2887420	2894300	this disclosure results, uh, any questions I'm available and Vlad is also very happy
2894300	2897040	if you contact him online. Thank you very much.
