WEBVTT

00:00.000 --> 00:09.140
Hello, my name is Lior Tzurlotan and today I want to talk to you about privacy in the automotive space or the lack thereof.

00:09.800 --> 00:11.740
So, a little about me.

00:11.740 --> 00:13.940
I work for Plexidity X.

00:13.940 --> 00:17.180
What we do is cyber security for automotive.

00:17.440 --> 00:25.040
I specifically try to find new ways to protect your cars from being taken over by malicious actors.

00:25.420 --> 00:32.620
I've been a developer, researcher and teacher in cyber security for the past 15 years.

00:32.640 --> 00:37.120
And before that, I worked for the intelligence community.

00:37.280 --> 00:53.180
Having worked for intelligence and cyber security, I'm naturally paranoid about private information, which is why I actually read the End User License Agreement, the EULA, before I let my toaster sample my fingerprints and sequence my cat's DNA.

00:53.420 --> 01:01.100
In recent years, I've focused more on the world of privacy in automotive.

01:01.100 --> 01:07.740
In privacy, we don't deal as much in malicious actors.

01:08.820 --> 01:16.380
Specifically, we look at a different kind of threat to your information, namely the vendor.

01:16.380 --> 01:24.140
While not exactly a malicious actor, the vendor is not exactly a benign actor as well.

01:25.540 --> 01:34.860
So, today I want to go over GDPR, what it is, what it does, how it does it, what are the penalties when things don't go right.

01:35.020 --> 01:42.180
And then I want to discuss how it compares with some other legislation around the world in privacy.

01:42.560 --> 01:53.440
And then I want to talk about a case study we did last year about what happens when cars know a bit too much about you.

01:54.060 --> 01:57.700
We actually found that the result is kind of horrible.

01:59.120 --> 02:01.520
So, what is GDPR?

02:01.520 --> 02:07.600
It's the first effective legislation in the privacy space for modern era.

02:07.600 --> 02:27.660
It was legislated by the EU in 2016 and its effect is so widespread because of its effectiveness that even companies that don't operate in the EU have adopted practices that evolved from the GDPR.

02:27.660 --> 02:30.840
For instance, those cookie consent forms you see all over the web today.

02:30.840 --> 02:38.300
You see them even on commercial sites for companies that don't deal in the EU, like Trader Joe's, for instance.

02:38.380 --> 02:47.940
Additionally, you also saw a whole new browser plugin category for the people who are annoyed by those consent prompts for cookies.

02:49.620 --> 03:02.460
So, GDPR first defines what private information is, then it defines what companies are allowed to do with private information, but more importantly, what they are required to allow you to do with that information.

03:03.360 --> 03:09.940
Basically, GDPR is there to define who owns the private information, namely the customers.

03:11.780 --> 03:24.680
GDPR defines private information as information relating to an identifiable person, such as me or you, and which relates to an identifiable trait, like a name or an identification number, etc.

03:24.960 --> 03:32.820
Additionally, GDPR defines a class of private information with elevated protections, that's sensitive information.

03:33.020 --> 03:39.300
Sensitive information is private information that relates to ethnic origins, religious beliefs, etc.

03:39.700 --> 03:43.580
Now, you might notice that these definitions are intuitive.

03:43.580 --> 03:47.880
They're not formal nor legal, and that's by design.

03:48.060 --> 03:51.860
GDPR doesn't try to define what private information is exactly.

03:51.860 --> 04:04.840
It defines what private information means, and it leaves it up to the courts to rule on individual cases, whether the information they are judging on is private or not.

04:04.840 --> 04:13.540
Once a court has ruled on a certain case, whether a piece of information is private information, then subsequent cases can be ruled based on that precedent.

04:15.840 --> 04:17.600
So, a few examples.

04:17.600 --> 04:29.560
While a phone recording of your conversation is obviously private information, the IMEI, the identifier for your phone, was ruled as not private information.

04:29.560 --> 04:38.320
The reasoning behind this is that the IMEI identifies your phone, or specifically the phone's modem, it doesn't identify you, the owner of the phone.

04:38.680 --> 04:40.140
Another example.

04:40.960 --> 04:54.540
While your location is obviously private information, the list of known BSS IDs, the list of Wi-Fi networks you've connected to in the past, that's not considered private information under GDPR.

04:54.540 --> 05:05.760
That's because that while we all know that you can use the list of networks around you to pinpoint your location, the location information is not inherent to the BSS IDs.

05:05.840 --> 05:19.220
Rather, the location provider maintains and owns a database that maps BSS IDs to their physical location, and that's how they can locate you using the Wi-Fi networks around you.

05:19.320 --> 05:30.400
Now, some would argue that this leaves a gaping hole in the legislation, and I'm just not going to touch on that hot potato of a topic for this talk.

05:30.400 --> 05:35.900
So, why does GDPR define private information this way?

05:35.900 --> 05:41.540
It's meant to allow the legislation to evolve and grow with the culture and technology.

05:41.620 --> 05:49.960
So, for instance, GDPR was legislated in 2016 when the legislators did not consider AI at all.

05:49.960 --> 05:54.040
It's not that AI was not a thing, it just wasn't a thing on their mind.

05:54.040 --> 06:08.140
And yet, without any amendments or further legislation, GDPR today can regulate the way AI companies scour the web to mine data for their AI models, for their LLMs and other models.

06:08.240 --> 06:17.500
So, this indirect way of defining private information has allowed GDPR to remain relevant.

06:18.700 --> 06:24.980
Where GDPR becomes a bit more straightforward is in the rights it grants you.

06:25.040 --> 06:27.820
It does this by defining a few principles.

06:27.820 --> 06:30.240
The first is the minimization principle.

06:30.300 --> 06:40.860
A company is only allowed to use the minimal set of information it requires for whatever product or service it offers you, and nothing more than that.

06:40.860 --> 06:46.120
Also, it's only allowed to use that information for the service it offers you.

06:46.360 --> 06:52.660
For instance, your contacts app on your phone doesn't need to request any permission before it stores names, emails, phone numbers.

06:52.660 --> 06:55.320
That's the core functionality of the app.

06:55.320 --> 07:13.920
Or another example, when you first boot up Waze on your phone, the application requests permission to activate the location API, but it doesn't request any permission to upload that data to Waze's backend for their crowdsource navigation algorithm.

07:13.920 --> 07:22.520
However, because of the minimization principle, Waze is not allowed to use that information for anything other than navigation.

07:22.800 --> 07:25.720
Otherwise, they'd be in violation of the minimization principle.

07:26.620 --> 07:28.600
A second principle is ownership.

07:28.600 --> 07:31.560
As I said, you are the owners of your information.

07:33.020 --> 07:46.460
As such, a few rights were born out of this law, namely the right to review your data, to amend your data, and to withhold your data, and to delete it.

07:46.460 --> 07:56.160
So, what that means is that just about every service you use today has some way for you to download the complete record that's associated with your login.

07:56.680 --> 08:00.240
Additionally, you also have an option to delete that record.

08:00.280 --> 08:07.240
For instance, on X in the account settings page, you can download your entire record, but you can also deactivate your account.

08:07.240 --> 08:13.180
Once you've deactivated your account, 30 days later, the entire record is expunged from the access servers.

08:13.180 --> 08:16.500
That's meant to comply with exactly this principle.

08:19.540 --> 08:25.200
Another principle is informed consent, with an emphasis on informed.

08:25.200 --> 08:35.610
That emphasis is demonstrated by the fact that EULAs, those checkboxes you mark whenever you sign up for your service, they are not considered informed consent for the purposes of privacy legislation.

08:38.190 --> 08:57.070
Anyone who's booted up a fresh install of Windows or Android, for instance, lately, was greeted with those privacy setup pages, where you can check off or on whichever data collection or transmission you consent for the operating system to perform.

08:57.750 --> 09:07.810
Now, those pages, those privacy setup pages, were designed specifically to collect informed consent.

09:07.810 --> 09:12.970
They tell you what you're consenting to, and you're allowed to reject that request.

09:12.970 --> 09:14.830
Now, that's an important point.

09:14.830 --> 09:31.470
As a result of the minimization principle, the ownership principle, and the informed consent principle, you are also allowed to withhold specific types of private information without losing access to the service or product you're using.

09:31.470 --> 09:43.370
That means that if you check off or remove the check from all those boxes in the privacy setup page, the legislation requires you to still have full access to the operating system.

09:46.930 --> 09:50.170
Now, there's one principle I didn't mention.

09:50.170 --> 09:51.530
Where are Alice and Bob?

09:51.530 --> 09:55.030
Is encryption not a part of privacy?

09:55.550 --> 10:11.350
Now, while GDPR does define a minimal standard for protecting private information, the focus in privacy is not to defend companies from attacks or even you from data leaks.

10:11.350 --> 10:14.630
Rather, the focus is on ownership.

10:15.170 --> 10:23.130
The fact is that hackers will hack, data will leak, and bugs will ruin a developer's Saturday evening plans.

10:23.290 --> 10:30.270
But ownership means you get to decide your level of exposure to that risk.

10:33.330 --> 10:37.590
So, what happens when companies don't play by the rules?

10:38.090 --> 10:41.910
GDPR defines two kinds of infractions.

10:41.910 --> 10:47.890
The first are the lesser infractions relating to data storage policies, certifications, etc.

10:48.930 --> 11:00.690
Violating these kinds of policies imposes a risk of fines up to 2% of the company's annual income or 10 million euros, whichever is higher.

11:01.050 --> 11:16.750
The more severe infractions, those relating to informed consent, the minimization principle, ownership, or those involving sensitive information, they impose risk of fines of up to 4% of the company's annual income or 20 million euros.

11:17.190 --> 11:22.370
Now, note that I keep saying up to these many percentages or millions.

11:22.490 --> 11:32.070
In reality, most fines issued under GDPR are much lower, especially in the case of lesser infractions.

11:32.930 --> 11:51.470
If we take a look at a database that tracks GDPR enforcement, we can see that in 2024, 216 fines were issued under GDPR, with just three of them making up over 75% of that sum issued to LinkedIn, Uber, and Meta.

11:51.670 --> 12:06.250
In 2025, by the end of the first half of the year, 0.6 billion euros were issued under GDPR in fines, with just one of them making up over 85% of the sum issued to TikTok.

12:06.970 --> 12:13.390
So we can see that while enforcement is active, most fines are rather small.

12:13.390 --> 12:19.170
But the point is that huge fines are correctly associated with GDPR.

12:19.170 --> 12:26.990
Essentially, violating these privacy laws is like playing roulette with a company's finances.

12:30.100 --> 12:38.880
So, as I said in the beginning, GDPR is the first effective legislation in the field, but it's by no means the only player in the field.

12:38.960 --> 12:55.000
Just about every other country has some law in the books meant to regulate private information, like India's Digital Personal Data Protection Act, Korea's Personal Information Protection Act, Israel's Privacy Protection Law, California's Consumer Rights Act,

12:55.000 --> 12:59.780
and China's Personal Information Protection Law, and the list goes on.

13:01.220 --> 13:10.540
I'd like to take a moment to compare and contrast GDPR with CCPA, the Californian legislation, and PIPL, the Chinese legislation.

13:10.600 --> 13:17.560
Because, as you'll see, GDPR sets the tone for the entire world these days.

13:18.900 --> 13:29.740
So, the Californian CCPA focuses on specific threats to Americans imposed by American companies.

13:29.740 --> 13:41.100
That means CCPA focuses on things like predatory business practices, like data brokerage, and it focuses on civil litigation for penalties.

13:41.880 --> 13:45.600
Now, CCPA defines private information similarly to GDPR.

13:45.600 --> 13:56.740
It applies to a similar group of people, except in California, but the fines usually associated with CCPA are much lower.

13:56.740 --> 14:09.500
Not those millions and hundreds of millions of GDPR, but rather hundreds or thousands of dollars per violation awarded to the person affected by the violation.

14:10.140 --> 14:15.560
Over the years, CCPA has been amended several times.

14:15.560 --> 14:23.220
One amendment that's noteworthy is CPRA, Californian Privacy Rights Act.

14:23.500 --> 14:37.800
The amendment introduced several principles, namely the minimization, ownership, and informed consent principles, and it also introduced a new class of private information, namely sensitive information.

14:37.800 --> 14:48.920
In a word, CPRA is a major shift for CCPA towards a GDPR-like legislation, focusing on ownership and rights for the customers.

14:51.780 --> 15:02.440
And while CCPA started out focused on specific American issues, the Chinese PIPL is essentially a Chinese rebranding of GDPR.

15:02.440 --> 15:09.040
It incurs the same fines, defines privacy in a similar, albeit a bit narrower way.

15:09.040 --> 15:13.600
It applies to a similar group of people, it defines the same rights.

15:13.600 --> 15:20.720
The biggest difference between GDPR and PIPL is in the way it is enforced.

15:21.140 --> 15:25.680
So GDPR is enforced in a rather distributed manner.

15:25.680 --> 15:34.520
Each EU member state defines a privacy authority, that authority then issues fines to companies who violate GDPR.

15:34.520 --> 15:44.530
In contrast, PIPL is enforced centrally by the Cyberspace Administration for China, essentially the Chinese Communist Party.

15:46.890 --> 15:50.170
So where does automotive fit in all this?

15:50.450 --> 15:55.010
Before I get into that, I want to point out the importance of cars.

15:55.110 --> 16:03.030
Cars are necessary for modern life, be it your personal car, a ride-share, Uber, or public transportation.

16:03.030 --> 16:06.810
In order to enjoy modern life, you need a vehicle today.

16:08.010 --> 16:23.250
And while in the past cars have been rather stagnant in the world of information technology, I mean they developed amazing stuff, they improved the car's reliability, efficiencies, power, all that, but they didn't focus so much on information technology.

16:23.370 --> 16:25.730
And that's changing fast.

16:25.730 --> 16:37.770
With AI, and self-driving, and hyper-connected cars, and advanced infotainment, cars today are leaning heavily into information technology.

16:37.850 --> 16:42.190
However, cars remain rather opaque.

16:42.190 --> 16:57.350
They are about... they're essentially a computer today, in today's standards, or rather 10 different computers packed together in a single machine, and yet you have almost no interface into those computers.

16:57.350 --> 16:59.430
You have no idea what's going on.

17:00.750 --> 17:26.950
And what's more troubling is when Mozilla took their privacy not included privacy not included initiative and pointed it towards the automotive sector, they noted that every single automotive vendor they reviewed failed at their inspection, and finally they concluded that cars were the worst category for privacy they've ever reviewed.

17:28.030 --> 17:29.790
And what about enforcement?

17:29.830 --> 17:31.930
Looking back at the GDP...

17:33.890 --> 17:42.930
Looking back at the enforcement database, we see that over the years only three fines were issued to automotive vendors.

17:42.930 --> 17:54.450
We have, in 2024, a Toyota subsidiary for leasing was fined for 18,000 euros for failing to report on a data leak within the required 72 hours.

17:54.550 --> 18:09.690
Another fine was issued to a Volkswagen leasing subsidiary for 40,000 euros for failing to give a customer their record, their information they hold, despite that customer's request.

18:09.690 --> 18:25.610
And a third fine was issued to Volkswagen back in 2022 for 1.1 million euros for using video footage of pedestrians to train their advanced driving assistance system without getting consent from those pedestrians.

18:26.450 --> 18:36.150
Now, consider for a second the huge used parts industry for cars.

18:36.170 --> 18:45.070
Those computers I mentioned before, it's almost certain that the computers in your cars, at some point, will be installed in another car.

18:45.070 --> 18:49.290
Or maybe a computer from another car will be installed in your car.

18:49.290 --> 18:51.750
That's just how the market works.

18:54.230 --> 18:56.250
So, a quick review.

18:57.050 --> 19:04.110
We talked about what GDPR is, what it does, how it does it, what are the penalties, what are some other legislation in the field.

19:04.470 --> 19:09.630
And we noticed that automotive has so far gone under the radar.

19:10.510 --> 19:18.730
So, let's go see what happens when your car treats your information like an all-you-can-eat buffet.

19:21.350 --> 19:28.930
When we started reviewing privacy, we realized that we can't just look at policies and legislation.

19:28.930 --> 19:30.490
We need to get our hands dirty.

19:30.710 --> 19:36.790
So, we went over to a local junkyard in hopes to find some used ECUs.

19:37.790 --> 19:42.570
We found a BYD Model 2023 Ato 3.

19:42.810 --> 19:45.370
The car was totaled in an accident.

19:45.370 --> 19:53.970
So, we believe it's highly likely that the ECU for the multimedia unit is unwiped and we can look at it.

19:54.170 --> 19:59.510
We bought the ECU and then we learned we can activate the debug mode on the ECU.

19:59.510 --> 20:07.110
Now, the BYD Ato 3 uses the D-Link 3.0 OS for its multimedia OS, which is Android-based.

20:07.110 --> 20:14.150
So, once we activated the debug mode, we quickly connected it to our test bench and started poking around with ADB.

20:14.530 --> 20:25.130
The goal was to find some thread, something to pull on to see maybe some app accidentally logged some private information to lock it or something like that.

20:25.130 --> 20:27.830
But what we found was way more.

20:28.890 --> 20:38.090
We found, I guess maybe the people in the first row can see it, but we found a cache of what appeared to be system dumps, lots of them.

20:39.270 --> 20:41.030
One of them stood out.

20:42.190 --> 20:47.650
At a first glance, you can see it's the oldest of the bunch, except for one with the default timestamp .

20:48.430 --> 20:55.570
But a deeper look told us that it's the only archive in this folder that isn't password protected.

20:55.810 --> 21:10.310
So, of course, we took it and we unpacked it and learned that it's essentially a comprehensive dump of every log buffer in the system and the output of every diagnostic tool.

21:10.950 --> 21:21.330
So that means if we can get our hands on the other archives, if we can unpack those zips, we can have a snapshot of the car across months.

21:22.590 --> 21:26.470
So let's see if we can get those zips.

21:26.610 --> 21:31.910
We used that unprotected archives to try and find who's creating the archives.

21:31.910 --> 21:38.510
We found a few lines in the logs that mentioned compressing archives and storing them in that folder.

21:38.510 --> 21:42.970
We found and we noticed the PID that does that is 3015.

21:43.010 --> 21:44.810
Who's 3015?

21:45.050 --> 21:54.610
Well, the same unprotected archive was very useful for telling us that it's actually the BYD log tool using the output of PS.

21:55.150 --> 22:12.150
So we naturally took the APK out of the unit, decompiled it with JDAX, and in it we found the zip helper class which matched the log tag we saw earlier in the logs.

22:12.310 --> 22:16.290
So naturally we looked into that file.

22:18.130 --> 22:39.650
Now, the people on the first row can probably see that in zip helper, we have a function called zip file which defines a file name that's built a file name format that's built out of a file name, base file name, then some number, a timestamp, a bit indicating success,

22:39.650 --> 22:42.150
followed by the zip suffix.

22:43.210 --> 22:49.450
And again, those on the first row can probably note the similarities to our archives.

22:49.630 --> 22:55.450
Our archives had a base file name which is similar to our unprotected archive.

22:55.450 --> 23:00.850
Then they had a short number, then a timestamp, and bit indicating success.

23:00.850 --> 23:03.750
In all the archives, it was one.

23:04.150 --> 23:09.730
So these are clearly our archives they're creating in this function.

23:09.730 --> 23:14.610
So we really wanted to know what the create password function does.

23:16.130 --> 23:18.710
So we reviewed it.

23:20.030 --> 23:22.690
Create password is rather simple.

23:22.690 --> 23:26.390
It uses a sub function called generate password by IMEI.

23:26.550 --> 23:30.810
And if that sub function works, then that's the zip password.

23:30.810 --> 23:32.090
That's it.

23:32.490 --> 23:38.130
So we really want to know how generate password by IMEI works.

23:38.170 --> 23:40.410
And it's a very simple function.

23:40.510 --> 23:43.910
It stores the current timestamp.

23:44.810 --> 23:48.750
And then it uses two encryption methods to generate the password.

23:48.750 --> 23:51.930
Because we all know that double the encryption means double the security.

23:52.850 --> 23:56.070
Well, let's look at the encryption scheme.

23:58.810 --> 24:04.350
I'm going to start with the second encryption method, which is actually not an encryption method.

24:04.350 --> 24:06.030
It's a string transformation.

24:06.050 --> 24:07.650
A rather simple one.

24:07.930 --> 24:15.810
So we start up with a loop that generates a bunch of indexes, specifically six indexes, by adding up digits from the IMEI and timestamp.

24:15.810 --> 24:27.290
Then there's a second loop that generates two lists of length six, which are samplings from the encrypted text generated by the first encryption function.

24:27.950 --> 24:41.650
Those samplings are taken based on the IMEI as the sampling function, which means if the first digit of your IMEI is five, then the first sampled character from encrypt text is the fifth character.

24:41.650 --> 24:47.090
And the second list is sampled according to the list we generated in the first loop.

24:47.470 --> 24:50.190
Those two lists are then stored together.

24:50.190 --> 24:52.710
The result is base 64 encoded.

24:52.710 --> 24:53.530
And that's it.

24:53.530 --> 24:54.810
That's the password.

24:54.810 --> 24:59.530
Now, all I've showed you so far is basically fluff.

24:59.530 --> 25:02.810
There's no rhyme or reason to this transformation.

25:03.270 --> 25:10.550
But most importantly, it's fluff we can easily recreate if we had the timestamp and IMEI used for the sampling.

25:11.590 --> 25:17.930
So let's go see how the ciphertext from the first method is created, the first encryption method.

25:17.970 --> 25:26.230
So the first encryption method actually uses an encryption algorithm, specifically AES with CBC and PKCS5.

25:26.310 --> 25:30.770
You have the initial vector hardcoded there, if you can see.

25:32.350 --> 25:39.630
But some of you may have noticed that encrypt doesn't take any input.

25:40.230 --> 25:45.370
Where is the sensitive text that we're supposed to be encrypting?

25:46.910 --> 25:52.170
What we're seeing here is actually an obfuscation method for the password generation process.

25:52.190 --> 25:54.350
This isn't an encryption scheme at all.

25:54.350 --> 26:07.150
The function generates clear text and then it generates a key and then it uses AES to generate the actual sensitive text the data used to create the password.

26:07.650 --> 26:09.650
So what's going on here?

26:09.650 --> 26:11.350
What are they doing?

26:14.800 --> 26:27.560
Back in 2023, a GitHub user by the name RainyMode began a responsible disclosure process with PYD for a CVE.

26:27.560 --> 26:33.080
The title of the CVE was Incorrect Access Control in BYD DI-Link OS.

26:33.120 --> 26:44.380
And the details of the CVE is mentioned that anyone with physical access to the car can access the sensitive information inside these logs because they are unprotected.

26:46.000 --> 26:51.990
So essentially what we're seeing here is BYD's response to that CVE.

26:54.550 --> 27:06.350
But using AES to generate some random string, then sampling it, slapping XOR and Base64 on the end, that's not a solution to that CVE.

27:06.350 --> 27:08.550
That's at best lip service.

27:08.970 --> 27:17.910
Which is why this year we're publishing a new CVE for the broken encryption scheme on the BYD DI-Link OS.

27:19.270 --> 27:29.190
So the timeline is back in 2023, RainyMode discovered the issue, reported it to BYD and they began working on it.

27:29.190 --> 27:34.190
In late 2024, we found the issue I just presented.

27:34.530 --> 27:41.810
And in January 2025, the original CVE was published, which confused us at first.

27:41.810 --> 27:50.290
We saw a CVE mentioning the same area in the car we're dealing with, but it's talking about a lack of encryption and we just cracked the encryption.

27:50.290 --> 27:51.070
What's going on?

27:51.070 --> 27:57.210
We realized the delta we're seeing is the fix to the original issue.

27:57.410 --> 27:59.870
So we reached out to BYD.

27:59.870 --> 28:06.670
We tried to contact them using three different email addresses several times and got no response.

28:07.010 --> 28:10.650
So then we reached out to ASRG.

28:10.650 --> 28:13.190
It's a CNA in the automotive world.

28:13.190 --> 28:21.050
And they too tried to reach BYD over yet a fourth email address several times and failed to get a response.

28:21.550 --> 28:32.930
So in July this year, we began coordinating with ASRG on a public disclosure of this issue and tomorrow the CVE will be published.

28:35.170 --> 28:44.370
In order to publish this CVE, we wanted to create a PLC to actually demonstrate that we can bypass this encryption scheme.

28:44.370 --> 28:51.350
But in order to do that, we had to figure out how the first encryption method generates the clear text and key.

28:55.170 --> 28:57.430
So we have the two methods here.

28:57.430 --> 28:58.430
They're pretty similar.

28:58.430 --> 29:00.670
They're actually almost exactly the same.

29:00.670 --> 29:04.250
They both concatenate the timestamp with the IMEI.

29:04.250 --> 29:07.070
The only difference is they do it in reverse order.

29:07.070 --> 29:10.510
Additionally, they also change the format of the timestamp.

29:10.510 --> 29:11.650
And that's it.

29:11.950 --> 29:17.570
Now, we can probably find the IMEI in the unprotected logs.

29:17.810 --> 29:20.050
But where are we going to find the timestamp?

29:20.110 --> 29:23.010
It's not going to be in the logs we have access to.

29:24.290 --> 29:29.010
Well, no, it's not going to be in the log, but it is right there in the file name for the archive.

29:29.650 --> 29:33.330
So we have the initial vector from the APK.

29:33.330 --> 29:37.190
We have the file name, which contains all the other ingredients for the password.

29:37.450 --> 29:40.370
So now we can create a PLC.

29:41.370 --> 29:42.610
So this is our PLC.

29:42.610 --> 29:46.670
This is actually a shortened form of the PLC that can fit on the slide.

29:46.670 --> 29:52.530
Naturally, we don't have a screen, so fitting on the slide didn't really matter.

29:52.650 --> 30:03.370
But the point is that we could now easily generate the password for every archive by fitting in the name of the file.

30:05.070 --> 30:14.050
So now we had access to snapshots of everything the multimedia knows across months.

30:14.150 --> 30:18.630
So let's get to know the previous owner of the car.

30:18.630 --> 30:19.940
Let's build a profile.

30:21.110 --> 30:26.710
The first thing we did was search for patterns for phone numbers.

30:26.710 --> 30:35.070
Now, the engineers working for BYD did try to redact this kind of information.

30:35.070 --> 30:37.310
However, they didn't catch all the instances.

30:37.310 --> 30:43.290
And what ended up was we had a bunch of unredacted numbers and a bunch of redacted numbers.

30:43.430 --> 30:46.410
We wanted to figure out who's the owner of the car.

30:46.510 --> 30:49.590
And what we did was use the unredacted instances.

30:49.590 --> 31:03.950
Then we mapped them over with the redacted instances to get essentially all the redacted instances allowed us to find which of the numbers is the owner.

31:03.950 --> 31:15.310
And the instances that weren't redacted allowed us to map over to the context of that redacted number, thus leading us to the phone number of the actual owner of the car.

31:15.630 --> 31:17.470
But what can I do with a phone number?

31:17.650 --> 31:20.790
Well, as you guys know, I can do a lot with a phone number.

31:20.790 --> 31:30.430
With small business websites, second-hand listings, and social media, a phone number immediately translates to a name and an image.

31:30.790 --> 31:42.050
Now, I want to point out that while just about everything you're seeing or maybe seeing in the slides is genuine information we took from the head unit.

31:42.050 --> 32:01.230
However, we did redact, include random information, false overlays, and straight-up deleted a bunch of data to make sure this previous owner, their information cannot be further violated by the failures of this car.

32:01.410 --> 32:07.420
So rest assured, no private information about the previous owner can even leak from this presentation.

32:08.810 --> 32:15.300
So now that we had a name, an image, and a phone, we turned our attention to location information.

32:15.860 --> 32:29.200
Due to a misconfiguration, the GPS of the head unit would log the location of the car, the coordinates of the car, every 30 minutes, again, across months.

32:29.200 --> 32:48.960
So we had the position of the car every 30 minutes for a month, which allowed us, using a bit of distribution analysis, to find her home address, a potential work address, and a very popular children's playground that she likes to take her then newborn baby to.

32:49.560 --> 32:53.340
And how do we know she had a newborn baby?

32:53.740 --> 33:07.900
Because of the SQL DB fragment we found, which included the number, name, and address of a neonatal doctor that matched a bunch of coordinates that the head unit had recorded.

33:10.340 --> 33:11.980
And it didn't stop there.

33:11.980 --> 33:29.160
We also found favorite radio stations, Spotify playlists, cellular identity, MAC addresses, contact information, including familial relationships and numbers, and her bank branch, and it just kept on going.

33:29.160 --> 33:35.480
Now, we didn't set out to actually perform any identity theft in this research.

33:35.480 --> 33:55.380
But an attacker could relatively easily take this information and elevate their penetration into this poor person's life with SIM hijacking, or maybe intercepting government issued IDs, or maybe accessing government services digitally.

33:55.500 --> 34:11.240
But it actually didn't stop there either, because we noticed at some point, logs and corresponding code that indicated that all this information was being periodically updated to the BYD backend.

34:14.400 --> 34:21.580
So having just reviewed GDPR, what does all this mean?

34:21.800 --> 34:25.080
Is this compliant with GDPR?

34:25.080 --> 34:26.360
No, of course not.

34:26.360 --> 34:34.680
I mean, the name of your neonatal doctor is not inherent to the use and function of a car.

34:37.680 --> 34:47.540
Before we wrapped up the investigation, we wanted to see whether the car would request consent from a user to perform this collection.

34:47.540 --> 34:51.120
So we factory reset the unit.

34:51.120 --> 35:00.440
And when we booted it up again, we did see that regular end-user license agreement and privacy statement you'd expect on a system.

35:00.980 --> 35:09.300
However, at no point were we prompted to consent for any sort of private information collection, let alone this invasive.

35:11.300 --> 35:20.400
And furthermore, when we tried, we couldn't find any way to opt out of this collection after the fact.

35:21.420 --> 35:31.980
Now, anyone who's ever worked on automotive development knows that cars are developed in a very distributed manner.

35:31.980 --> 35:43.140
That means that when BYD sets out to develop a new car, they will contact some tier one manufacturer like Continental or Bosch to develop their ECUs.

35:43.400 --> 35:52.300
That tier one manufacturer will then contact a subcontractor like Electrobeat or Alps Alpine to develop the software for that ECU.

35:52.300 --> 35:56.680
And that subcontractor will contact yet another subcontractor.

35:56.680 --> 36:04.820
At times, the hierarchy of subcontractors can reach as far as five companies removed from the original vendor.

36:05.500 --> 36:10.100
Who's responsible for maintaining the privacy of the customer?

36:10.100 --> 36:14.460
The answer is flat out the vendor, BYD in this case.

36:14.700 --> 36:23.240
BYD is the only entity in this game that can request consent from the customer.

36:23.240 --> 36:29.340
It's the only entity that can generate the prompt for consent.

36:29.340 --> 36:35.540
And it's the only entity that has a contractual relationship with you, the customer.

36:35.540 --> 36:44.280
So it's BYD's job to include privacy clauses in their contracts with their subcontractors.

36:44.280 --> 36:50.940
Additionally, it's their job to enforce those clauses during development and delivery.

36:53.610 --> 36:57.290
Having failed to do this, what does that mean?

36:57.590 --> 37:11.870
So if an EU privacy authority would elect to go after BYD for this, given the wide nature and severity of this violation, the fine would be huge.

37:11.870 --> 37:19.490
I mean, 1.7 million cars times 40,000 euros per car times 4%.

37:19.490 --> 37:24.090
That would mean the fines in the billions.

37:29.230 --> 37:32.250
So what should be done?

37:34.210 --> 37:39.050
So far, the automotive world has been unaffected by privacy legislation.

37:41.570 --> 37:47.910
Considering that even a savvy user can't opt out of this collection.

37:47.910 --> 38:03.270
Think for a second, if you were ever, God forbid, in a total loss accident or your car is foreclosed, those ECUs in the car with all your information, they're getting sold to someone else and you might not have a chance to wipe them.

38:06.750 --> 38:16.470
So this puts you at a risk of invasive tracking by unknown entities.

38:19.010 --> 38:21.290
And the issue isn't going away.

38:23.130 --> 38:35.970
Vendors need to collect information to improve their products and services, to troubleshoot the product, and yes, to develop new monetization avenues for their business.

38:35.970 --> 38:44.170
And on the flip side, the customers are willing to give that information provided they get something good in return.

38:48.070 --> 38:57.290
The answer to this issue is collecting consent at a lower level.

38:57.290 --> 39:01.990
We need standardization at the level of the operating system.

39:03.210 --> 39:16.930
Something similar to Android's dangerous permissions mechanism, where an app can't request a permission beforehand, but rather has to request the consent during the activation of the API.

39:17.090 --> 39:26.430
So it's easy to think about a method where the operating system requests consent when a piece of information is read.

39:26.510 --> 39:32.070
But you might say, identifying the information as private information is difficult.

39:32.070 --> 39:33.070
We talked about it.

39:33.070 --> 39:34.990
Private information is implicit.

39:35.950 --> 39:41.030
So my team developed a proof of concept.

39:41.050 --> 39:46.930
We wrote some code that ran on some ECUs.

39:46.930 --> 39:53.050
And that code would use a few AI models to identify private information on the fly.

39:53.050 --> 40:06.130
And we managed to identify it quickly, accurately, and without slowing down the regular function of the multimedia unit we ran this on, despite the limited hardware of a car's ECU.

40:06.610 --> 40:33.370
So until vendors and customers will start pushing for this, or enforcers will start demanding this, we will keep seeing companies that, whether knowingly or unknowingly, put your private information on the bottom of the priority list and exposing you to this level of invasion.

40:35.790 --> 40:39.090
Thank you, and I hope you found this talk interesting.

40:39.090 --> 40:40.550
Any questions?

40:46.160 --> 40:47.680
Yeah.

40:52.080 --> 40:59.320
Yeah, we didn't find any remote connections, but we didn't search for any.

41:05.570 --> 41:13.470
Yeah, those we did try to attack, and luckily, we couldn't find any cracks in that armor.

41:14.070 --> 41:14.890
Yeah.

41:19.910 --> 41:35.730
We have not tested it personally, but we did find a bunch of papers that mentioned other vendors with similar level of invasive data collection, including classical car manufacturers, not just modern ones.

41:35.730 --> 41:36.290
Yes.

41:38.750 --> 41:42.270
It's a very rising popularity brand.

41:43.590 --> 41:44.330
Yeah.

41:45.650 --> 41:47.000
Can you speak up, please?

41:49.810 --> 41:50.650
Yes.

41:50.650 --> 41:51.530
Yes, I did.

41:52.550 --> 41:55.990
You can wipe the data if you get a chance to.

41:56.410 --> 41:56.990
Yeah.

42:06.410 --> 42:07.790
Is it what?

42:20.760 --> 42:43.730
I'd reckon that would change by state to state and country to country, but I know for a fact that several countries will use data such as that, because the laws allow them to, or even in countries that are less... they're more focused on privacy rights.

42:43.730 --> 42:48.790
At the end of the day, you can issue a court order, and yeah, you get the data from the car.

42:55.370 --> 42:59.210
We're actually working on developing one because we couldn't find one.

43:02.130 --> 43:05.070
So how much of this data has been sent back?

43:05.150 --> 43:05.890
All of it.

43:05.890 --> 43:11.230
Literally the entire archives that we reviewed were all sent to BWaddy.

43:14.890 --> 43:17.090
That's the funny thing.

43:17.090 --> 43:19.130
The interval was inconsistent.

43:19.530 --> 43:27.450
The code mentioned 300,000, I think it was seconds, but it wouldn't send it all the time.

43:27.450 --> 43:40.190
I believe it's because the way the car would send the data to the backend was a built-in cellular modem with a pre-installed SIM card by, I'm guessing, the import company.

43:40.790 --> 43:44.630
And the range for that modem is pretty limited.

43:44.630 --> 43:55.610
So if you're in an area or just bad timing, the car tried to send it, failure to communicate, and it skipped the cycle and would send it the next one maybe.

43:56.830 --> 43:58.430
Yeah.

44:05.280 --> 44:06.640
Yes.

44:06.700 --> 44:12.720
Not only that, not every SIM could connect to the BWaddy backend.

44:12.720 --> 44:25.640
So not only can you prevent that, you can still retain connectivity while protecting yourself from that upload if you know where to find the SIM and how to swap it.

44:27.800 --> 44:28.780
Yeah.

44:29.820 --> 44:30.800
I'm sorry.

44:30.800 --> 44:32.020
Can you speak up?

44:35.890 --> 44:37.190
I can't hear you.

44:37.190 --> 44:38.070
Sorry.

44:41.140 --> 44:43.340
Oh, actually, no.

44:43.340 --> 44:52.620
We did find a bunch of issues with the multimedia unit following a fuzzing session we did with the CAN bus.

44:52.620 --> 45:02.760
The multimedia unit reacts very strangely when it is attacked via the CAN bus, but it had no impact on the collection and transmission of data.

45:02.760 --> 45:11.900
So we don't think the data is transmitted over the CAN bus, but we know for a fact that the multimedia unit is sensitive to some shenanigans on the bus.

45:17.630 --> 45:22.550
That specific model doesn't have cameras that we're aware of.

45:23.030 --> 45:25.570
Maybe a higher end one does.

45:25.770 --> 45:35.950
We do know that modern cars, especially from China, have this sort of features.

45:35.950 --> 45:39.490
For instance, there's a driver facing cameras.

45:40.570 --> 45:45.030
There are some cameras used for in-driving selfie features.

45:45.530 --> 45:46.190
Okay.

45:46.810 --> 45:52.350
And those do store their data on the Android OS.

45:52.350 --> 45:56.790
So they could be collected, they might not be, but they are stored there.

45:56.790 --> 46:03.290
And we did at one point run a pen test against such a car, and we did gain access to that data.

46:06.470 --> 46:08.710
We didn't check.

46:10.270 --> 46:11.030
Yeah.

46:26.130 --> 46:26.810
Definitely.

46:26.810 --> 46:27.150
Yeah.

46:27.150 --> 46:33.610
As I said earlier, it took cars quite a while to enter into the information space.

46:33.610 --> 46:40.490
So yeah, the newer cars, you buy the worst off they'll be in this specific regard.

46:41.150 --> 46:42.430
Yeah.

46:44.400 --> 46:46.800
Can you speak up?

46:54.970 --> 46:57.630
We used the GUI.

46:57.770 --> 46:58.870
Yeah.

47:00.740 --> 47:02.580
Yes.

47:08.610 --> 47:16.070
The secure boot system on this car is based on Continental's Denali platform.

47:16.070 --> 47:19.030
We didn't look much into it.

47:19.730 --> 47:20.430
Yeah.

47:26.630 --> 47:28.630
Sorry, I can't.

47:33.780 --> 47:36.900
Oh, yeah.

47:36.900 --> 47:44.780
The factory reset for an office user, I'm guessing it might be a bit much, but any technical user can find their way to it.

47:45.460 --> 47:49.620
It's an Android-based system with a similar interface.

47:53.260 --> 47:53.880
Okay.

47:53.880 --> 47:54.800
Thank you.

