| CPC H04L 63/1416 (2013.01) [H04L 63/1466 (2013.01)] | 7 Claims |

|
1. An adversarial attack apparatus, comprising: at least one hardware processor; and a non-transitory computer-readable storage medium storing instructions which, when executed by the at least one hardware processor, are configured to implement:
a data generation module configured to collect a plurality of controller area network (CAN) messages, extract preset some piece of data from the collected plurality of CAN messages, add type information about the CAN message to the extracted some pieces of data to generate a CAN message packet, and aggregate the generated CAN message packet to configure a CAN message packet dataset;
a preprocessing module configured to insert noise into some CAN message packets in the CAN message packet dataset, the noise being inserted based on the type information of each CAN message packet; and
an adversarial attack generation module configured to receive the CAN message packet into which the noise is inserted and generate an adversarial CAN message capable of avoiding an intrusion detection system (IDS) of a vehicle,
wherein the preprocessing module includes:
converting a data format of each CAN message packet of the CAN message packet dataset; and
a noise insertion unit configured to insert the noise based on the type information of each CAN message packet,
wherein the type information includes class information indicating whether the corresponding CAN message packet is a normal packet or an attack packet and subclass information indicating whether the corresponding CAN message packet is any type of attack among a flooding attack, a fuzzing attack, a relay attack, and a spoofing attack, when the corresponding CAN message packet is the attack packet,
wherein the noise insertion unit determines whether to insert the noise into the corresponding CAN message packet based on the class information in the type information and determines whether to insert the noise into any portion of the CAN message packet based on an attack type according to the subclass information in the type information, when determining to insert the noise into the CAN message packet.
|