Good afternoon. I think it's time for me to get started. My talk, actually I'm going to, me and my colleague are going to give two talks on the automotive security. One is on the CAN bus, CAN bus anomaly detection, and another one is on the immobilizer security, which we are including a demo. And then we will open, we will try to hack the immobilizer on site. So let me introduce my team first. My team is from the largest security company of China called QiHu360. We have like over 7,000 employees. So it's a huge company. And we are also, our team specialized in the wireless security, including the GPS, V2X security, and anything that uses video, we are all interested in. So we have made some wireless hacking gadgets you can use. If you are interested, you could drop by at our vendor, vendor area to see that what we have brought here. So let's get started. The outline of my talk would be like a quick recap of the status quo of connected vehicle security research. I will like 20 pages of PowerPoint to explain the current status quo. And then I will talk a little about, talk a little bit about automobile working principle because I had like my automotive background. So I want to share with you how I'm working on typical automobile work. And finally, I will get to the course, the meat of this talk, CAN bus anomaly detection, which I will explain later. Okay. So this is a timeline of the car hacking development, car security development. It all started from like performance tuning. The hackers or the car, the hackers, the hackers, the hackers, the hackers, the hackers or the car, the car. They try to modify the firmware in order to like increase the performance of their cars. Maybe, for example, if the car manufacturers have like a speed limit programmed inside the controller of the automobile, they might change that. And then immobilizer hacking which is with the purpose of like they want to steal the car. And then it started remotely hacking the car physically so you can remotely control the car. That's kind of like a qualitative change because car hacking had started to threat the driver's life. So these are the famous car hacking incidents, examples that have happened during the last few years. For example, the Tesla hack which is done by my colleagues. And the BMW, the Jeep hack last year released by Chris Valasek and Charlie Miller. So that's why we should pay more attention to the automotive industry. And automobile security. So this is a talk that Charlie Miller just gave just a few days ago. He talked about how to inject cam packets to control the physical features of a modern automotive. My talk is targeting this kind of attack. I'm trying to detect anomalies by building a mathematic model that can detect this kind of attack like the parameters proofing and the packet injection. So this is how the Jeep hack, how they can remote control of the vehicle. You can see it affects a lot of cars because it's internet wide. Okay. Especially the ongoing development of the autonomous vehicles. They are facing various threats. For example, the sensor security that my colleague is going to talk about tomorrow. The LiDAR ultrasonic sensor and the cameras that are all susceptible to the hackers. So this is last year's research by those researchers that have done some experience on the autonomous vehicle sensors. So and the GPS proofing also done by my teammate that we can hijack the location capability. So a little bit about the automotive working principle. How does a typical car work? Okay. This I will explain only the aspects that's only related to my research. A typical car has a power transmission, an engine and the steering system, braking. So. The engine output its power via the transmission. And the transmission controls the gear ratio so the car can vary its speed. Okay. So what exactly, why we only talk about the car hacking recently. Because the car has changed a lot. Because it changed from the, for example, this is a drive by wire systems. The car has changed from like using the physical connection between the acceleration pedal to the throttle body. It was a mechanic connection. But nowadays they have introduced like drive by wire system. Which they use several. They use several motors to control the servos to control the throttle body. And they use the computer to control that. And the throttle acceleration pedal now is just a sensor. So. And the ECU, the ECM, the electronic throttle control module is connected via CAN bus. And on the CAN bus there is typically another module called an infotainment system. The infotainment system is connected to the internet. So that's what's introduced the danger, the hackable. So you can see the drive by wire systems. The acceleration pedal is, the signal is gathered by the electronic throttle control module. And the throttle control module outputs the signal to control a servo that controls the throttle. So. And the engine control unit is connected to the throttle control module. So it's dangerous if a hacker can control the CAN bus that is used to network those ECUs. And the steering by wire system is also connected. So the same. Used to be a mechanical connection. So you cannot hack the steering. But nowadays you can see that there is a clutch. And they are also controlled by ECUs. So it's very dangerous. So automotive control system architecture. Usually a typical automotive takes input, takes as its input the environment. Environmental variables. Driving conditions. Vehicle variables. User variables. User variable is, for example, the driver's input. The gear. The acceleration pedal. So that's the user input. And the environmental variables are like the sensor input. And the location, etc. And it would gather. Based on this input. The vehicle controls the engine and transmissions to change those inputs. It's like a closed loop control system. So this is a typical vehicle communication system. That it consists of multiple protocols. Like lean and drive. Drive CAN. There is multiple CAN bus. Diaglostic CAN. And there is an infotainment system. Which often uses the most protocol. So actually in my work I have to, like, acquire the CAN traffic. So I got my CAN traffic from the engine CAN. The drive CAN. So let me take the speed as an example. To see how the system is susceptible to hacking. The speed is produced by the electronics. For example, the electronics divinity program. They will use speed as its input. But if... So... And the engine management also needs speed to control the throttle. So many ECUs on the CAN bus are using the speed as its input. And the transmission needs to use the speed to make decisions on how to change the gears. And the adaptive cruise control, of course, it also needs the speed. Because you have to keep... Maintain the speed. And then the inertia and navigation system. They have to use speed as well to calculate the location. Okay. This is CAN bus signaling. CAN bus usually have two wires. It's CAN high, CAN low. And it's differential signals. It's using differential signals. So this is not closely related to my research. I just skipped those. But you can see that the CAN signal looks like this. It's a differential signal. So it's not susceptible to the common mode interference. So this is a typical CAN frame structure. CAN packets usually only have a CAN ID. It doesn't have a source or destination address. So you cannot block the packets or filter the packets based on like the typical computer firewall does. So you can only make your decision based on the contents that it carries. So this is a CAN bus access arbitration process. A CAN bus... All the nodes on the CAN bus can send packets with any ID value. So how... They are all connected to the CAN bus like this. So if two nodes on the network... Try to send a packet at the same time. So which can... Which node gets to transmit the data, to send the data? It's determined by the arbitration process here. So a packet with a CAN ID value is... Is lesser than the value of... To... Is lesser than the value of... Another CAN packet gets to send... So you can see that the lower the CAN ID value, the higher the privilege of that packet. So the difficulties of CAN bus defense. As you can see from the network architecture here, if you detect malicious... For example, you detect that node A is sending... Is transmitting malicious packets. How can you... How could you block that? How could you defend that kind of attack? You cut off the communication of the node A. For example, if the node A controls the engine, if you block the communication of that module, the car will malfunction. So it's hard to simply block the communication. And another problem is that the CAN... It's very hard to trace back to the senders. So as I just mentioned, the CAN bus only have a CAN ID. So if you detect the malicious packet, you cannot even decide which ECU transmitted that packet. So that's a problem too. And the third problem is that... High cost of false positive. I just mentioned that if you just simply block communication between certain ECU and other ECU, so you will cause... More than likely to cause problem. And all the packets on the CAN bus, they are... Very often they are... They are real-time parameters. For example, the current speed, the current RPM. So those parameters required... It has time constraints. So you cannot like... So block the... Like do the... Do a filter, for example. You... You... The decision... You click this... You receive a packet. You do some calculation on it to see if it is malicious. And then you send that packet onto the network. That will introduce delay. And it's not... It's not... Very good. So CAN bus attack usually includes this. Two kind... Two kind of attack. Packet injection. For example, you... An attacker... An attacker can... Can observe on the... The traffic on the CAN bus to see what packets contains what features of the car. So... And then he... Replace that packet or inject... Modify the packet to do some injection. So this kind of attack is very... You... Often... And... Parameters proofing, for example. In the JPEG, the channel meter... The... The... Conducted. That... In order to control the... Like the... Steering... Steering at high speed, you... You have to, like, spoof the speed to make this car think that it is traveling at low speed. Because the car won't allow you to control the steering when the car is traveling at above... Above five... Five miles per hour. So it... You have to spoof the parameters. So... So... That's... Okay. So... Related research of car security. The SAE has also in... Published the... The... Cyber Security Guidebook for... For car security. And... And the... National Highway and Transmission... The... Transportation... Transportation... Transportation Department. They also... Published the... The... The white paper that is stating that it is the... The need for intrusion detection solutions. So, that's what my research is about. Now, let's get into the meat of this talk. This talk is talking about, like, to detect the parameter injection and the spoofing attack. So... I have... Have... Mentioned that the... Can... The... Network architecture is like... They are... Have two wires. One is kind of high and one... Another one is high... High low. And these two wires is connected like this. So, how can you defend... Defend... Defend... Defend against the... The attacks? The first... But... Not... Practical... Method is to introduce a... A gateway between every ECU and the CAN bus. But this requires... A... Very... Many... Changes to the... Very... Require changes to the basic CAN network architecture. And it's... So, it's hard to implement. So, I... I propose this architecture to defend... To defend against CAN hacking. So, this is the original CAN bus. Not modified. You just... You just add an IDS intrusion detection system to it. And then you use the... On the CAN bus to detect the attacks. And then you use the... When you... When an attack is detected, you... You... You control the wireless gateway that... For example, the infotainment module that has internet... Which has an internet connection. When you detect an attack, you can... You... Like... Control the wireless... Control the... The cellular connection or other kind of connection like Wi-Fi or Bluetooth. You just... You... You just control those connections to prevent the hacker from... Further again... Getting control of your system. So, you... You can block the... And fire off an alarm. So, how to detect the... The... This kind of a... Those attack... Those attacks I... I... I have mentioned. So, the... The... The CAN manufacturers come up with like... The... Introphy-based anomaly detection which... In which you use the... The... The... All the... The... The entropy on the network to detect the attack. For... They... They assume that... If... CAN network is... Is... Is... Or experience some kind of attack. The entropy of that... Of those traffic will... Will change. But... And... You can see the... The result. The... Like... They injected four... Four packets and it... They... They... Detected three of them. All three of those. So... What's the... So... Why those measures is not very good... Are not very good? Because... And because they are not... Considering temporal features. For example, the speed is like a contaminate color variable. So... If... If those... Like the... Introphy-based anomaly detection, they cannot detect... The... They are not considering the... The... kind of features. For example, speed at time t is like 60 kilometers per hour. And at t plus 1, the speed suddenly changes to like 100 kilometers per hour. So that's, that kind of anomaly they might not be able to detect. And so my method kind of take into consideration is the relationship between one certain parameters to the other parameters. For example, the speed is related to the engine, the rotational speed, and is related to the current gear that the transmission is in. And is related to other, like the acceleration pedal, like the engine intake, the air, the air mass flow. So, So all those parameters are related. My method is to exploit the relationship to detect the attacks. For example, if the real speed, current speed is like 10 kilometers per hour, and the attacker tried to spoof the speed, to show he want to fall in the other issue into thinking that the speed is like 60 miles, 60 kilometers per hour, the relationship between the RPM and other parameters will change. So, for example, I have explained that the relationship can be used to detect this kind of attack, but how to implement it? For example, like this equation, just a linear equation of RPM multiplied by gear and multiplied by, and another constant is the speed. Is it that simple? But it's not that simple, right? So, this is like a typical transmission, and it has many clutches. So when you have clutch, you introduce non-linearity. So the equation I've just shown is not, and... because there's no structure, so you cannot use a simple mathematical model to describe the relationship between these two parameters. So... So this is, you can tell from this, this is graph that I grabbed directly from the internet, and you can see the speed and the, the speed and the gear ratio. They're not even like that linear... linear. The relation between, between them is not linear. And you can tell that the speed is also, it's a continuous variable. So these features are, you need to, we take consideration, into consideration those, those features to detect the attack. So this is real data that I, I received from the, my experiment, the car, my car, my experiment car. And you can see there are, these are the parameters relationship. You can see the purple one is the acceleration pedal, the gas pedal. So you can see that when the gas pedal goes off, the general trend of other parameters also goes off, but you cannot use it as simple function or to, like, disappear. You can't describe this relationship. So how to do, do this? And, and now I know that all the parameters are related. I can use the other parameters, the current value to, to see if the, another parameter is anomalous, anomalous or not. But how to implement that? So let, let's assume that we already had, had a, like, a mathematic model to describe the relationship of those parameters. So how could we do it in some features. So let's assume a mathematical standard, like, let's assume it's only a linear measurement. So how are, you know, a, a, like, the parameters, these parameters. I mean, let's put them as inputs here. And that's good.ic, that's good. Take And, and you could do real data here like this. The, for example, speed, gear RPM, acceleration and investor. And linear the. . . And use this, these parameters as input to the mathematic model you have just built and, and, and use, for example, you know the current gear, current RPM and everything and you can see where, and I now, so... , and this, there was an interesting . . . an acceleration pedal position. You use those parameters to as input of the system model, the mathematic model we just built, and you make a calculation. You can say it's prediction of another parameter, for example, the speed. So, and the speed you received on the network, if it's deviate very much, too much from the speed you just calculated based on the other parameters, you can say that's an anomaly, that's an attack. So, the basic idea is like this. To increase the accuracy, to increase the, to reduce the error, force positive, you could use, like, for example, the cross, cross-validation you use. For example, the attacker is currently spoofing the speed. You use other parameters to calculate the, the, the speed. So, you can calculate the speed, and you, this is one, one, one result you can get. And, and you use that speed, whether it is, be the real speed or the spoofed speed. You use that speed and other parameters to calculate the current gear. So, it goes on, and then you use, you calculate RPM based on the other, the rest of the parameters, and then use that to do, like, a polling. So, Finally, you get a high accurate, very accurate anomaly detection model. And now let's get in to talk about, let me introduce how to build this system model. The method I employed is like deep learning. Deep learning is just, although there are so many, so much, many all hype about deep learning, but deep learning is basically just a method to build a mathematical model. So that's how the machine learning or deep learning work. So we now want to build a mathematical model, but so we, deep learning is using like a neural network. A neural network, you could just say that it's, it's just a universal function approximator. You could say that it's just a template of the mathematical model. So you have to use the live data stream from the car to train the model. The training process is like you, you give the, this, this model some example and you, the machine learning technique is used to automatically figure out the relationship of the, the parameters. So I don't know. If anybody can have questions here. I haven't deployed this, but you could do that. For example, when you deploy this system on a, on a real car, you, you can, but you know the car wear out. All the parts, the relationship between those, relationship between those parts will change. So the relationship between the parameters will change. For example, in a new, a new car, you press the actually paddle, paddle slightly, the car will travel very, very fast. For an older car, it's not the case, right? So it's, so you could use, so continuous, continuously operating the model is the best way, right? So, so you could deploy the system like this. After the training, this, this network is just a bunch of weights and the network configuration. So this parameters, you can, like, for example, you, you could use a server so all the cars can grab the trend, trend, already trend model and deploy on the car to detect, detect anomalies. Another case is that if the car has, has wear out, the relationship, relationship has changed, you may, you retrain those model using the specific, specific parameters, the specific parameters of that specific car. So does that make sense? Okay, thank you. Let me go on. So, you can see this is just like a template of the mathematical model. All the, let me, here. So this is a specific neural network. You can see that there is a input X, X1 to Xn. Those input as a, as a parameters I just mentioned. You use these parameters and I'll, I'll introduce the, the input out of, and the input vector and the output vector of my system first. I'm wondering how, how many of you had the knowledge about the deep learning or machine learning? Okay. Okay, great. So, you, you use the normal data of the car to train the model. So, after train, after train the model can, let me introduce the training process. This is a neural, you, you give it some training data set, some example to make the neural network to figure out the relationship between the input and the output. For example, I, I don't, I don't know the current of, the previously mentioned the, the, the function is just a simple mathematical model. For example, the C, the constant is not initialized. You don't know what the constant is. So, you, you give the, some, some example. For example, there is, you can imagine that there, there is a curve on the X, Y plane. The curve, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, the, I just make an example to explain what the machine learning training process is like. It's just like you give it a, there is a curve, you give a bunch of points on the curve, and you, based on the points, you figure out what's the mathematical model that describes that curve. So that's the training process. It's like, it, it's, it's not exactly described in, description of that curve, because you have errors. But it's approximately, yeah, approximation of that, the curve's mathematical model. So this is very important. Has anybody understand this? How do you create the Roman or Stokely data? No, you train the, you train the model using the, the, the normal data. Okay, only the correct data. What does that mean? So then in the end, you could get a neural network that will accept all data. Yeah, will accept the anomalous, anomalous traffic as well. So let me go on. So if you have any question, you can ask me later. So you can see that this is a training process. You can see, you, you use the examples to train the model. It's, it's like, for every first thing, you use the first example, you output, the output is zero. You can see that there's a threshold if it's larger than 0.5, you give it one. If it's lesser than 0.5, you give it zero. So at first, the first example, you had this three input, you got zero output. But there's, there is 0.8, so you, you actually get the output is one. So you have to modify the weights. The, the, the, the hammer is, like, modifying the, the weights of the network. And then you get, like, the, using another exam, the example, your training data, you can get this, this result here is right. So I'll just skip a little bit of this, and if you have a question. This is an experience car that I used. It's a, has many cyber-physical features. You can, it's a hybrid vehicle. You use, both use battery and gas-powered gasoline. And it's, uh, use, it has electronic brake, uh, steering, and, uh, electronic throttle. So you can, and they have rich internet, uh, based features. For example, you can use, uh, cellular connection. You can use their cloud service. You can use, uh, a mobile phone to remotely open the car for your friends. Uh, you can use, uh, Bluetooth cable, which you, you can use, uh, uh, phone as the car's key fob. And this network, uh, it's, it's, uh, actually, it's like this. So I mentioned, uh, previously that I acquired, acquired the data from the engine campus. So you, the, the, the, the, this is exactly the same thing. Why I'm, uh, I would like acquire the data from the engine campus because the engine campus has all the parameters I just mentioned. Those related parameters I just mentioned. So I, I acquired the data from there. Because there is a gateway, so, uh, the, the, the, uh, not all the parameters are transmitted on all the CAN bus. Otherwise, there won't be, um, a need for the gateway. Uh, so, uh, the CAN bus, uh, the CAN data, the CAN packets, uh, what CAN, CAN packets with what ID, uh, is, uh, carrying what kind of parameters is kept highly confidential by the manufacturers. You have to do some reverse engineer to understand what, uh, what's in the payload of those packets. So, this is, like, the result of my reverse engineering, uh, work. And you can see there, there are many parameters. For example, if you turn, uh, a single light, there will be a packet on the CAN bus. And, uh, these parameters, uh, after you reverse engineer, you get a CAN database. That's highly confidential. Okay, this is an example. I just- to show you how to, uh, how those, uh, reverse engineered, uh, signals look like. You can see that, uh, the CAN payload is actually eight, typically eight bytes. So, what, uh, the signals, like, the right turn signal, uh, is, uh, only, like, uh, one byte. So, that one, one bit, one bit, that one bit indicate you've, if you are, there's a right turn or left turn. So, that's the signal. And, uh, so the whole process of building the mathematical model is like this. You acquire the data from the CAN bus and then you do some process, preprocess, uh, on the data and then you analyze the data, the reverse engineer, and then you select the features that, uh, related to each other. And, uh, you train in the model and then finally you test it. So, this is the procedure. So, this is data acquisition from the engine can. I use the computer and the interface device to acquire the data. This is reverse engineered. So I mask this to avoid the problem that the manufacturers might, you know, enforce me. This is a raw traffic that the CamPackage capture tool, it's called the Busmaster, it's open source. You could try this at home. And so the data are at different scales. For example, the RPM might range from zero to like 1,000, the RPM. You have to do the conversion to get the real RPM. And the speed also like this. So you have to, before you use the data to train the model, you have to normalize the data. The traffic will run to make the engine running to one. So that's normalization and the interpolation. I use this simple equation to convert, to normalize that input. And interpolation. Because I just mentioned that the CamPackage have different privileges. For example, you can. . . . they. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . package with lower KID value has highest privilege, so it gets to send more often. Yes, it's often that's, those parameters are important. They are transmitting at high, higher frequency and those, and other parameters may have lower privilege so that you can see that, you can see that many packets may transmit like twice, once per second, but other parameters might appear only like once per second. so you have to interpolate to derive the value of that parameters, as those, when the parameters are not transmitting down the network, so you have to interpolate. Sub-sampling, after interpolation, parameters are not, you, will change very very slowly. You can see this. Beijing, North Korea. parameters uh that that uh that at the most left side uh column is uh is uh uh time in in microseconds. So you can see that the parameters uh the this parameters the intake pressure uh is not changing that very fast so you you could do some sub sampling to now to make the uh training set training data set smaller. Okay uh the offering sub sampling is like this is change you can see the changes of the okay uh this is very important very important in how do you uh uh get the input vector and output of of vector of those parameters. Uh you you can see that uh you because uh most of the machine learning techniques they are supervised learning and now I only have the uh normal data of the car. I don't have the attack traffic on the car. How do I try this model? So I I use this I use the because I mentioned this this this parameters are all uh continuously variables so I use the uh value of those uh those variables those parameters uh the the value of those uh that from like time uh use the previous values to predict the uh the uh the uh the uh the value of the uh the us uh how to efficient of that. I use the like uh time with the value of those parameters from like time minus uh 10 to time t minus 1. So I used those uh their values uh between that time to predict uh the values at time t. Does it make sense? So okay. I used so you can see that I use the values uh of goes uh, uh, Korean used like seven parameters, seven parameters, the intake pressure, the RPM, the speed. Those parameters, I used the values of those parameters from time to minus like 10 to time minus one. And to use those values to predict the value at time t. Okay. This is how I, how the input vector and output vector of the neural network is formed. This, I don't know if everybody can see this code. Actually, this code is used, is, I used the open source deep learning software called Keras. This software is very simple to use. You just preprocess this data. It's in Python. It preproces the data. You just preproces the data. It's in Python. You preproces the data. It's in Python. You preproces the data. It's in Python. You preproces the data. It's in Python. You preproces the data. It's in Python. You preproces the data. It's in Python. You preproces the data. And you, you, you split the input vector and output vector and use those data to train the model. After train, let me show you the result. So, this is the speed. The, one, one of the curve is, curve is the prediction, the result calculate from the mathematical model. Why is your output vector? Okay. Okay. Output vector, I think I had, I talked about that here. You have this, you can, you can see that the only data I have here is this kind of data. Those curves. Those curves. The only data I have. And these curves are normal data. I don't have the, I don't have the attack traffic. For example, you, you, you slip the traffic when the attack, attack is happening. I don't have that. I only have data. I only have normal data, yeah. So basically you, you input 5 speed and output is 1 speed. Yeah, yeah, yeah. So you are training your network to make input equals to output. Yeah. Okay. And the not only, I think it is not that simple. You because you, you take input as multiple, the values of multiple parameters. So, you're not based on a decision. You're not predicting the, the speed. speed, only using the speed, the past speed. So you are also using the past values of those RPM, intake pressure, or, or, can you understand that? Ok, great. So, for example, you, you, you, you, ok. You use the, the curve, this, this section of the curve to predict a single, single point at this place. So, ok. Ok, this is the result. You can see that it looks pretty, pretty good. Ok, the speed, you use, you use all the parameters for, to predict the speed, it's pretty, pretty good. And I used a measure to, to measure the, the, the, use the, the mean square error as a measurement to, of the deviation between the predicted speed and the real speed I received on the network. Because, because, actually I have plotted the, the mean square error on this graph as well because it's not on the same scale. So you cannot see it. So I plot it here so you can see this, this is a point zero, zero, zero. the scale. Okay. It's much smaller. So, let me try to, try this on, like, an attack. This attack is like the RPM is, the attacker is replaying the RPM. It's like spoofing the RPM with the original, the right RPM also transmitting on the network. So, you can see that the RPM, when you plot it, is oscillating because they are sending at the same, like, the same frequency. So, you can see the curve is oscillating on the top right, left corner. And this is abnormal RPM. If you zoom in, those black and black sections, those are oscillating curves. And you can see, below is attack and above is a mean square error. You can see when there is attack happening, you can see the prediction, the prediction is deviate very much from the actual value you, you acquired from the network. Okay. I think this is, I think this is pretty good. So, this, this is all I got. It have any, does anyone have problem? Okay. . How do you set up the threshold because it's for me an optimization problem at some point. What? The thresholds, the value of the thresholds. Oh, the threshold, yeah. The lower the threshold, the force, more force positive you will get. Yes. Okay. How do you do it? Okay, you have to do it like, next stage is you use the real attack. Okay. attack and you may create some attack traffic and test that and then based on those test results you get the threshold. Or maybe you can make this threshold adjustable. That's based on like yeah, that's based on your. Anyone has a problem? Question? Okay. Okay. Sorry, sorry, my English is very not accurate. You're looking at, let's say, five different parameters to decide if one parameter is normal, right? What's there to stop a pattern just from all five parameters? Oh, that's what would be a big, big problem for him. Yeah. If you try to speak, I used actually, I, this is like a prototype. It's a preliminary research. I used like seven parameters. But if you are, an attacker tries to send all these kind of parameters, I think it's very hard because you only can control of one ECU on the network. You should, one ECU on the network usually. So you, they can, CAN bus, the speed of the CAN bus is, not only the speed is limited, but also you, if you spoof all this, you have to first make this kind of model in order to spoof all the parameters, right? Because, for example, you, if you want to spoof all the parameters, you have to build a model that describes this relationship between those parameters in order to decide what value to send, right? Uh, first, just like you presented, you know, S5. Yeah. It shows the ability to manage the middle. Instead of attacking an ECU unit, you can attack the network. Yeah. So the network should not be trusted. Yeah. So, So, Either way, you don't stay on some kind of data. Yeah. Yeah. Even, even, even if you do attack like this, that, you spoof all the parameters, I think this, this model can still detect the attack. Because when you spoof the traffic, you have, if you're not, you don't have this kind of model, this model, this, this model, because I used the data from a specific car to train the model, even if you spoof all the parameters, I think I would still be able to detect that attack. Do you remember the polling? You cannot, for, for example, an attacker usually don't have the capability to, like, uh, uh, spoof the, the, the, those values so perfectly, I think. What if they play back the data? Play back the data. Play back the data, it, it still can be, it still can be detected. You see the oscillation? The, the oscillation, you, you mean, uh, spoof, you mean replay the traffic while blocking all the normal traffic? No, the, the, I think the car would have already stopped. Right? Yes? How can you distinguish between, uh, what appears to be an attack and just normal failure of sensors, uh, given the data? Uh, I can't, uh, differentiate between this kind, these, these two, uh, scenarios, because, uh, the, if there is a mechanic finer, I, I think, uh, the, the, the, the, the, it, it is, I think the information that the, like, for example, you, the, you detect, uh, you, you, you could det, the system would opt, opt for the, the, the, this kind of scenario as an attack. But I think it is still informative to know that. Yes, sir? Um, could you, uh, could, could you tell the model subjects to be able to, um, change parameters that vary depending on the environment? Uh, I beg your pardon, sir? Um. Could you tell the model or adapt the model, tell the model to reject the parameters that could train with the environment? So, for example, if you were comparing wheel speeds and trying to look for incorrect wheel speed, again, based on the, maybe comparing three wheel speeds with steering angle to predict the four wheel speed, that could fail. Let's say you drive the office and the wheel started slipping. Okay? It could, it could say there's a problem with the incorrect speed. Is there a way you could train the model, tell the model to reject certain aspects and vary? Oh, you mean just like, uh, differentiate. You, you, you, I think your question is, uh, is very familiar with the, the, the, he, he asked. And I think, uh, with more work you can do that. Once you detect, uh, uh, detect an attack, you add another stage between the, the final decision and, uh, this detected attack. You could use, like, a database that, uh, describe in the situation you just mentioned and, uh, do, uh, add a filter to that, maybe. But I, yeah, I, it's just, um, uh. Yes, sir? Um, my question is about, so the, uh, detect moments that you expect there. Um, I guess that the attacker that gets access to the engine can try to inject a break signal for example. Or, uh, exacerbation, maybe. Oh, you mean there's, there's, there's, those parameters are not related to, uh, the, the, the, those packets not, not related to other parameters. For example, a random human input, right? For example, the break, uh, you don't know, you cannot say, predict how when the user are going to press on the break. That kind of attack, uh, this, this model cannot be used to detect, detect that kind of attack. For example, if, if the attacker want to, like, send the, the packet to the, to the packet that only he gets sent when a user press certain button, button. You cannot use this to detect, detect that kind of attack. But I think there, there's more. . I think the, the, this model covers, uh, the most important attacking scenario already. For example, the speed, RPM, acceleration. This, this attack can all be detected. So, uh, next, uh, you open, uh, for example, you turn on, you, you send a packet to turn on the, uh, turn, turn, turning signal. This kind of attack is, like, based on the user's random input. I, I, I assume it's random because I don't, don't have sensors to detect current, uh, environment where, where, where it is, uh, across in front. I cannot detect. So I, I assume it's random. So I cannot de-, cannot detect the, this kind of a, of attack. . Okay. . So what other, what other vehicle systems, so the way I see this here is that you're more so detecting that there's a possible attack whether then there is or is not an attack. So what other systems would you use in the vehicle to kind of cooperate, collaborate the data to determine whether or not it actually is an attack? . Oh, I haven't, uh, considered that, but I think, uh, it's necessary to consider that, uh, because you, uh, this system is, uh, certainly, uh, going, going to get many, like, false positives. And I, I, I suddenly re-, happened to me the, the, the question that, the, that gentleman has asked. Uh, I think I got, uh, another, uh, to further answer. You, you said that, uh, uh, certain parameters for, for, um, the, the, in the Charlie Miller's, in the Charlie Miller's work, and, uh, uh, recently the semantics company has released, uh, their, their product. Those products are based on, like, the, uh, they, they also use machine learning, uh, uh, but they use machine learning to learn the frequency of certain parameters, uh, or the frequency of certain packets. So, uh, I think, uh, their system might be, uh, I don't think their system will solve the problem you just mentioned. But I think it is, uh, well, uh, uh, would, would add, uh, add capabilities to the, the system. And, uh, I, I heard that, uh, uh, some, some academic researchers also had the idea of, like, um, measure the, uh, subtle deviation, subtle, subtle error, uh, of the certain packet because the, the ECUs, they all have the, the, the microchip. This chip, the, the, the, the timers, the, the, the, the, the, the, the, the, the, the, the accuracy of those timers, uh, very high. So, the, the, the certain packets, you can see that it's, uh, the, the periodic messages in the packets are, uh, if I attack it, the time, time, timing, what, what it exhibits, anomalous behaviors. Okay. Have any, anybody, uh, still have questions? Okay, sir. Uh, as you add more inputs to the system, does your ability to detect, uh, individual hit wires decrease dramatically? Uh, I, I wish, I wish I could, uh, add more parameters to the system, but, uh, a typical car only have the, the, the, the, the, that many parameters, uh, like, related to each other. So, if you are able to, like, mount all, more sensors on that car to monitoring more parameters, and those parameters are also, uh, like, uh, related to each other, I think this would dramatically reduce the force-positive rate. I'm just thinking if you're, like, going down a hill, get a very low RPM, a very high speed, and it could potentially be, uh, appears an attack or something. Uh, I, I, I beg your pardon? Sorry, but, like, I can talk to you. Okay, okay. I will talk. I don't know how much time I have to spend here, uh, on this. Okay. And the next talk is also from the research done by my, uh, by Unicorn team, my team. Okay. And, uh, oh, sorry. Uh, I think, uh, uh, there's a , okay. I am not very, not, uh, machine, machine learning savvy, so I asked them, I had help from those, those folks from my company. There's Professor from the Shih-Hu-Shui 60 Institute of Artificial Intelligence. They are very good at the deep learning. And, uh, I have, uh, uh, Dr. Ming-Ling from the Institute of... Artificial Intelligence there, which is a student of, of Professor Shui-Chen-Yan. And I also had, had, uh, help from my colleague, Dr., uh, Lin-Huang from, uh, my team. So, uh, hereby, I, uh, close, uh, appreciate their help. Uh, these, these are the references. So, if anybody interested in, uh, cybersecurity research, you could, yeah, reference, you create those papers. Just take a photo. Uh, it's, uh... I think the, the Carol, uh, Carol Koster's, uh, research and the China Ministry's research are, are very good. And, uh, okay, other research. Okay. So, the, the, the... Okay. Okay. Fine. The, the last page. Okay. Many, many paper to read. Okay. Okay. Thank you. Thank you, everybody. See you, everybody. Thank you. Have a wonderful day. Have a wonderful day. views from audience