Okay, everybody. I'm going to go ahead and get started on this. Hi, my name is Mike Metzger. I'm going to give a talk about tire pressure monitoring systems and some of the details about how they're implemented and some of the unfortunate side effects about the implementation choices that the manufacturers made. So to get started, a little about the history of the TPMS systems. The first one that was implemented was actually for Porsche. This was implemented on the 959 in 1986. I got this from Wikipedia, and it goes into a lot more detail about what actually happens on how that system worked. As with most new technology, it's pretty convoluted, and they've made it much simpler since then. After that, you saw a bunch of various styles used in assorted luxury vehicles. So they do various systems that would try to get the TPMS working. And then finally, you saw a bunch of different systems that were implemented on all systems. And finally, the piece that brought us to where we are today is the TREAD Act. I'm sure everyone remembers the Ford Explorer problems that caused the flips and the other assorted tire problems. So what they did was as part of the TREAD Act required that TPMS be implemented on all systems from 2008 on. So basically, if you buy a new car, you've got TPMS built into it, at least if you're in the U.S. In the EU and other places, you're going to see more of that happening. There's a couple of different TPMS systems that were implemented on all systems. There's what's called direct TPMS. This is what's used in most vehicles. And you see two little variations of that. There's the one with the battery and what's called a batteryless. Then you also have indirect. This is something that uses the ABS from the computer and does various calculations instead of an actual sensor to determine what the pressure is. And this talk is going to talk about the battery-powered direct TPMS systems. So a little more about the direct TPMS. Typically you're going to see four sensors, maybe five, depending on if you have a spare in there. And this is going to be mounted on the wheel behind the valve stem. So you actually have the rim itself and then the TPMS is mounted, the sensor itself, and then the part that is your, where you put the air in, the actual valve stem is part of the TPMS sensor itself. The receiver is going to be built into the car and this is often co-linked with the remote keyless entry and some of the other wireless features that are in the vehicle itself. And then depending on the manufacturer, the car's ECU or PCM, basically the engine control unit or the powertrain control module, processes the info. And it behaves differently depending on the car itself and how it's programmed and there's various versions of individual flash per car vehicle. The main thing you'll see in most cars is the annoying TPMS. This is a visual of the dash from my RX-8 from 2005 and the yellow light in the middle with the slightly flat tire with the exclamation point in the middle, that's the symbol that is kind of the universal TPMS icon. So a little about the sensors themselves. These things are built for pretty rough environmental situations. You've got a high rate of speed, rotation, heat, cold, various air levels, things like that. So for the most part, it's a combination of an ASIC, meaning a microcontroller, ATML, free scale, microchip, pretty much everybody makes a TPMS-based system. You're going to see a pressure sensor and then some RF components. Again, this is typically part of the valve stem and sits in a recessed area of the rim inside the tire. And then the RF transmission itself is going to be in the 315 megahertz band for the U.S. or the 433 for the E.U. Now this isn't a hard rule. My wife has a 2009 Volvo that actually works in the 433. So sometimes it depends on the country of manufacture and sometimes it just depends on what they've decided to do at that point. So a little more about the sensors. These can be woken up by rotation. This is the most typical situation. Sometimes by a low frequency transmission, meaning you'll see 125 kilohertz signal. This is going to be either modulated or a continuous signal. And in some of the most sophisticated ones, you'll see it activated by magnets. The transmission system itself, it does vary based on the manufacturer, but it's typically once a minute. This is to prevent issues on the battery. This is a device that is meant to last between 7 and 10 years before it needs to be replaced. So they are very low power and they don't do a whole lot. The side effect to that once a minute is if you do have a pressure problem, meaning you have really high pressure, really low pressure, or it's changed significantly within a certain time period, then you're going to see that light come on or something happen where the sensor is sending out the signals more often. Meaning maybe every five seconds, every 20 rotations, something. It just depends on how the sensor itself behaves. And the transmission system is going to be a little bit different. It's going to be a little bit different. So the functions can overlap requiring retransmits. So an example sensor internal, this is from my RX8 again. Siemens video created the actual device. And this uses an Atmel AT092. I never heard of this thing before, but it's apparently a 4-bit microprocessor. And looking at the data sheet, it's one of the most ugly processors I've ever seen to be able to program. Attached to that is a MEMS-style pressure sensor. MEMS is the micro-electronic, you know, mechanical switch. So this is a surface mount component that is actually a little mechanical pressure sensor itself. And then some simple RF transmission components. Finally, you have a pretty good sized battery. It's a CR2302. Most people, like in our badges, are the 2032s. So these hold charge a little bit longer and are, again, designed to last seven years or so. But the sensor does not actually use that much power when it comes on. Finally, this is a sort of pass of components depending on what's needed. So when I was researching this, I obviously didn't want to break my car because there's a lot of problems with getting it fixed and they charge somewhere on the order of $200 to $400 per sensor if you go to the dealer to get them replaced. So I found one on eBay, picked this up and decided to start looking around at it. So you see the before picture where there's the one side of it and then on the reverse side, we see the pink goop. This is basically silicone rubber. This stuff does not come off for anything. So you can, I tried acetone. I tried various other assorted methods to remove it. And finally what did the best job was getting out a pair of pliers and starting to pull the stuff off. So this was before I started. Then during the process, I had to get around some of the plastic components and get around to the back of it. So the big plastic blobs you see are the plastic blobs that are coming out of the back of the chip. What happens when you take a Dremel at about 25,000 RPM and run across the plastic to the point that it melts and it's spraying plastic across you the whole time. And then you can kind of see it off to the right, but I did end up hitting the battery and causing a lot of sparks and other assorted battery acid to go flying everywhere. But finally I did get it apart and you end up with the circuit board for the pressure sensor and pretty much everything pulled off of the chips themselves. So we have the actual, you know, the actual ATO92 and then some of the other components that are required for the actual transmission along with just a few other components that are in there. So after I did all this, I was looking at it and thinking, okay, I really don't want to go through this again. This was not fun. And it didn't really help because I did end up scratching some of the components just by physically removing the silicon rubber. I have one that I'll be happy to show later, but the actual sensor itself is probably about that large. So after I did this, I made a small discovery, and that's that the FCC does have a database of pretty much every device that's out there. And I knew that this was there, but I didn't quite realize what they included with it. So if you look on the sensor, you see the grantee and the product code. When you enter that in, you get the FCC testing documents. And what you'll end up with is a nice pretty sensor that doesn't have any of the environmental components that are needed. And you get to see the pure circuit board and how everything's put together. The one nice thing about actually pulling everything apart, though, is that they did block the type of microcontroller that was used. So if I hadn't taken that apart, I wouldn't have known that it was the ATO92, because in this image, they have that covered with that TXXX. So I just wanted to show you that this is actually a So in addition to just the pictures, you get things like spectrum analyzer output, a general description of the operation, often even a build of materials along with costs, and all sorts of other things. So it's quite a bit of information that you can reverse engineer and say, okay, look at the spectrum analyzer output, let's see what type of transmission is this actually putting forward, and then use that to later on create your own transmissions or read the information that's coming from it. So the next question is, how do you find all the FCC IDs? Easiest way I found was eBay. Typing in the model of car that you're interested in and TPMS will usually return the picture of the TPMS so you can buy copies. And by the way, if you do need TPMS sensors, this is usually the cheapest way to do it. Getting one of these and then finding the method to make your ECU know what it needs to do is much cheaper than going to the dealer and paying for it. It's much cheaper than going to the dealer and paying $400 to $1,000 to get them replaced. But going back to the eBay piece, the nice thing about this is that usually the pictures will include the FCC ID on the device. So if you're interested in knowing what is, say, a Nissan 350Z use, I can just type in TPMS 350Z and then get back some images about what it is, look up in the FCC database, and have a pretty good idea about how the TPMS will work. So a little bit about the receiver itself. It's a little bit more about the receiver itself. These things are typically going to be in the trunk or behind the glove box. And depending on the way the vehicle is set up, you may have multiple receiver elements. Sometimes the batteries on these are so weak that they will actually put an antenna inside the wheel well for all four wheels. And most receivers will typically remember between four to ten sensors. Almost all of them will do four or five. There's a few models that will handle up to ten in case you have summer or winter wheels so that it doesn't require you to go to the dealer every time you swap out your wheels and tires. Most, unfortunately, do require special tools and operations to go into what's called a learning mode. This basically tells it, okay, this is your TPMS sensor and this is the ones you need to monitor from now on and possibly forget the other ones. What will happen is if you do remove a TPMS sensor from any given wheel and your ECU is expecting it, you'll get things from the TPMS light going on. You'll get a lot of beeps or you get things like, in some circumstances, the check engine light will actually come on. So a little more about the way the sensor itself communicates. This is done over RF and this varies considerably based on the sensor. So, again, using my example TPMS sensor from the RX8, this is a Siemens VDO-FE01-37140. I'm sure that means so much to everybody. But this uses a combination of A and B sensors. So, this is a different type of sensor. This is an ASK and FSK transmission. And basically what that means is the ASK is amplitude shift keying. It more or less turns it on and off. And then for the FSK, it's frequency shift keying. It means it changes the frequency for specifying the type of bits or the way the bits are transferred. So, for this particular sensor, it does 12 pulses of ASK wake up. And then three pulses of the FSK transmission that contains the actual sensor data. And then the sensor data is going to be the pressure that's actually being read. In some circumstances, a time stamp or just some sort of marker that it's counting on. And then an ID. And I'll go into that a little more in a second. But what will happen is this repeats, you know, once per minute over 20 miles or every five seconds with a pressure problem. So, as I mentioned, every transmission consists of the pressure level, the battery level, and the sensor ID. So, this is a little bit more complicated. This exists to identify which wheel is actually causing the problem. Now, the biggest problem with the IDs that I found is that these things are way too precise. We're talking between 32 and 108 bits of ID information per sensor. So, at the low end, we're looking at 4.2 billion separate sensor IDs that are out there, possibly quite a bit more. And this is encoded information. Again, this is encoded with the type of transmission, meaning the ASK, the FSK, and the other frequency methods. But if you combine this with four to five sensors per car, it's very easy to identify a car by the tires alone. So, this is something that with a strong enough antenna and the ability to read what the information is, you can then start tracking vehicles, do all sorts of other assorted purposes. Now, dealer and tire repair shops have universal tools that have been created. So, if you have a car that's been created, these things cost between $150 to about $3,000, depending on how complex they are. Most will usually generate the 125 kilohertz signals. This often contains a special tool, a.k.a. a magnet. GM and Cadillac sell a tool that's a magnet for about 125 to 150 bucks to activate the TPMS. Or you can go to Radio Shack and pick up the little round six pack magnets for about $3 and stick it on the valve stem and you've activated it the same way. Upscale models are going to decode the transmission based on the make, model, year, and so forth. Others are simply going to indicate the reception of a signal. So, you'll see like a red or green light saying, yes, I've got the TPMS signal, or no, I don't. So, when I was looking at this, I realized that I wanted to create some of my own tools that did this. I didn't want to pay for the 150 to 3,000 dollars to be able to do this information, especially considering how simple most of this is. There's some practical and some nefarious purposes for it. I wanted to make this based on commodity parts. So, the first part is a do-it-yourself receiver. This is mostly complete and will probably be implemented as an Arduino shield. It contains some RF receiver elements. This chip varies based on what the ease of programming is. There's a maximum 1471 that does pretty much everything I need it to do. There's a C110 from chip con. And then there's microchip options. As I mentioned, it's from Arduino. Add an LCD display if needed. Obviously stick a magnet on there, 125 kilohertz transmitter. And then make the appropriate code open source and then a database for the transmission method. So, I've got the database started. This is from the assorted FCC IDs and the ways that these communicate. I'll have that up shortly after the talk. Using the receiver, you can store multiple IDs. These are going to be great for car PCs with, for vehicles with limited TPMS. Like my RX8, one thing I hate about it is that light will go off, but it won't tell me which tire is actually low. Or by how much. This was also an easy way to verify that the TPMS sensors are there, that they're working. And you can also just walk around parking lots and get the IDs of interesting vehicles that you want to track or see what's happening. Transmitter. This is more so in development just because of some finickiness about how everything works. But it's not really a sensor, it's more of a spoofer. Again, this is going to be transmitter elements. This is likely a Maxim 732. It's a transceiver that will do both receiving and transmitting so we can combine everything into one device. It's Arduino again for simplicity, but it could be something like a microchip RF pick. Also, again, this is going to be open and the database is going to be the same because to receive it, it's going to be the same as to send it. Using the transmitter, certain wheels can't accept TPM sensors. So if you do aftermarket swap outs, you want to do the transmitter to get the expected IDs to the ECU so that you don't get the annoying lights or beeps or anything else. You can get the IDs, send it to the spoof messages, send spoof messages using your ECU or other ECUs. Low pressure, high pressure, no pressure. And then one option I thought of was to set up near a stop light a good sensor with an antenna, grab the IDs of a bunch of systems that are around there, retransmit with false TPMS info, and then go talk to a bunch of car dealers and say, you know, hey, I want a cut of all the work that you do on this. Some more ideas, you know, set up a network of receivers tied to the loggers, you know, track pretty much any given vehicle that you want to. And the more frightening idea is if you start fuzzing the TPM formats, you're going to be in trouble. Obviously I did not do this to my own car again because I do need to drive it, but as I'm sure everyone knows, there's more and more computer control of everything that's happening in a car. Your ABS, as seen with the Toyota, the acceleration problems, fuel injection, pretty much anything related to the internal behaviors and so forth. If you can start using, fuzzing the TPM and get a good overflow, into one of the systems that's based there, more of these are being based on ARM now, and you might be able to take over the car from remote. A couple things about countermeasures real quick. On privacy, they mainly need to drop the ID length to about 16 bits or less. These are there so that your cars, the IDs are there so your cars don't get confused when they're next to each other and pick up another transmission, but you don't need 32 to 108 bits worth of information to identify, to generally verify that your TPM sensors are okay. Or the other option is just encrypt the sensor communication. There's absolutely no encryption right now. They could do something as simple as, you know, triple DES or even AES in most of these microcontrollers and not require a whole lot of work. And then what I'd say is from a general need, the vehicle vendors need to make sure that the TPMs processing modules can handle the bad data. Otherwise we're going to see a whole lot of problems with cars from remote on the computers being taken over. For the future of this project, I need to drastically build out the database for the TPM communication formats. And this is going a long further than when the slide was created, but ideally create the single device capable of acting in the send and receive configuration for multiple devices. This gets a little tricky based on the different types of transmission formats and the type of antennas you need, but it should be doable. Finally, just some thanks to some people that helped me out with this project and inspired me on a couple of different methods to verify that this was working. And that'd be it. So thanks, everyone.