start	end	text
2500	9940	Hello. So thank you for joining. It's an immense honor to be here with you today. Something
9940	14520	that I would never expect to happen. But this is the hack, the crash and two smoking barrels
14960	20660	and how I almost killed an engineer. And I must mention that basically I had no lawyers
20660	25740	advising me before my talk. So if you will not be able to reach me after the talk, it
25740	30860	was nice meeting you. And now while you're here, because some people in the industry
30860	35840	really pissed me off and I wanted to be the one taking the stage. And now that I got probably
35840	42600	your attention, let's start. I'm Tomas and my pictures are usually so bad that making
42600	46760	it black and white didn't really help. It's like my accent, it can only go worse. And
46760	51800	people also know me as Crow Tom. And the main thing you need to know about me is that I
51800	57860	lead an amazing team. They are competing in the car hacking village right now and they are
57860	66960	second. And I also love to hack like everything, day, night, whatever. Mainly to prove to me
66960	72700	and you that our world is hacking in really thin threads and that most products are created
72700	78520	with two main components. A bit of laziness and a sprinkle of capitalism. And for more,
78520	85180	you can always go to my website. What we will really talk about today is vehicle security. Or
85180	89380	how I like to call it, all the stupid things that the automotive industry is doing still in
89380	95580	2024. We will try to understand where we are, where we are heading and if there is any light
95580	99860	in the end of the tunnel. Hoping to get more people interested in the industry I love and
99860	105580	highlight the significance of all the safety related hardware that no one cares about. What
105580	110760	we will definitely not talk about is extreme exploit chains. I love to hack but I'm the
110760	116140	worst at it. And this means that I'm not here to teach you how to do it but to show you why you
116140	121600	should be here too and why you should care. Also if you were alerted into coming to my talk
121600	125220	because of the title, I'm sorry to tell you that during the process of the testing,
125220	129820	preparation and development of my talk, no engineers were actually killed or suffocated due
129820	135560	to lack of oxygen. And let's start with the state of the industry and what a better
135560	141400	start than one of my favorite examples of my living room on wheels. As this car is not
141400	145360	actually a result of pin by ride episode but still packs more functionality and
145360	150060	entertainment than my living room. This example of a computer on wheels might be one of the
150060	154820	extreme ones but it's becoming kind of the norm to be honest. Vehicles are getting
154820	160140	connected, getting richer services and functionality, something that the users ask for I
160140	164720	guess. What they don't ask for though is for these services to be implemented in an
164720	169980	insecure way. We see examples of improper and insecure implementation of new
169980	176800	functionality every day and with a handful of examples making the news every week. And
176800	183740	while news outlets are mainly interested in the financial aspect of the thing, um, no one
183740	189440	wants like their car to be stolen to be honest. I will mostly focus today on the safety
189440	195920	aspect of those security issues. And while the industry waits for the security software
195920	200520	defined vehicle messiah, today we will start with the complicated architectures that look
200520	204900	like this. Uh, here we have a representative example of a vehicle architecture with
204900	210300	individual parts being electronic control units. Different embedded components that most
210300	216060	of the time have a single specific purpose inside the vehicle. All these are segmented in
216060	222180	several isolated buses to avoid external communication or interruption and segment them
222180	227620	by functionality and criticality. What you can also see is the fact that some of the
227620	232080	interfaces are getting exposed internally though. And as we saw previously, this is a
232080	237080	kind of necessity considering new technology and requirements needed to exist to make it
237080	242200	happen. As an example, the onboard charging ECU has an exposed interface handling the
242200	247060	communication between the charger and the vehicle. And the main head unit that the user
247060	251820	int- uh, interacts with is exposed to the internet through a telematics unit. Most of the
251820	258980	times for SOS calls, OTA updates and more interconnected functionality. Now of course the
258980	263600	purpose of this talk is not to cover everything automotive related, but we need to get a
263600	268340	bit of understanding on what we are seeing here and what the demos are representing later.
268340	274180	For this reason we will mainly focus on CAN, which many of you might know as it exists for
274180	280400	more than 40 years. And you would be surprised if I tell you that the majority of the ECUs we
280400	286320	are testing still come with this interface. And of course the need of a single ABS ECU 30
286320	291500	plus years ago does not even come close to modern needs. So the protocol has several
291500	297440	iterations, but still the main issue from my point of view is that there is no encryption as a
297440	301540	standard and no message authentication. This makes CAN messages flowing on those buses
301540	307860	prone to interception, injection and replication in cases that no additional protections are
307860	314960	implemented. Which is more common than you think even 40 years after its inception. Of course
314960	319860	this is not only uh the only technology which is currently used in modern vehicles, but it's
319860	325000	one of the most commonly used. And that's why it's important to stress its flaws
325000	329560	considering the stubbornness of automotive companies to stick with archaic and insecure
329560	334920	technologies. As we speak for the current state of automotive security, it's worth
334920	341080	mentioning that um what started to be enforced to all manufacturers homologating vehicles
341080	348120	uh in UNESCO member countries. Um but I don't want to bore with you as USA does not have any
348120	353920	specific binding regulations similar to this. But it's worth mentioning that it's a starting
353920	359940	point for shaping the completely unregulated mess that exists still now in our industry, but
359940	366040	of course it's still a regulation with all the negatives that come with it. Considering that I
366040	370820	will have a relatively negative talk, I want to state from now that while the majority of the
370820	375160	industry has a negative approach to cyber security, there are several people that still
375160	381040	strive for secure and safe vehicles every day with their work, research and discussions.
381040	386140	Though not everything in sunshine and flowers and automotive is mainly based on hundred plus
386140	391020	year old mechanical engineering industries that were recently forced to implement a lot of
391020	396820	things they had no idea about and innovate in an environment with really short life cycles and
396820	403340	restricting safety requirements that will make most of us cry in any case in many cases. I
403340	409440	struggled a lot though, so let me tell you my story. To start with, I have to tell you that I'm
409440	415560	tired of hearing about the state of automotive security by professionals in commercial
415560	420100	events referring to a couple of good examples in the sea of OEMs and tier one suppliers
420100	426420	developing products in this industry. Tesla and BMW are not the only companies out there. And
426420	431320	yes, while I really appreciate their work in some cases, we are here to talk about the
431320	437260	industry as a whole and not the two examples that are out of the ordinary. And I'm saying this
437260	442540	because vulnerability disclosure programs are not the norm here. The small amount of OEMs
442540	449240	that escaped from their mechanical engineering past attitude or they started in this new
449240	454160	generation of automotive manufacturers is not representative for the whole industry. And
454160	458800	even the companies that incentivize and support researchers, they only give payouts to
458800	463960	findings that are heavily security critical but no mention to safety critical issues and
463960	469800	exploit chains. And I'm saying this because the last two years I discovered twenty-five
469800	475380	safety related findings out of which only two were accepted until now. And not because
475380	480080	they are out of scope or not applicable, but because there is no way to actually disclose
480080	486460	them. To start talking about them though, we need to get an understanding of one of the
486460	491720	protocols we approach today in our example POCs, namely the Unified Diagnostics Protocol,
491720	496020	which lives in the application layer of the ECUs and allows diagnostic functionality such as
496020	501880	reading and erasing faults, reprogramming, testing and monitoring. It commonly consists of
501880	507240	several services that handle specific actions and the common one here that we will try to
507240	512640	use in these examples, in these demos, is the ECU reset or service 11, which is commonly
512640	518200	used to perform a reset on the ECU, as the name implies, but of different types. So
518200	522600	depending on the supplied subservice we can specify if it's a hard, a soft or any other
522600	528640	supported type of reset on the ECU. And finally I have to mention that the hard ECU reset
528640	535060	is in most cases equivalent to a complete power cycle and we will see how this can go really
535060	542020	bad for the ECU. Now the last five years me and my team performed almost 200 penetration
542020	552600	testing and research projects in the automotive industry. And this means that first of all we
552600	556880	got a broad understanding and experience of how security is implemented and discovered
556880	561700	several nasty things along the way. While we tried to work with all these people to make the
561700	566220	products more secure, the issue is that I'm not able to talk about those, so I had to find a
566220	571520	way to share some of those juicy things. So it was during a warm summer in Arizona when I
571520	577660	had a rental unit from a brand which I tried my best to hide here. And during my free time
577660	582540	and during night as if I was testing during the day in Arizona I would not be here, I started
582540	590640	working like poking around this thing that you see there and I had my first hit. In this case
590640	596780	we triggered something that is not 100 percent clear what it is from the context given in the
596780	601440	error created on the heads up display. For this reason we need to dig deeper and understand
601440	606420	the architecture of the vehicle, understand how, why and to which extent something is
606420	612620	affected. Is this error real? Is it expected behavior? Does it even have any security or
612620	620560	safety impact or not? This is only a part of the questions that I have to answer at this point
620560	627040	in order to move forward. And that's what I did. In the first demo you see how we
627040	632900	discovered that the affected ECU and by issuing a simple ECU reset on the user accessible
632900	638280	onboard diagnostics port, the ECU resets and the light of the affected blind spot detection
638280	645340	sensor is engaged. Of course I didn't stop there. And because at this point a lot of educated
645340	651860	guesses can be done considering what was discovered. As is, the finding has no big safety
651860	656920	related severity outside of the fact that it can distract the driver. By listing the known
656920	661960	facts though we can assume where the affected ECU is located in the architecture and how this
661960	668140	can be escalated further by a malicious user. What we know is that first of all we can
668140	675280	power cycle the ECU. And that there are no preconditions that can restrict this action. Like a
675280	680960	vehicle speed restriction for example. Additionally from the function of the assistive
680960	685720	driving we can assume that the blind spot detection sensor is connected with the functionality
685720	694340	of the ADAS itself. By this we can easily prove that the sensor can be triggered mid drive. As a
694340	698660	direct result it can confuse the driver because of the engagement of a sensor in an
698660	705320	unexpected situation. But more importantly we can engage serious safety implications to the
705320	711040	ADAS system like steering interruption during a lane change or even breaking engagement
711040	715420	during a false safety related incident on the blind spot detection sensor. Of course I don't
715420	721600	want to take these assumptions myself. And I hope I don't need to mention that you should
721600	727500	always take safety related issues in a safe environment. Who has the ability and the
727500	732200	environment? The manufacturer of course. And for this reason I had to find a way to report the
732200	737440	finding and prove those assumptions. Now going through the process of vulnerability disclosure I
737440	744080	initiated by trying to find a communication channel with the OEM a couple of years ago that
744080	749420	this happened. The problem is that there was no vulnerability disclosure program. No one was
749420	755840	answering to me regarding this from the contact options and the people I discovered online. But
755840	761480	of course I didn't give up. I kept hacking. And getting our hands a bit dirtier here we need to
761480	768520	introduce the main access control mechanism in UDS diagnostics called security access. Which as
768520	773260	you understand from my diagram is a simple challenge response. The client requests a random
773260	779700	seed, the ECU generates what seed, uh, that seed and calculates the key using the secret
779700	785080	algorithm and secret key. And after that the client needs to know the same secrets, use the
785080	790900	random seed and calculated key to send to the ECU where the ECU verifies uh, verifies this
790900	795960	uh, calculated key and grants or rejects that access to the client. The implementation
795960	802500	highly depends on the cyber security requirements of the OEM most of the times. Uh, and when
802500	808060	these are loosely developed we see some unimaginably sloppy implementations, backdoors
808060	817200	and weak sources of randomness um, or any other random aspect of uh, the process. Where this
817200	824220	access control is used commonly I would say mostly software updates and reprogramming and the
824220	831380	most commonly used in high severity instances uh, is these ones. Um, mainly also the ones
831380	836020	that we care about and that shows the level of access they can give us in cases of
836020	841820	compromise. And of course it's automo- automotive so the process is not encrypted. But it's
841820	848020	behind an IDPS and it's a challenge response, right? Knowing that the process is
848020	853160	unencrypted we already know that we can intercept and replay a seed and the applicable
853160	858920	calculated key for the process. Message authentication also does not exist in 99 percent of
858920	865960	the times here so that should not be an issue most probably. But even with access to the bus
865960	871100	managing to intercept the seed and the applicable key should not yield to elevated access as
871100	877480	the process heavily based on the random aspect of the seed. Um, if we cannot control the
877480	883340	seed we cannot replay a successful seed key pair to obtain elevated access to the target ECU.
883850	889600	Or can we? And going back to our friend ECU reset I want to remind you that one of the
889600	895260	subservices capable of full power cycling the ECU is the hard ECU reset. This is the direct
895260	901140	outcome though. Indirectly by completing a power cycle we also perform a reset to the system
901140	908020	clock in many cases. And here we see the effects of this assumption. Uh, while the seed of
908020	913800	the target ECU can be considered really secure at 32 bytes we can see that we can reset the
913800	918960	system clock with an ECU reset and after a predefined and fixed delay between the reset and
918960	924900	the seed request the supplied random seed is always the same with a staggering 100 percent
924900	930760	accuracy. In this case we invalidated the assumption of what is needed in a challenge
930760	936500	response when we can intercept successfully a seed and key pair. With that in mind we only
936500	941120	need one seed key pair to obtain elevated access to the unit. Which can potentially be
941120	947760	obtained at the service visit or during an OTA update from the head unit. Fast forward two
947760	953160	years later and I eventually discovered someone that was willing to help me report those
953160	959100	issues to the OEM. I prepared a well structured report of my vulnerabilities and sent it to
959100	964660	the contact point working for the OEM. The issues were acknowledged a couple of days later
964660	970600	but privately. At this point we know that these findings were not only affecting the model and
970600	977880	model year I tested but several models of the brand and numerous model years. So we are
977880	984540	talking about a significant number of affected vehicles. The drama starts here though.
984920	989840	Despite the help from the contact point OEM decided that the cost of fixing the issue exceeds
989840	996020	the expectations for this model. The excuse is that the future electrical and electronic
996020	1002240	architecture that they designed will mitigate those issues in the models for 2025 and 2026.
1002240	1007680	Which of course directly means that the currently sold architecture is still vulnerable and
1007680	1012900	that the OEM is not willing to either fix or disclose the findings publicly. As a romantic
1012900	1018520	myself I decided to not publish the findings. I wanted to act professionally especially in
1018520	1024420	comparison to the norm in my industry and irresponsibility brings chaos, I'm not the one
1024420	1032820	feeding this beast. Trying to find a solution I decided to propose a responsible disclosure to a
1032820	1038540	generic VDP, namely the ASRG, Automotive Security Research Group, which out of many
1038540	1043940	things they are also an officially recognized CNA. So after a short discussion with my
1043940	1050780	contact point and the OEM I decided to report the issue to ASRG. Something that needs to be
1050780	1060240	mentioned here for the sake of completeness is that I disclosed the finding in a generic email
1060760	1067640	from the website of the VDP. And not to anyone directly, just the generic available email
1067640	1073260	address that was on the website. At this point and after a couple of email exchanges with me
1073260	1081040	the OEM and the ASRG, the OEM stops responding completely. I was completely clueless of what
1081040	1086320	there is to follow despite my continuous effort to resolve the issue and find why this
1086320	1094720	happened, the OEM wasn't responding to all of our requests or to any of our requests. And not
1094720	1099680	only they didn't give me a reason but I was directly accused by third parties which I never
1099680	1105640	contacted or revealed my findings to that I'm collaborating with hostile nations. You don't
1105640	1110080	accuse me of doing something like this especially when I tried so much to responsibly
1110080	1116320	disclose this shit and the only thing they did was find excuses. And to be honest I don't
1116320	1123260	want to dox anyone, this is not why I'm here. I'm here to share my experience and maybe
1123260	1130360	shake the industry a bit out of this limbo they're into. But what happened is that the person
1130360	1137340	that handled my case in the public VDP had a citizenship of a supposed hostile nation which the
1137340	1142620	legal department of the OEM decided that it's not good for their image. You want to hear some
1142620	1148580	plot twist, basically this guy does not live in this nation, he has another residency on the
1148580	1154840	homeland of the OEM and guess what I recently learned, he has chosen to handle this topic
1154840	1160820	because of an affiliation with the OEM and he was the best person for this job. But the OEM
1160820	1166120	research can go that far of course or they didn't even care to be honest. After all the drama
1166120	1171440	and after I contact all the parties saying that this level of accusations from third parties and
1171440	1177140	the fact that they disclosed the private findings outside of the legal framework was
1177140	1182220	unacceptable, I also announced to them that the findings will be published on the day of
1182220	1190700	DEF CON today. And of course this is the day they answered. Something that needs to be
1190700	1196140	mentioned here is that during the initial discussion for the findings I was clearly asked if
1196140	1203560	the finding is discovered by directly connecting to the ECU or from the OBD port. As the OBD
1203560	1209100	port is user accessible and the findings are applicable and if it's only applicable to the
1209100	1213920	direct connection we'll mark the findings as mitigated by the IDPS system. Something that I
1213920	1223000	don't agree but it was reasonable. This though, not so much. So yeah today I'm releasing these
1223000	1228120	two vulnerabilities, as I said I don't want to dox anyone, I want a safe future with cars that
1228120	1233080	can support their functionality in a secure way but in this case the OEM instead of
1233080	1239840	communicating decided to play politics and it's not only them, this is the common trend.
1240040	1245480	Researchers are not the ones to blame here with falsified accusations. As in most cases we are
1245480	1251320	more than happy to collaborate and help each other. And not only researchers, pen testers
1251320	1257280	too. Let's crash it and see where it brings us in this case. As we saw previously, politics play a
1257280	1262100	big role. Not only in public disclosure but in private projects too. Throughout my time with
1262100	1268020	automotive security projects I heard a lot of excuses by engineers and management on why they
1268020	1273880	don't want to accept or fix an issue. The usual suspects are loosely developed requirements
1275020	1280980	or internal or external, strict deadlines and long product life cycles along others of
1280980	1289320	course. But my conclusion is always that it's a culture issue. Either the company culture or the
1289320	1294920	respective local culture affects the way companies consume, approach and mitigate issues. Of
1294920	1300500	course it's a complex issue where regulators, governments and external parties are contributing
1300500	1306400	to the development and production of a full vehicle but in the end the people I interacted and
1306400	1314140	worked with out of these projects construct my perception of this industry. But considering the
1314140	1320100	culture and how the findings are approached, what do we need to do to persuade them about the
1320100	1328000	severity? Which level should we reach and which people should we contact? Who is responsible for
1328000	1334720	the person that will die if my next finding is not fixed? Even if you develop the target with
1334720	1341000	security in mind and with the best of intentions, logical flaws can exist and exploited.
1341000	1346280	Developers of different components usually only interact with a vehicle simulation ignoring how
1346280	1354380	one action can have a security or safety event outside the scope of the functional testing. And
1354380	1359160	this is how safety related findings can be discovered in most unexpected for the manufacturer
1359160	1366440	behavior. A completely unrelated issue of seemingly minimal security impact can have a
1366440	1371920	devastating safety outcome. As a first use case, we can easily get the example of electric
1371920	1377020	vehicles where I was testing the security not only of a battery management system on the onboard
1377020	1382540	charging but the batteries themselves. By analyzing the communication and while I was close to the
1382540	1387780	car, I discovered that there is a sound generated when I was injecting an unauthenticated
1387780	1392940	message. When I started discussing with one of the engineers, it ended up being the battery
1392940	1398920	contractors of the AV. I was immediately concerned at that point knowing that wear and tear of the
1398920	1405500	contact surface can increase the resistance and lead to excessive heating. And you know what
1405500	1411660	comes after excessive heating and localized especially heating for extended periods of time?
1411660	1418360	It's of course fire. Of course I cannot burn an engineer and I cannot conduct a test to prove
1418940	1424760	the physics behind it without risking the battery pack burning nonstop for days. So the topic
1424760	1429800	ended there. The vehicle is out. All engineers are safe. A couple of hundreds of thousands of
1429800	1436800	users are not. Same applies to hydrogen. And the loving OEM that could not understand why small
1436800	1444800	leaks in the hydrogen tank can affect the specific rotations of the valve and can lead to
1444800	1450740	suffocation of the whole garage we were working in in a couple of minutes. As I said in the
1450740	1456920	start, I have no magical exploit chains but to prove this finding in an effective way doesn't
1456920	1463320	take much. Considering that at the current state we can easily spoof messages in an unencrypted
1463320	1469180	way and perform a power cycle with an unrestricted service, we can easily find a way to
1469180	1474580	reproduce the issue from an exposed interface. Because most of the times manufacturers try to
1474580	1481000	use the obscurity factor as a way of mitigation for those findings. But as we saw in the
1481000	1486260	architecture, modern vehicles are getting more connected than ever so find the exposed
1486260	1494860	interface, directly communicate with the ECU and start sending. That's my advice. Even if it
1494860	1501240	needs some cutting around. Now of course after that you have to listen to all the excuses about
1501240	1506340	how your exploit is not realistic and how physical security mitigates issues in digital
1506340	1511280	security. When at this point it's time to put them inside the vehicle and show them a
1511280	1518440	juicicle injections where they will either believe you or they will believe in God. Of course
1518440	1523440	for safety reasons and when I'm ready to unleash my magical exploit chain there is always
1523440	1528120	some party pooper that restricts me from doing so. And thank you to this party pooper but I
1528120	1533600	guess in many times it's not only that they don't believe you but they even want to prove you
1533600	1539480	wrong during the night because that's who we are. Next day I found this in the garage after
1539480	1545800	some engineer tried to engage the injection from the OBD port for the sake of completeness.
1546080	1552480	This is how I left it the previous day. Continuing with the trend of naiveness though,
1552480	1558240	both from mine and the engineer's side I got my hands on an ECU unrelated to commercial
1558240	1563320	projects and I thought here we are, let's do some exploitation. So I started my common
1563320	1569520	workflow trying to exploit UDS and trying to evaluate the source of randomness but after
1569520	1578600	several hours it didn't seem feasible so I had to resort in other solutions. So I did this thing
1578600	1583440	apart and started getting a better understanding of its guts. I analyzed the hardware parts
1583440	1590160	one by one and started getting deeper inside my rabbit hole to realize that it's one more
1590160	1595620	case of automotive SOC architecture with all the pros and cons that come with it. The
1595620	1600760	biggest thing that has to be said about it and which will help us understand some of the
1600760	1607160	issues later on is the fact that ECUs are considered safety related components which
1607160	1612180	require real time responsiveness due to the safety related nature on the products that
1612180	1619020	utilize them. So by opening one of the targets we can easily see what happens here. Not only
1619020	1624400	one SOC but two exist on the target board. And this is because of the safety related
1624400	1630880	functionality we mentioned earlier. An instruction needs to be executed twice in either two
1630880	1636560	different controllers. In this case the secure and application controller which we
1636560	1642180	discovered or two different isolated cores and then compared between the two. If the
1642180	1648020	output of the instruction is the same it gets executed. If not a fallback procedure has to
1648020	1652720	be followed depending on the system. Of course this architecture is applicable to higher
1652720	1658480	severity safety related devices like airplanes with more secure controllers needed but this
1658480	1670650	is out of the scope at least for today. Why this is important? Because in the devices in
1670650	1676510	which it is applicable the failure will result in loss or damage of equipment, environmental
1676510	1684030	harm, injury or even death of some users or the surrounding people. And moving closer to the
1684030	1689290	hardware we see that not only the supplier was kind enough to spoil the fun and let us tell
1689290	1696090	us when one of the JTAG headers is on the board but they included a second header for the
1696090	1702510	secure controller. Unfortunately there after connecting my debugger I discovered that both
1702510	1710590	the JTAG interfaces are locked. And after I desperately started clicking on my power supply I
1710590	1719270	realized something really interesting. And here you can see, uh, did it start? I think it
1719290	1725890	did. Yes, so here you can see that the device is locked by normally connecting my JTAG
1725890	1737070	debugger to the unit, to the target ECU. And by connecting the JTAG on the first seconds
1737070	1744730	after boot, you can see a nice history that we get debug on the secure controller. So yes, we
1744730	1749690	got access to the secure controller. In this case we basically got to enable the debug access
1749690	1754930	in a really short period of time during boot. And as a result we can control the execution
1754930	1761010	and dump the memory of the vulnerable controller. I love automotive security. I know that
1761010	1765610	you're not yet tired of the fails so on the same ECU and because we are talking about the
1765610	1770390	telematics unit there is a Qualcomm modem SOC running which comes with these magical pins
1770390	1775490	that if sorted provide us with a nice Qualcomm download mode and after discovering some
1775490	1780330	other pins seemingly matching a USB port pin out and performing the dangerous act of
1780330	1785830	connecting a random USB from an ECU purchased from eBay, we realize that our assumptions
1785830	1792450	are correct. After I dumped the firmware with more than one ways as you see, I realized that
1792450	1796990	the automotive related controller has several references to the system clock which confused
1796990	1801110	me even more. As my process of discovering weak sources of randomness until now was
1801110	1807070	unbeatable. So what is happening here? Went back to my terminal and performed some more
1807070	1813890	tests and as you see here, when the seed capture goes faster, we can make some really
1813890	1819470	important observations. Which is that the middle byte of the seed is incrementing by one.
1820290	1825750	My assumption seemed more correct than ever but I was also more confused than ever. There
1825750	1830690	was some missing piece that I was struggling to find. Some implemented mitigation that was
1830690	1837670	in front of me but could not see it. What this mitigation was. Of course security through
1837670	1842550	obscurity as always with automotive and I started thinking what if the ECU is restricting
1842550	1848130	software power cycles for safety reasons. As we are talking about a telematics unit that has
1848130	1854510	to be always available for SOS calls. And if that's the case, how can we control a power cycle
1854510	1861930	in more ways than an ECU reset? And that's where my favorite relay comes into play. And we
1861930	1872650	immediately see not only duplicate but a complete compromise of the unit here. POC for this
1872650	1877870	will be published under my tool Karin Karibu Next but it's nothing that you cannot easily
1877870	1882450	make in a couple of minutes. The main reason that this happens is because there is always a
1882450	1887870	battery in those telematics systems to mitigate downtime and unexpected power cycle that will
1887870	1895890	restrict the unit from performing an SOS call during an emergency. So we got a bit pranked for
1896010	1902230	a second there but found a way through eventually. And for the smarties out there, this is
1902230	1908030	not only applicable to controlled environments with power supplies but many of these
1908030	1915310	nowadays come with external or internal for passenger vehicles battery isolators. Mainly used
1915310	1923130	in safety related incidents to cut power and mitigate the risk of fires and other issues. But I
1923130	1928890	used it to bypass restrictions that were only possible on individual ECUs. And now by
1928890	1933550	controlling the power supply externally through the battery isolator, we can perform all
1933550	1939030	these attacks in a combined manner in full vehicles. Here we see the exposed battery isolator
1939030	1944830	of heavy duty vehicles. And here we see something I discovered a couple of weeks ago. The
1944830	1950670	battery isolator of a passenger vehicle which of course made me laugh but it will make me cry
1950670	1954910	probably in the future when I will get into more politics with the manufacturers about the
1954910	1961350	applicability of my future findings. This is a sample list of the applicable findings for
1961350	1968370	this ECU. And of course I had no response so I guess nothing to see here. But it's not only
1968370	1974330	dark and stormy days. While everything we said now is applicable to most of the OEMs, while
1974330	1984090	this is only a small subset of the issues we see every day and they clearly are some relics of
1984090	1989790	vulnerabilities discovered in modern vehicles and components. And while several CVEs are
1989790	1996530	currently stuck, you saw because of the unacceptable attitude of the industry, there is
1996530	2001730	always someone that breaks the norm and makes us smile not because they made everything
2001730	2008210	perfect but because they proved a point. So one small manufacturer came to us for some common
2008210	2014670	service, we started evaluating the unit and after several tries we didn't manage to discover a
2014670	2020850	single entry point to the custom ECU. While the hardware used was one of the cheapest of the
2020850	2027150	self hardware a developer can buy. And what was the solution in this case? One of the cheapest
2027150	2032530	of the self hardware a developer can buy. And we are talking about this mighty ESP32, a low
2032530	2039120	cost, low power SOC that was fitting perfectly the needs of the OEM in this case. Of course it's
2039120	2045380	not built for safety critical functionality and its main focus is automation. But for the case
2045380	2052540	we needed, for the case needed, there was nothing more needed by the OEM in this case. And from a
2052540	2058960	security standpoint it proved a big point. Because this $10 ESP32, in contrary to what comes
2058960	2064960	with hundreds of thousands of dollars of automotive, worth of automotive SOCs, comes standard
2064960	2071060	with an RNG. It uses a combination of thermal noise sourced from the hardware analog to
2071060	2075920	digital converter and combines it with the asynchronous clock mismatch for true random
2075920	2083680	generation as we call it in this industry. And I say it again, with $10, but does it solve
2083680	2089580	completely the problem here? Of course not. There are still ways to bypass these mitigations.
2089580	2094720	But the point is how difficult and financially viable you make it for an attacker to
2094720	2099540	perform an attack like this. It's not about how sophisticated an exploit is in the end, it's
2099540	2104920	about who has the biggest budget to invest. So the mitigation is clearly about how expensive
2104920	2110520	you make it for an attacker to break into your system, steal your IP or even potentially
2110520	2116120	perform coordinated attacks. And while looking at systems like the PlayStation running
2116120	2120940	non-safety critical chips that implement state-of-the-art mitigations for these issues and
2120940	2125760	our computer on wheels cannot even mitigate the basics, I'm left to wonder, is there any light
2125760	2131660	in the end of the tunnel? And my answer is that it's up to us, all of us here, to make the
2131660	2138200	best out of it. The best out of our work and our research. To pass out our culture to the
2138200	2142980	people that we're working with, from the higher to the lower level. Not with bitching, not
2142980	2149700	with attitudes, but with scientific proof, with our POCs, with our posts and our talks. Let's
2149700	2155060	make the world a safer place, one POC at a time. And in honor to this year's theme,
2155060	2172170	remember, to take back the internet, we need to engage. Thank you. Any questions?
2183960	2191060	Hi, awesome talk, thank you. Did you think about going to NHTSA, the National Highway
2191060	2195540	Transportation Safety Administration, who is responsible for implementing safety
2195540	2201220	standards for car manufacturers? Yeah, look, there are several things that we can do. I
2201220	2207080	agree with you. The problem is that you have to take several steps into reaching a point
2207080	2213720	that I will follow your advice. I mean, the specific advice you gave right now. It's like, I
2213720	2220340	agree with you, but I would expect that the manufacturer already handled it. Of course, in
2220340	2227620	many of the cases, maybe I did it. I cannot reveal it to you, but maybe I did it. But I have
2227620	2232880	to say that there is a need for something to change in this industry, and that's what I had
2232880	2241500	to clarify here. Totally agree, and that would be the perfect world, wouldn't it, if people,
2241500	2245900	and I think most engineers, want to do the right thing. They want to operate securely and
2245900	2251780	write good code and all the rest of it. But then, to your point, there's that sprinkle of
2251780	2259920	capitalism and budgetary this and that, and somebody says, well, it's good enough. And then,
2260500	2265400	you know, that's why we do sometimes need those government agencies, even though they
2265400	2272020	themselves are not the most efficient, right? I agree. There needs to be a balance, but I
2272020	2277840	think there needs to be a balance in all the ways, you know, even for who talks where. You
2277840	2281820	know, there are the commercial conferences that everyone brags about from the industry. We
2281820	2287240	also need to talk about stuff. We also need to be able to get the stand and start discussing
2287240	2293840	about these things. Thank you very much. It was awesome. Thank you. Hi, again, thank you for
2293840	2299860	the talk. Amazing talk. Do you think emerging technologies such as automotive Ethernet or
2299860	2305020	secure CAN transceivers might help mitigate some of the risk? Definitely, definitely. And
2305020	2308780	we see a change in the industry. As I said, software-defined vehicles and centralized
2308780	2315720	architecture is something that we hear about a lot of years now, but it's not yet implemented
2315720	2321540	in many vehicles. And that's why I was talking about the differences between mainstream OEMs
2321540	2326940	and the new type of OEMs that are basically IT companies that started building cars. So, this
2326940	2331120	is the main difference. They have way more experience in this, but the industry needs to
2331120	2336040	catch up. They are exposing so many things and they need to do something about it. Thank you.
2336040	2342080	Thanks. Thank you for your talk. This was great. My question is regarding your toolkit. Is
2342080	2346980	everything, you know, Hadoop, Python... My question is about your toolkit. Is everything
2346980	2352520	Python scripts that you build or is there a software platform that we... No, basically it's a
2352520	2359200	modular tool and this is not only the POC, but you can use it to perform the same attacks to
2359200	2364960	other vehicles. What's the name of that tool? Carrying Caribou Next. It's a fork of the
2364960	2369040	original Carrying Caribou, which is a state of the industry for a lot of years, but I just
2369040	2374660	made the fork because of the slowness of the development of this project. Thank you. You're
2374660	2375320	welcome.
