18 Apr 2018
Statistical Behavior of Packet Counts for Network Intrusion Detection
Abstract— Intrusions and attacks have become a very serious problem in network world. This paper presents a statistical characterization of packet counts that can be used for network intrusion detection. The main idea is based on detecting any suspicious behavior in computer networks depending on the comparison between the correlation results of control and data planes in the presence and absence of attacks using histogram analysis. Signal processing tools such as median filtering, moving average filtering, and local variance estimators are exploited to help in developing network anomaly detection approaches. Therefore, detecting dissimilarity can indicate an abnormal behavior.
Keywords— Anomaly detection, statistics, Network Intrusion Detection Systems (NIDS).
NOWADAYS, the use of the Internet has become important and it increased considerably. Internet use has spread to daily work, business, education, entertainment and etc. Computer networks bring us a lot of benefits, such as computing and better performance, but they also bring risks. So, security systems have to be built to face those risks. One of those systems is the network intrusion detection system (NIDS), which is designed to alert the network administrators to the presence of an attack. Recently, intrusions are classified as serious Internet security threats due to the mass service disruption they result in, the unsafe use of the Internet, and the difficulty to defend against them . Some attacks aim to consume large amount of resources to prevent legitimate users from receiving satisfactory performance.
Network Intrusion Detection System is a tool to detect the attacks that attempt to compromise the availability, integrity or confidentiality of the network. It has been started to be used frequently as one component of an effective layered security model for an organization. This system monitors network traffic continuously for malicious activity, and raise alerts when they detect attacks. Existing intrusion detection systems can be classified into signature detection systems/ misuse and anomaly detection systems [2-3].
Signature detection systems rely on a database of a predefined set of attack signatures. They detect attacks by comparing the observed patterns of the network traffic with the database. If the attack is listed in the database, then it can be successfully detected and identified . On the other hand, anomaly detection systems are designed to compare the parameters of the normal network traffic to the observed unusual traffic . In such cases, the detected deviation from the normal traffic is declared as an attack. Such methods can detect new kinds of network attacks.
In this paper, we aim to studding the intrusion and attacks behavior by monitoring the changes in the traffic of the network. Detecting dissimilarity between the correlation results of control and data planes can indicate an abnormal behavior . This paper is organized as follows. Section II includes the anomaly detection techniques. Section III, includes the suggested statistical analysis. Section IV, includes the simulation results. Section V includes the concluding remarks.
A number of studies have focused on developing network anomaly detection methods. For example, Haystack  is one of the statistical anomaly-based intrusion detection systems. In this system, a range of values is set to indicate the normal status of each pre-defined feature. If the values measured during a session lie outside the normal range, then the score of a subject is raised. Haystack was designed to work offline and that was considered as one of its drawbacks .
Statistical Packet Anomaly Detection Engine (SPADE)  is also one of the statistical anomaly-based intrusion detection systems. It uses the concept of an anomaly score to detect sport scans. A simple frequency domain based approach is used to calculate the 'anomaly score' of a packet. The fewer the packets, the higher the anomaly score. One drawback of the SPADE is its high false alarm rate.
In this paper, we concentrate on the statistical analysis of the correlation sequence between packet and control counts in computer networks . The suggested approach is based on distinguishing histograms of the correlation sequences of normal and abnormal traffics. The correlation sequences are processed either directly or after pre-processing with differentiator, median filtering, or local variance estimation.
Histogram is defined as a graphical representation of the distribution of data, a histogram is a function that counts the number of observations that fall into each of the disjoint categories, Thus, if we let k be the total number of bins and n be the total number of observations, the histogram mi meets the following conditions :
The median filtering is based on sorting the data and selecting is the middle number. It is used to exclude impulsive values in the correlation sequences.
The mean is the average of a set of numbers
The variance is a measure of how items are dispersed about their mean. The variance of a whole population is given by the equation 
where M is the local mean.
The proposed approach can be summarized in the following steps:
We have used the cross-correlation results between the control and data packets when there is no attacks and when there is an attack for one day of KSU traffic. Fig. 1 shows the correlation coefficients between the control and data packets when there is no an attack. Fig 2 shows the correlation coefficients when there is an attack applied. Fig. 3 shows the correlation coefficients histogram distribution for normal and abnormal traffic. Fig. 4 shows the histogram distribution of the correlation coefficient median for normal and abnormal traffic. Fig. 5 shows the histogram distribution of correlation coefficients mean for normal and abnormal traffic. Fig. 6 shows the histogram distribution of the correlation coefficients local variance for normal and abnormal traffic. The experimental results reveal that when there is an attack, a noticeable difference in histogram distribution is found.
Fig. 1 : Correlation coefficients for normal traffic.
Fig. 2 : Correlation coefficients for abnormal traffic.
Fig. 3 : Correlation coefficients histogram distribution for normal and abnormal traffic.
Fig. 4 : Histogram of the correlation coefficients median for normal and abnormal traffic.
Fig. 5 : Histogram of the correlation coefficients local mean for normal and abnormal traffic.
Fig. 6 : Histogram of the correlation coefficients local variance for normal and abnormal traffic.
From these figures, we can set a probability threshold for each case, based on which, a decision of normal or abnormal traffic can be taken.
The paper presented a statistical study for the correlation coefficients between packet and control planes of network traffic. Simulation experiments have shown that there is a difference in histogram distribution between normal and abnormal traffics. With the aid of signal processing tools like median filtering, local mean filtering and local variance filtering, we can set a group of thresholds to distinguish between normal and abnormal traffics.
If you are the real writer of this essay and no longer want to have the essay published on the our website then please click on the link below to send us request removal:Request the removal of this essay
Get in touch with our dedicated team to discuss about your requirements in detail. We are here to help you our best in any way. If you are unsure about what you exactly need, please complete the short enquiry form below and we will get back to you with quote as soon as possible.