• 一种改进GraphSAGE的入侵检测方法

    An improved intrusion detection method for GraphSAGE

    • 入侵检测是一种网络安全技术,用于监测和发现网络或系统中的恶意活动或违反安全策略的行为。现有检测方法在处理均匀分布的网络数据时表现良好,然而实际网络环境中的数据分布往往是不平衡的。在此情况下,现有方法对少数类攻击数据的特征提取不足,导致检测性能显著下降。针对上述问题,提出了一种改进GraphSAGE的入侵检测方法。首先,对数据进行预处理,并将数据转换成图结构。其次,为了提高特征提取能力,使用图池化采样和基于LSTM-GRU方法提取特征,学习特征表示并进行聚合。最后,将特征送入分类器转化成类别概率,进行分类。在数据集UNSW-NB15和NSL_KDD上进行了对比实验。结果表明:所提方法在对不平衡数据的检测中,相比现有模型提升了检测精度,在数据集UNSW-NB15和NSL_KDD上多分类检测中准确率分别达到0.992和0.995。

       

      Abstract: Intrusion detection is a network security technology used to monitor and discover malicious activity or violations of security policies in a network or system. The existing detection methods perform well when dealing with uniformly distributed network data. However, the data distribution in the actual network environment is often unbalanced. In this case, the existing methods have insufficient feature extraction for a few class attack data, resulting in a significant decline in detection performance. In order to solve the above problems, an intrusion detection method to improve GraphSAGE is proposed. Firstly, the data is preprocessed and converted into a graph structure. Secondly, in order to improve the feature extraction ability, graph pooling sampling and LSTM-GRU method are used to collect time features, learn feature representation and aggregate them. Finally, the features are sent to the classifier and converted into category probabilities for classification. Comparative experiments are carried out on the dataset UNSW-NB15 and NSL_KDD, and the results show that the proposed method improves the detection accuracy compared with the existing model in the detection of unbalanced data, and the accuracy of the multi-classification detection on the dataset UNSW-NB15 and NSL_KDD reaches 0.992 and 0.995, respectively.

       

    /

    返回文章
    返回