Hello, my name is Lior Tzurlotan and today I want to talk to you about privacy in the automotive space or the lack thereof. So, a little about me. I work for Plexidity X. What we do is cyber security for automotive. I specifically try to find new ways to protect your cars from being taken over by malicious actors. I've been a developer, researcher and teacher in cyber security for the past 15 years. And before that, I worked for the intelligence community. 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. In recent years, I've focused more on the world of privacy in automotive. In privacy, we don't deal as much in malicious actors. Specifically, we look at a different kind of threat to your information, namely the vendor. While not exactly a malicious actor, the vendor is not exactly a benign actor as well. 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. And then I want to discuss how it compares with some other legislation around the world in privacy. 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. We actually found that the result is kind of horrible. So, what is GDPR? It's the first effective legislation in the privacy space for modern era. 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. For instance, those cookie consent forms you see all over the web today. You see them even on commercial sites for companies that don't deal in the EU, like Trader Joe's, for instance. Additionally, you also saw a whole new browser plugin category for the people who are annoyed by those consent prompts for cookies. 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. Basically, GDPR is there to define who owns the private information, namely the customers. 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. Additionally, GDPR defines a class of private information with elevated protections, that's sensitive information. Sensitive information is private information that relates to ethnic origins, religious beliefs, etc. Now, you might notice that these definitions are intuitive. They're not formal nor legal, and that's by design. GDPR doesn't try to define what private information is exactly. 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. 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. So, a few examples. While a phone recording of your conversation is obviously private information, the IMEI, the identifier for your phone, was ruled as not private information. 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. Another example. 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. 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. 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. 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. So, why does GDPR define private information this way? It's meant to allow the legislation to evolve and grow with the culture and technology. So, for instance, GDPR was legislated in 2016 when the legislators did not consider AI at all. It's not that AI was not a thing, it just wasn't a thing on their mind. 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. So, this indirect way of defining private information has allowed GDPR to remain relevant. Where GDPR becomes a bit more straightforward is in the rights it grants you. It does this by defining a few principles. The first is the minimization principle. 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. Also, it's only allowed to use that information for the service it offers you. For instance, your contacts app on your phone doesn't need to request any permission before it stores names, emails, phone numbers. That's the core functionality of the app. 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. However, because of the minimization principle, Waze is not allowed to use that information for anything other than navigation. Otherwise, they'd be in violation of the minimization principle. A second principle is ownership. As I said, you are the owners of your information. 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. 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. Additionally, you also have an option to delete that record. For instance, on X in the account settings page, you can download your entire record, but you can also deactivate your account. Once you've deactivated your account, 30 days later, the entire record is expunged from the access servers. That's meant to comply with exactly this principle. Another principle is informed consent, with an emphasis on informed. 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. 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. Now, those pages, those privacy setup pages, were designed specifically to collect informed consent. They tell you what you're consenting to, and you're allowed to reject that request. Now, that's an important point. 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. 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. Now, there's one principle I didn't mention. Where are Alice and Bob? Is encryption not a part of privacy? 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. Rather, the focus is on ownership. The fact is that hackers will hack, data will leak, and bugs will ruin a developer's Saturday evening plans. But ownership means you get to decide your level of exposure to that risk. So, what happens when companies don't play by the rules? GDPR defines two kinds of infractions. The first are the lesser infractions relating to data storage policies, certifications, etc. 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. 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. Now, note that I keep saying up to these many percentages or millions. In reality, most fines issued under GDPR are much lower, especially in the case of lesser infractions. 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. 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. So we can see that while enforcement is active, most fines are rather small. But the point is that huge fines are correctly associated with GDPR. Essentially, violating these privacy laws is like playing roulette with a company's finances. 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. 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, and China's Personal Information Protection Law, and the list goes on. I'd like to take a moment to compare and contrast GDPR with CCPA, the Californian legislation, and PIPL, the Chinese legislation. Because, as you'll see, GDPR sets the tone for the entire world these days. So, the Californian CCPA focuses on specific threats to Americans imposed by American companies. That means CCPA focuses on things like predatory business practices, like data brokerage, and it focuses on civil litigation for penalties. Now, CCPA defines private information similarly to GDPR. It applies to a similar group of people, except in California, but the fines usually associated with CCPA are much lower. 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. Over the years, CCPA has been amended several times. One amendment that's noteworthy is CPRA, Californian Privacy Rights Act. 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. In a word, CPRA is a major shift for CCPA towards a GDPR-like legislation, focusing on ownership and rights for the customers. And while CCPA started out focused on specific American issues, the Chinese PIPL is essentially a Chinese rebranding of GDPR. It incurs the same fines, defines privacy in a similar, albeit a bit narrower way. It applies to a similar group of people, it defines the same rights. The biggest difference between GDPR and PIPL is in the way it is enforced. So GDPR is enforced in a rather distributed manner. Each EU member state defines a privacy authority, that authority then issues fines to companies who violate GDPR. In contrast, PIPL is enforced centrally by the Cyberspace Administration for China, essentially the Chinese Communist Party. So where does automotive fit in all this? Before I get into that, I want to point out the importance of cars. Cars are necessary for modern life, be it your personal car, a ride-share, Uber, or public transportation. In order to enjoy modern life, you need a vehicle today. 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. And that's changing fast. With AI, and self-driving, and hyper-connected cars, and advanced infotainment, cars today are leaning heavily into information technology. However, cars remain rather opaque. 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. You have no idea what's going on. 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. And what about enforcement? Looking back at the GDP... Looking back at the enforcement database, we see that over the years only three fines were issued to automotive vendors. 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. 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. 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. Now, consider for a second the huge used parts industry for cars. Those computers I mentioned before, it's almost certain that the computers in your cars, at some point, will be installed in another car. Or maybe a computer from another car will be installed in your car. That's just how the market works. So, a quick review. 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. And we noticed that automotive has so far gone under the radar. So, let's go see what happens when your car treats your information like an all-you-can-eat buffet. When we started reviewing privacy, we realized that we can't just look at policies and legislation. We need to get our hands dirty. So, we went over to a local junkyard in hopes to find some used ECUs. We found a BYD Model 2023 Ato 3. The car was totaled in an accident. So, we believe it's highly likely that the ECU for the multimedia unit is unwiped and we can look at it. We bought the ECU and then we learned we can activate the debug mode on the ECU. Now, the BYD Ato 3 uses the D-Link 3.0 OS for its multimedia OS, which is Android-based. So, once we activated the debug mode, we quickly connected it to our test bench and started poking around with ADB. 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. But what we found was way more. 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. One of them stood out. At a first glance, you can see it's the oldest of the bunch, except for one with the default timestamp . But a deeper look told us that it's the only archive in this folder that isn't password protected. 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. 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. So let's see if we can get those zips. We used that unprotected archives to try and find who's creating the archives. We found a few lines in the logs that mentioned compressing archives and storing them in that folder. We found and we noticed the PID that does that is 3015. Who's 3015? Well, the same unprotected archive was very useful for telling us that it's actually the BYD log tool using the output of PS. 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. So naturally we looked into that file. 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, followed by the zip suffix. And again, those on the first row can probably note the similarities to our archives. Our archives had a base file name which is similar to our unprotected archive. Then they had a short number, then a timestamp, and bit indicating success. In all the archives, it was one. So these are clearly our archives they're creating in this function. So we really wanted to know what the create password function does. So we reviewed it. Create password is rather simple. It uses a sub function called generate password by IMEI. And if that sub function works, then that's the zip password. That's it. So we really want to know how generate password by IMEI works. And it's a very simple function. It stores the current timestamp. And then it uses two encryption methods to generate the password. Because we all know that double the encryption means double the security. Well, let's look at the encryption scheme. I'm going to start with the second encryption method, which is actually not an encryption method. It's a string transformation. A rather simple one. 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. 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. 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. And the second list is sampled according to the list we generated in the first loop. Those two lists are then stored together. The result is base 64 encoded. And that's it. That's the password. Now, all I've showed you so far is basically fluff. There's no rhyme or reason to this transformation. But most importantly, it's fluff we can easily recreate if we had the timestamp and IMEI used for the sampling. So let's go see how the ciphertext from the first method is created, the first encryption method. So the first encryption method actually uses an encryption algorithm, specifically AES with CBC and PKCS5. You have the initial vector hardcoded there, if you can see. But some of you may have noticed that encrypt doesn't take any input. Where is the sensitive text that we're supposed to be encrypting? What we're seeing here is actually an obfuscation method for the password generation process. This isn't an encryption scheme at all. 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. So what's going on here? What are they doing? Back in 2023, a GitHub user by the name RainyMode began a responsible disclosure process with PYD for a CVE. The title of the CVE was Incorrect Access Control in BYD DI-Link OS. 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. So essentially what we're seeing here is BYD's response to that CVE. 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. That's at best lip service. Which is why this year we're publishing a new CVE for the broken encryption scheme on the BYD DI-Link OS. So the timeline is back in 2023, RainyMode discovered the issue, reported it to BYD and they began working on it. In late 2024, we found the issue I just presented. And in January 2025, the original CVE was published, which confused us at first. 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. What's going on? We realized the delta we're seeing is the fix to the original issue. So we reached out to BYD. We tried to contact them using three different email addresses several times and got no response. So then we reached out to ASRG. It's a CNA in the automotive world. And they too tried to reach BYD over yet a fourth email address several times and failed to get a response. So in July this year, we began coordinating with ASRG on a public disclosure of this issue and tomorrow the CVE will be published. In order to publish this CVE, we wanted to create a PLC to actually demonstrate that we can bypass this encryption scheme. But in order to do that, we had to figure out how the first encryption method generates the clear text and key. So we have the two methods here. They're pretty similar. They're actually almost exactly the same. They both concatenate the timestamp with the IMEI. The only difference is they do it in reverse order. Additionally, they also change the format of the timestamp. And that's it. Now, we can probably find the IMEI in the unprotected logs. But where are we going to find the timestamp? It's not going to be in the logs we have access to. Well, no, it's not going to be in the log, but it is right there in the file name for the archive. So we have the initial vector from the APK. We have the file name, which contains all the other ingredients for the password. So now we can create a PLC. So this is our PLC. This is actually a shortened form of the PLC that can fit on the slide. Naturally, we don't have a screen, so fitting on the slide didn't really matter. But the point is that we could now easily generate the password for every archive by fitting in the name of the file. So now we had access to snapshots of everything the multimedia knows across months. So let's get to know the previous owner of the car. Let's build a profile. The first thing we did was search for patterns for phone numbers. Now, the engineers working for BYD did try to redact this kind of information. However, they didn't catch all the instances. And what ended up was we had a bunch of unredacted numbers and a bunch of redacted numbers. We wanted to figure out who's the owner of the car. And what we did was use the unredacted instances. 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. 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. But what can I do with a phone number? Well, as you guys know, I can do a lot with a phone number. With small business websites, second-hand listings, and social media, a phone number immediately translates to a name and an image. 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. 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. So rest assured, no private information about the previous owner can even leak from this presentation. So now that we had a name, an image, and a phone, we turned our attention to location information. 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. 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. And how do we know she had a newborn baby? 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. And it didn't stop there. 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. Now, we didn't set out to actually perform any identity theft in this research. 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. 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. So having just reviewed GDPR, what does all this mean? Is this compliant with GDPR? No, of course not. I mean, the name of your neonatal doctor is not inherent to the use and function of a car. Before we wrapped up the investigation, we wanted to see whether the car would request consent from a user to perform this collection. So we factory reset the unit. 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. However, at no point were we prompted to consent for any sort of private information collection, let alone this invasive. And furthermore, when we tried, we couldn't find any way to opt out of this collection after the fact. Now, anyone who's ever worked on automotive development knows that cars are developed in a very distributed manner. 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. That tier one manufacturer will then contact a subcontractor like Electrobeat or Alps Alpine to develop the software for that ECU. And that subcontractor will contact yet another subcontractor. At times, the hierarchy of subcontractors can reach as far as five companies removed from the original vendor. Who's responsible for maintaining the privacy of the customer? The answer is flat out the vendor, BYD in this case. BYD is the only entity in this game that can request consent from the customer. It's the only entity that can generate the prompt for consent. And it's the only entity that has a contractual relationship with you, the customer. So it's BYD's job to include privacy clauses in their contracts with their subcontractors. Additionally, it's their job to enforce those clauses during development and delivery. Having failed to do this, what does that mean? 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. I mean, 1.7 million cars times 40,000 euros per car times 4%. That would mean the fines in the billions. So what should be done? So far, the automotive world has been unaffected by privacy legislation. Considering that even a savvy user can't opt out of this collection. 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. So this puts you at a risk of invasive tracking by unknown entities. And the issue isn't going away. 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. And on the flip side, the customers are willing to give that information provided they get something good in return. The answer to this issue is collecting consent at a lower level. We need standardization at the level of the operating system. 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. So it's easy to think about a method where the operating system requests consent when a piece of information is read. But you might say, identifying the information as private information is difficult. We talked about it. Private information is implicit. So my team developed a proof of concept. We wrote some code that ran on some ECUs. And that code would use a few AI models to identify private information on the fly. 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. 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. Thank you, and I hope you found this talk interesting. Any questions? Yeah. Yeah, we didn't find any remote connections, but we didn't search for any. Yeah, those we did try to attack, and luckily, we couldn't find any cracks in that armor. Yeah. 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. Yes. It's a very rising popularity brand. Yeah. Can you speak up, please? Yes. Yes, I did. You can wipe the data if you get a chance to. Yeah. Is it what? 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. At the end of the day, you can issue a court order, and yeah, you get the data from the car. We're actually working on developing one because we couldn't find one. So how much of this data has been sent back? All of it. Literally the entire archives that we reviewed were all sent to BWaddy. That's the funny thing. The interval was inconsistent. The code mentioned 300,000, I think it was seconds, but it wouldn't send it all the time. 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. And the range for that modem is pretty limited. 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. Yeah. Yes. Not only that, not every SIM could connect to the BWaddy backend. 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. Yeah. I'm sorry. Can you speak up? I can't hear you. Sorry. Oh, actually, no. We did find a bunch of issues with the multimedia unit following a fuzzing session we did with the CAN bus. 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. 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. That specific model doesn't have cameras that we're aware of. Maybe a higher end one does. We do know that modern cars, especially from China, have this sort of features. For instance, there's a driver facing cameras. There are some cameras used for in-driving selfie features. Okay. And those do store their data on the Android OS. So they could be collected, they might not be, but they are stored there. And we did at one point run a pen test against such a car, and we did gain access to that data. We didn't check. Yeah. Definitely. Yeah. As I said earlier, it took cars quite a while to enter into the information space. So yeah, the newer cars, you buy the worst off they'll be in this specific regard. Yeah. Can you speak up? We used the GUI. Yeah. Yes. The secure boot system on this car is based on Continental's Denali platform. We didn't look much into it. Yeah. Sorry, I can't. Oh, yeah. 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. It's an Android-based system with a similar interface. Okay. Thank you.