Hey, guys. Welcome to So You Want to Hack a Car. Just so nobody sues me, you can break your car with the tools I'm going to show you. I can't help you fix your car, so, you know, please don't whine to me if you do something dumb. A little tip, though, on most cars, if you unplug the battery for 20 minutes and then plug it back in, it works again. Like, I wish I was kidding, but that is the truth. And now I see why they didn't want to do the, sorry, the HDMI cable isn't working amazingly well. About my car, I'm going to show you a video that I made. My name is Jerry Gamblin. I'm the principal security engineer at a startup out of Chicago called Kenna Security. My personal blog is at jerrygamblin.com. And you can follow me on Twitter, at jaygamblin. I'm always available to answer questions and talk to you guys about car hacking or cybersecurity in general. So they gave me 45 minutes, but I need, like, 25 minutes. So we're going to get through this, and then everybody is going to get some time back to go enjoy the rest of DEF CON. Why carhacking.tools? Because we're not going to do this, right? If you're here to learn how to, like, take over a car and hit the brakes, go in 90 or whatever, this isn't the talk for you. This is hacking in the late 90s, early 2000s version, right? Your car has a ton of data. You want to see that data. Your average car probably gives you four to eight gauges, while it has about 150 to 200 data points in PIDs that it's just spitting out all the time. And if you're like me, you're like, I want to know what all that data is. You know, I might not have an oil temperature gauge on my dash, but if my car is spitting that data out, why am I not collecting that and looking at it and overlaying it on a map? Or why am I not figuring out, like, what my coolant temperature is? Why am I not monitoring my gas? So that's what we're going to do, because I love data. I want to have all the extra data I can. I want to be able to do stuff like this, right? I want to be able to use Torq Pro and overlay my car's data on top of the dash cam, right? It's useful. Your car has the data, and it costs about $11 to get this information out of your car. So what is carhacking.tools? I go on and off on carhacking. I like to get the data out of my car. It's just, here's how it starts. Like, oh, I really want to figure out something on my car. So then I spend, like, four days recompiling all the tools on Linux to get them to work. And then by that time, I'm on to another project, because I have ADHD. And, you know, just getting the tools installed was enough. And it's, so I just decided to put together some shell scripts to take about the 20 most popular Linux open source tools and let you guys build them automatically. They have all of the dependencies that are needed. So you just either just download the OVA and run it in VirtualBox or run it in VMware, or you just run the shell scripts that's on my GitHub page, and it'll just install all the tools. And I'm going to try really hard to keep those up to date over the next year. Oh, I should have put this slide up. Here's all the tools that are installed. Like, you have your CANutils and your CANbush utilities and your CANbacked app and, you know, SocketCAM and UDSim. So you can pull this OVA down right now, and there's a simulator on there, and you can start playing with it today at night in your hotel room. And it's also really affordable. The best OVD2 it has is, you know, it's the best OVD2 in the world. And you can get them on Amazon the next day. I will put these slides up, but all of this information is on the website with links directly to Amazon to these so that you don't have to take photos of the screen. I mean, unless you want to, because I just see it all the time. I don't know what people do with those pictures after conferences. Like, and this is what it looks like. This is the, this is the full build. This is what it looks like. This is the, this is the full build out. Like, if you download the OVA, you have a car hacking desktop. So it's, it has all the tools. You run it, and you can start pooling data with Wireshark or with SocketCAM or with CANtact right into your, into your system. Let's just talk about some of the challenges. Car hacking is hard and dangerous. There's probably 150 people in here. If we have two people who have the same car, like the exact same model car and the exact same year car, it would be super rare. And when you're trying to figure out the data your car is giving you, you can't Google it, right? Like, I can't sit there and Google, like, please tell me what my Toyota Corolla means here, because I'm the only person in the world in my garage at 2 a.m. trying to get PIDs out of my Toyota Corolla. Right? Like, this is old school hacking. You're not going to, like, find a proof of concept on some Pastebin page that somebody dropped there. Because like it or not, you're the only person looking at the data coming out of your car in most cases. And you can lock up your car. I, getting ready for this talk, I was in a hurry. I, I had to take my car in the shop about three times. So, that's mostly because I'm terrible at Python. But, you know, it's, it's, it's, it's Python. It's a super small hobbyist community. I will guarantee that whoever wins the CTF out there does it professionally. I, I don't, there are very few hobbyist car hackers that can get a foothold and spend the time necessary to do it. You talk to those guys. I love them. They're like, oh, yeah, I just get an ECU, which is a $500 computer that runs your car. And I put it on my test bench at home. And I put it on my test bench at home. And I put it on my test bench at home. And, like, so they're, they're sitting in their office doing this. I'm out in my garage with no air conditioning trying to work on there, right? Like, so that's, that's the split. If you're doing this as a hobbyist, you're likely doing it on something that you have to drive every day. And you don't want to break it. While if you're doing it professionally, they send you the brains of the computer and you can sit in your desk and, and work on it. So, it's a totally different way to look at it. And, and that causes this problem. And, and, and, and, and, that's a really, really, really big problem. People start open source projects and then they just abandon them in the, in, in this field. And I'm not sure why. I'm trying to get people to be better at this. And I'm trying to help where I can. You know, you get, I love Charlie Miller, but, like, this tweet is true, right? Like, he's, like, I don't know why people write, write these tools. I wrote a tool. And, yeah, and, you know, 2016, that hasn't been a problem. So, you updated and nobody touches it. So it just sits there and rots. And you get stuff like this. The Python OBD2 tools, the guy who maintains that moved to San Francisco, doesn't have a car now, so isn't updating the pip. So if you want to do pip install Python OBD, you're downloading an install package with 45 open bugs that are known, right? So this community in general needs help. So if you want to get into it, be willing to give back, be willing to share that information because that's the only way it's going to go from one person in their garage trying to do this to a thing where people can really start getting the data out of their car that they need. In reality, virtual machines and Bluetooth plus serial really, really sucks. I'm not sure if anybody's tried to do that, but all of the Elm adapters have FTDI serial, most of them, and trying to get that to run through. Sorry. 90% of the room is leaving in the back. I don't know what's going on. No 45 or something. Yeah, it's really hard to bring all of those tools together into one spot. So I recommend that if you want to get into it, be willing to share that information. And if you can afford it, to pick up the cheapest laptop that will run Linux and to do it there. It will make Bluetooth so much easier. It will make all your serial adapters so, so much easier. The future of car hacking tools. I'm going to add more tools. I have a few pull requests in to build out some stuff. There's going to be better OVAs. I'm really working on that to make this more useful for an organization and group. And then we're going to go to Docker and a Pi image because those are the next two steps. And hopefully by this time next year we can have this built out for Windows and Mac. This is a really short thing. I wanted to have a conversation. There wasn't a lot of data here. I wanted to just release the tool and get people who are interested in doing this to actually have the tools, right. It was much more about doing the exercise of building the scripts to install the tools. It probably took me, you know, a month of time to do that. So that's basically all I have. The OVA tools are at carhacking.tools. If you go to that site you can get a link to the GitHub page and you can download the OVA. I'd like to thank Kina Security. The engineering manager is in the back. So if you're in college and you're looking for a job, we have a great program. We have flex time. They gave me more than enough time to work on this during the week. So I just thought it would be, if you're interested, I want to thank them because they're a great place to work. And to be honest, if you guys are in college or you just don't have $11, I have probably 10 or 15 OBD2 adapters that I'm not going to use that I want to give to people who will use them. So if you want the hardware to get started in this, please come and see me. I'm more than glad to give it to you. I just am going to start with people who either are unemployed or are in college first who want to jump in. And then anybody else is more than willing to have some of this hardware. I really do want everybody to take time possible to go and look at the tools and see if they can help improve this. And I'll answer all the pool requests we can. So thank you, guys. I'm sorry that we had, sorry it was so short. I'm more than, I don't know if you guys can hear me. I don't know if you can hear me. I'm happy to answer any questions anybody has. And I'm not sure what's going on in the back still. Thank you.