Building intrusion detection system (IDS) for an enterprise is a complex and challenging task as the attack types are growing day by day. Hence, there is a need for a smart heuristic scanner in an IDS to perform deep packet inspection in order to detect newer form of attacks and decisively declare a source as trusted or un-trusted. To perform deep packet inspection, packet headers at transport and network layers are processed through a two-level machine learning classifiers. Naive Bayes is applied in the first stage on TCP level heuristics. The output of the first stage classifier and IP heuristics are given as input to the k-nearest neighbours (KNNs) classifier in the second stage. At the end of the second stage classification, results are rendered as trusted or un-trusted. The experimental results showed that the proposed approach is efficient in terms of detection rate and false alarms.
Read full abstract