For the data imbalance problem of the current automotive CAN network intrusion detection algorithm due to the lack of attack samples, a CAN intrusion detection data enhancement method based on BEGAN is proposed, which introduces in one-hot coding to image the CAN message features and combines with the constructed Generative Adversarial Network to generate valid samples with the same format as the real attack and with different content. The practicality of the generated enhanced dataset is verified from the perspectives of feature maps, t-SNE visualization, statistical analysis and classifier validation by collecting real vehicle data as real samples for training, which can improve the intrusion detection classifier accuracy. With higher accuracy compared with the traditional oversampling algorithms including Random Oversampling (ROS), Synthetic Minority Oversampling Technique (SMOTE), SMOTE combined with Edited Nearest Neighbors (SMOTE-ENN) and Adaptive Synthetic Oversampling (ADASYN).
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |