# US 2022/0278994 A1 · Sdn-based intrusion response method for in-vehicle network, and system using same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0278994 A1
- Document ID: US20220278994A1
- Status: Published application
- Kind: A1
- Application number: 17/631,836
- Filed: 2020-07-31
- Published: 2022-09-01
- Earliest claimed: 2019-07-31
- Assignees: Hyundai Motor Company; Kia Corporation; Korea University Research and Business Foundation
- Applicants: Hyundai Motor Company; Kia Corporation; Korea University Research and Business Foundation
- Inventors: Huy Kang Kim; Seong Hoon Jeong; Seung Wook Park; Wha Pyeong Lim
- Web page: https://patentgrep.com/patent/US20220278994A1

## CPC

- H04L 45/76: Routing in software-defined topologies, e.g. routing between virtual machines
- H04L 45/38: {Flow based routing}
- H04L 47/2441: relying on flow classification, e.g. using integrated services [IntServ]
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04W 4/48: for in-vehicle communication
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

The present disclosure an intrusion prevention (or response) system and method for detecting and preventing a vehicle intrusion by means of an SDN-enabled switch installed in an in-vehicle network (IVN) and an SDN controller communicating with the SDN-enabled switch, the method in which the SDN support switch transmits a packet-in message to the SDN controller, enables an intrusion detection system (IDS) to determine whether a particular packet is an intrusion packet, receives an action according to a result of the determination, and transmits a packet-out message to the SDN-enabled switch so as to control a flow of a particular packet.

## Claims

### Claim 1

An intrusion prevention system for an in-vehicle network (IVN), the intrusion prevention system comprising:
a software-defined networking (SDN)-enabled switch installed in the IVN of a vehicle and configured to control a packet flow of an incoming packet by referring to a flow entry, in a flow table, corresponding to the incoming packet; and
an SDN controller configured to communicate with the SDN-enabled switch, receive the incoming packet from the SDN-enabled switch, and transmit an action corresponding to the incoming packet to the SDN-enabled switch,
wherein the SDN controller is further configured to transmit the incoming packet to an intrusion detection system (IDS) so that the IDS determines whether the incoming packet is an intrusion packet, receive an action based on a determination result from the IDS, and transmit the received action to the SDN-enabled switch, as the action corresponding to the incoming packet.

### Claim 2 (depends on 1)

The intrusion prevention system of claim 1, wherein the flow entry includes a rule field, an action field, and a counter field, and
wherein the SDN-enabled switch is further configured to compare data of the incoming packet with the rule field of each flow entry of the flow table, extract a flow entry in which the number of matches or a matching range is equal to or greater than a certain reference value, update the counter field of the extracted flow entry and control a flow of the incoming packet according to the action field of the extracted flow entry.

### Claim 3 (depends on 1)

The intrusion prevention system of claim 1, wherein,
when communication between the SDN-enabled switch and the SDN controller is connected, the SDN switch is further configured to receive the action from the SDN controller and update the flow table, and
when the communication between the SDN-enabled switch and the SDN controller is disconnected or when the vehicle is cold-booted, the SDN-enabled switch is further configured to control the incoming packet based on a preset flow table, as a common switch.

### Claim 4

A method for detecting and preventing a vehicle intrusion using a software-defined networking (SDN)-enabled switch installed in an in-vehicle network (IVN) of a vehicle and an SDN controller located remotely from the vehicle, the method comprising:
transmitting, by the SDN-enable switch, to the SDN controller a packet-in message containing an incoming packet flowed from the IVN;
receiving, by the SDN controller, the packet-in message and transmitting the received packet-in message to an intrusion detection system (IDS);
enabling, by the SDN controller, the IDS to determine whether the incoming packet is an intrusion packet, and receiving, by the SDN controller, an action based on a determination result from the IDS;
transmitting, by the SDN controller, a packet-out message including the action based on the determination result to the SDN-enabled switch; and
controlling, by the SDN-enabled switch, a packet flow of the incoming packet according to the action based on the determination result.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
extracting, by the SDN-enabled switch, a flow entry matched to the incoming packet from a flow table.

### Claim 6 (depends on 5)

The method of claim 5, wherein the flow entry includes a rule field, and
wherein, the extracting of a flow entry matched to the incoming packet includes:
comparing data of the incoming packet to the rule field of each flow entry; and
extracting a flow entry in which the number of matches or a matching range is equal to or greater than a certain reference value.

### Claim 7 (depends on 6)

The method of claim 6, wherein the flow entry further includes a priority field, and
wherein the extracting of a flow entry matched to the incoming packet includes:
when a plurality of flow entries is extracted from the flow table, extracting one flow entry matched to the incoming packet based on the priority field of each flow entry is extracted.

### Claim 8 (depends on 6)

The method of claim 6, wherein the transmitting of the packet-in message to the SDN controller is performed when an event occurs that there is no extracted flow entry or that the extracted flow entry has expired, or when a forward-to-controller command is included in an action field of the extracted flow entry.

### Claim 9 (depends on 8)

The method of claim 8, wherein the transmitting of the packet-in message to the SDN controller includes dropping the incoming packet when the event occurs; and
wherein, when it is determined that the incoming packet is not an intrusion packet, the packet-out message further includes the incoming packet.

### Claim 10 (depends on 9)

The method of claim 9, wherein, when the incoming packet is an intrusion packet, the packet-out message further includes a new rule for extracting the incoming packet.

### Claim 11 (depends on 4)

The method of claim 4, further comprising:
transmitting, by the SDN controller, a packet-out message to the SDN-enabled switch, before the SDN controller receives the action based on the determination result from the IDS, wherein the packet-out message includes the incoming packet and an action for commanding forwarding of the incoming packet.

### Claim 12 (depends on 4)

The method of claim 4, further comprising:
updating, by the SDN-enabled switch, the flow table based on the packet-out message.
