<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">14307</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2021.014307</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Enhancing Network Intrusion Detection Model Using Machine Learning Algorithms</article-title>
<alt-title alt-title-type="left-running-head">Enhancing Network Intrusion Detection Model Using Machine Learning Algorithms</alt-title>
<alt-title alt-title-type="right-running-head">Enhancing Network Intrusion Detection Model Using Machine Learning Algorithms</alt-title>
</title-group>
<contrib-group content-type="authors">
<contrib id="author-1" contrib-type="author" corresp="yes">
<name name-style="western">
<surname>Awad</surname>
<given-names>Nancy Awadallah</given-names>
</name>
<email>rarecore2002@yahoo.com</email>
</contrib>
<aff><institution>Department of Computer and Information Systems, Sadat Academy for Management Sciences</institution>, <addr-line>Cairo, 11742</addr-line>, <country>Egypt</country></aff>
</contrib-group>
<author-notes><corresp id="cor1">&#x002A;Corresponding Author: Nancy Awadallah Awad. Email: <email>rarecore2002@yahoo.com</email></corresp></author-notes>
<pub-date pub-type="epub" date-type="pub" iso-8601-date="2020-11-28">
<day>28</day>
<month>11</month>
<year>2020</year>
</pub-date>
<volume>67</volume>
<issue>1</issue>
<fpage>979</fpage>
<lpage>990</lpage>
<history>
<date date-type="received">
<day>12</day>
<month>09</month>
<year>2020</year>
</date>
<date date-type="accepted">
<day>22</day>
<month>11</month>
<year>2020</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2021 Awad</copyright-statement>
<copyright-year>2021</copyright-year>
<copyright-holder>Awad</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_14307.pdf"></self-uri>
<abstract>
<p>After the digital revolution, large quantities of data have been generated with time through various networks. The networks have made the process of data analysis very difficult by detecting attacks using suitable techniques. While Intrusion Detection Systems (IDSs) secure resources against threats, they still face challenges in improving detection accuracy, reducing false alarm rates, and detecting the unknown ones. This paper presents a framework to integrate data mining classification algorithms and association rules to implement network intrusion detection. Several experiments have been performed and evaluated to assess various machine learning classifiers based on the KDD99 intrusion dataset. Our study focuses on several data mining algorithms such as; na&#x00EF;ve Bayes, decision trees, support vector machines, decision tables, k-nearest neighbor algorithms, and artificial neural networks. Moreover, this paper is concerned with the association process in creating attack rules to identify those in the network audit data, by utilizing a KDD99 dataset anomaly detection. The focus is on false negative and false positive performance metrics to enhance the detection rate of the intrusion detection system. The implemented experiments compare the results of each algorithm and demonstrate that the decision tree is the most powerful algorithm as it has the highest accuracy (0.992) and the lowest false positive rate (0.009).</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Intrusion detection</kwd>
<kwd>association rule</kwd>
<kwd>data mining algorithms</kwd>
<kwd>KDD99</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>The IDS has 3 methods of identifying attacks; signature, anomaly, and hybrid-based detection. The first method, signature-based detection is formed by using signatures of those attacks to detect the known ones. This is an efficient means of identifying known attacks that are preloaded in the IDS database. Hence it should be much more accurate to identify a known attack intrusion attempt [<xref ref-type="bibr" rid="ref-1">1</xref>].</p>
<p>The disadvantage of this method is that the attack which has new forms cannot be identified, as their signatures are not displayed; as such the databases are regularly modified to improve their identification effectiveness [<xref ref-type="bibr" rid="ref-2">2</xref>].</p>
<p>Anomaly-based monitoring which matches actual user practices to predefined profiles is used to identify suspicious habits that may be intrusions. Anomaly-based identification is successful against unexpected threats without any system updates [<xref ref-type="bibr" rid="ref-3">3</xref>].</p>
<p>In sum, the availability, integrity, and confidentiality of computer networks are threatened by various types of attacks.</p>
<p>The Denial of Service attack (DoS) has been considered one of the most frequent and harmful ones.</p>
<p>DoS attacks aim to temporarily deny multiple end-user services.</p>
<p>It normally absorbs network bandwidth, which overloads the system with unnecessary demands.</p>
<p>Despite the above, DoS serves as a broad shield for all forms of threats targeted at accessing machine and network resources.</p>
<p>The researcher in this paper presents a framework to integrate data mining algorithms and association rules to implement network intrusion detection. Several experiments have been performed and evaluated to assess various machine learning classifiers based on the KDD intrusion dataset.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Literature Reviews</title>
<p>In this section, the researcher of this paper shows several previous studies concerned with machine learning techniques a deal with network intrusion detection.</p>
<p>Othman et al. [<xref ref-type="bibr" rid="ref-2">2</xref>] implemented the Spark-Chi-SVM model for intrusion detection by using the SVM classifier on Apache Spark Big Data platform using ChiSqSelector for feature selection and KDD99 to train and test the model. They proofed that the Spark-Chi-SVM model reduces the training time and is efficient for big data and it has high performance.</p>
<p>Peng et al. [<xref ref-type="bibr" rid="ref-4">4</xref>] suggested a decision tree-based IDS framework over Big Data in Fog Environment. The researchers implemented pre-processing algorithms to find the strings in the provided dataset and then standardize the results to ensure the accuracy of the input data to increase detection performance. The IDS decision tree approach with the Na&#x00EF;ve Bayesian method and KNN system on the KDDCUP99 dataset. The results showed that this proposed method was effective and accurate.</p>
<p>Rupa et al. [<xref ref-type="bibr" rid="ref-5">5</xref>] said that using machine learning algorithms on the CIDDS-001 dataset provides better results than the existing research method. Deep learning algorithms were implemented on the latest datasets like CIDDS-001 and CIDDS-002 to improve the computational time and cost.</p>
<p>Diro et al. [<xref ref-type="bibr" rid="ref-6">6</xref>] adopted deep learning, to cybersecurity as a new approach, to enable the detection of attacks on the social internet of things. The experiments have shown that their distributed attack detection system is superior to centralized detection systems using a deep learning model. It has also been demonstrated that the deep model is more effective in attack detection than its shallow counterparts.</p>
<p>Liu et al. [<xref ref-type="bibr" rid="ref-7">7</xref>] introduced a survey that proposed a taxonomy of IDS that takes data objects as the main dimension to classify and summarize machine learning-based and deep learning-based IDS literature. The survey clarified the concept and taxonomy of IDSs and it fit for cybersecurity researchers. Researchers explained how to solve key IDS issues with machine learning and deep learning techniques.</p>
<p>Yavuz et al. [<xref ref-type="bibr" rid="ref-8">8</xref>] proposed a deep-learning-based machine learning method for the detection of routing attacks for IoT. The Cooja IoT simulator has been utilized for the generation of high-fidelity attack data, within IoT networks ranging from 10 to 1000 nodes. They proposed a highly scalable, deep-learning-based attack detection methodology for the detection of IoT routing attacks which are decreased rank, hello-flood, and version number modification attacks, with high accuracy and precision.</p>
<p>Panda et al. [<xref ref-type="bibr" rid="ref-9">9</xref>] compared the effectiveness of the classification algorithm, Na&#x00EF;ve Bayes, with the decision tree algorithms namely, ID3 and J48. This helps one to construct an effective network intrusion detection system that the Na&#x00EF;ve Bayes model is quite appealing because of its simplicity, elegance, robustness, and effectiveness.</p>
<p>Nalavade et al. [<xref ref-type="bibr" rid="ref-10">10</xref>] implemented a NID system by represented a model to integrate association rules to intrusion detection. They proofed that IDS using association rules can create attack rules that maintain a low false-positive rate.</p>
<p>Adebowale et al. [<xref ref-type="bibr" rid="ref-11">11</xref>] evaluated the performance of well-known classification algorithms for attack classification by applying the NSL-KDD dataset.</p>
</sec>
<sec id="s3">
<label>3</label>
<title>Data Mining Algorithms for Network Intrusion Detection</title>
<p>In this section, several data mining algorithms will be presented, including classification techniques, and association rule mining. Data mining algorithms Na&#x00EF;ve Bayes, Decision trees, Support vector machines, Decision table, K-nearest neighbor algorithm and, Artificial neural network.</p>
<sec id="s3_1">
<label>3.1</label>
<title>Classification Data Mining Techniques</title>
<sec id="s3_1_1">
<label>3.1.1</label>
<title>Na&#x00EF;ve Bayes (NB)</title>
<p>The advantages of the Na&#x00EF;ve Bayesian technique are the ability to encode interdependencies between variables [<xref ref-type="bibr" rid="ref-12">12</xref>] and to forecast events, and the ability to integrate both prior information and data [<xref ref-type="bibr" rid="ref-13">13</xref>].</p>
<p>The most drawback of the na&#x00EF;ve Bayesian method is the lack of available probability data. Another disadvantage that their results are comparable to those derived from threshold-based systems, although a considerably higher computational effort is required [<xref ref-type="bibr" rid="ref-14">14</xref>].</p>
</sec>
<sec id="s3_1_2">
<label>3.1.2</label>
<title>Decision Trees (DT)</title>
<p>The classification algorithm in this method is taught inductively to build a model from the pre-classified data set. Every data object is described by attribute values, and classification can be interpreted as a mapping from a set of attributes to a specified class [<xref ref-type="bibr" rid="ref-15">15</xref>].</p>
<p>Choosing a given division depends on the test outcome. The beginning at the root node and follow the assumptions down before reaching a terminal node, to identify a specific data object. A decision is taken when a terminal node is achieved [<xref ref-type="bibr" rid="ref-14">14</xref>]. The benefit of making use of this algorithm is that no domain knowledge is expected from its construction. This increases the appropriateness of DT algorithms for IDS in particular when taking into account the complexity and ever-growing scale of network communication results. Decision trees can process numerical and categorical data (This is in line with the alphanumeric existence of network link data) [<xref ref-type="bibr" rid="ref-15">15</xref>]. The lack of Decision tree algorithms is not unreliable, and computational schema trees can be complex.</p>
</sec>
<sec id="s3_1_3">
<label>3.1.3</label>
<title>K-Nearest Neighbor (K-NN)</title>
<p>It is a form of lazy learning that only approximates the function locally and delays all computations until classification. One of the easiest of all machine learning algorithms is the K-nearest neighbor algorithm: an object is categorized by a majority vote of its neighbors, assigning the object to the most common class of its nearest neighbors. Test instances are related to the instances stored, and the same class-mark is given to the most comparable instances stored in K.</p>
</sec>
<sec id="s3_1_4">
<label>3.1.4</label>
<title>Artificial Neural Networks (ANN)</title>
<p>Neural networks were used both in the detection of intrusion abnormalities and in the detection of intrusion abuse [<xref ref-type="bibr" rid="ref-13">13</xref>]. Neural networks were modeled to learn the typical characteristics of system users for the detection of anomaly intrusion and to identify statistically significant variations from the user&#x2019;s established behavior.</p>
<p>The neural network will lead to intrusion detection harassment will collect network stream data and evaluate the data for incidents of abuse. Another drawback of the algorithm for the neural network is its comparatively greater computing load [<xref ref-type="bibr" rid="ref-14">14</xref>].</p>
</sec>
<sec id="s3_1_5">
<label>3.1.5</label>
<title>Support Vector Machine (SVM)</title>
<p>SVM is introduced as a novel intrusion detection technique. By some nonlinear mapping, an input of SVM maps (really valued) features vectors into a higher-dimensional feature space.</p>
<p>SVMs were built based on the systemic risk minimization principle [<xref ref-type="bibr" rid="ref-14">14</xref>].</p>
<p>The goal of systemic risk minimization is to consider a theory (h) for which the lowest likelihood can be found error while conventional pattern recognition learning approaches are focused on mitigating empirical risk, which aims to maximize the learning set&#x2019;s efficiency.</p>
</sec>
<sec id="s3_1_6">
<label>3.1.6</label>
<title>Decision Table</title>
<p>Decision Table constructs a greater component classifier list of baseline decisions. It tests highlighted subsets using the best initial quest and can use cross-approval for evaluation. The algorithm traverses 4 stages: Pruning, optimization, and selection are the norm [<xref ref-type="bibr" rid="ref-16">16</xref>].</p>
</sec>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Association Rule Mining Algorithm</title>
<p>This algorithm is used to test the large audit data sets and to calculate support-confidence to discover the regular sets of objects. It creates rulesets based on the IF-THEN rules&#x2019; frequent item-sets.</p>
<p>The ruleset is created with the help of values of support and trust. Generally, the rulesets are easier to understand When opposed to other algorithms. Every ruleset rule defines a specific context associated with a class or attribute. The goal of this approach is to improve performance based on the class level. The proposed algorithm is modified from the algorithm for the Apriori association rules [<xref ref-type="bibr" rid="ref-17">17</xref>,<xref ref-type="bibr" rid="ref-18">18</xref>].</p>
<p>In this paper, the KDD dataset includes 42 features, the protocol attribute could be &#x201C;ICMP&#x201D;, &#x201C;UDP,&#x201D; or &#x201C;TCP&#x201D;, each protocol is described in terms of their services and flags. If the protocol is &#x201C;ICMP&#x201D; JJ, &#x201C;UDP&#x201D; JJ, &#x201C;TCP&#x201D; JJ then the class is declared to be Normal, DoS, Probe, R2L, or U2R.</p>
<p>This method is tested before there is a sufficient number of instances. For each group, the rules were created based on the importance of support and trust. <xref ref-type="fig" rid="fig-1">Fig. 1</xref> shows steps that are used to generate rules [<xref ref-type="bibr" rid="ref-19">19</xref>].</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Association rule mining algorithm 
</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-1.png"/>
</fig>
<sec id="s3_2_1">
<label>3.2.1</label>
<title>Apriori Algorithm</title>
<p>This algorithm is easy to apply and is very fast. Since the first implementation of the Apriori algorithm and the accumulation of knowledge, various attempts have been made to formulate more effective algorithms for regular item-set mining. This involves methodology focused on hash, partitioning, sampling. Apriori is a seminal algorithm that uses candidate generation to find frequent item-sets [<xref ref-type="bibr" rid="ref-17">17</xref>]. This algorithm uses item-sets anti-monotonicity,&#x201D; If an Items are not frequent set, none of their supersets is ever frequent.</p>
</sec>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Proposed a Framework to Classify Network Intrusion</title>
<p>This paper proposed a framework for NID that processing the KDD dataset, and apply classification techniques and association rule mining. In this framework, the researcher implements association rules to create rules to detect the attack. <xref ref-type="fig" rid="fig-2">Fig. 2</xref> illustrated the proposed framework.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>Proposed framework for network intrusion detection</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-2.png"/>
</fig>
<sec id="s4_1">
<label>4.1</label>
<title>KDD Dataset</title>
<p>The dataset KDD99 is used to test the proposed pattern. It has 42 attributes and the number of instances used is 494.021.</p>
<p>Label attribute contains 37 attacks which classified into 4 main attacks as the following:
<list list-type="bullet">
<list-item><p>Denial of Service (DoS): Use of resources that deny legal users legitimate requests on the system.</p></list-item>
<list-item><p>Remote to Local (R2L): A non-domain intruder achieves a legitimate user account on the victim&#x2019;s computer by transmitting packets through networks</p></list-item>
<list-item><p>User to Root (U2R): Attacker attempts to access limited machine privileges.</p></list-item>
<list-item><p>Probe: Attacks that can search a computer network to gather details or find known vulnerabilities [<xref ref-type="bibr" rid="ref-20">20</xref>].</p></list-item>
</list></p>
<p><xref ref-type="table" rid="table-1">Tab. 1</xref> illustrated the relevant feature and class name for each attack.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Relevant feature and class for each attack [<xref ref-type="bibr" rid="ref-21">21</xref>]</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Class</th>
<th>Attack name</th>
<th>Relevant features</th>
<th>Class</th>
<th>Attack name</th>
<th>Relevant features</th>
</tr>
</thead>
<tbody>
<tr>
<td>DoS</td>
<td>apache2</td>
<td>5, 6, 12, 15, 29, 32, 37, 38</td>
<td>DoS</td>
<td>pod</td>
<td>20, 28, 41</td>
</tr>
<tr>
<td>DoS</td>
<td>back</td>
<td>16, 24, 17</td>
<td>PROBE</td>
<td>portsweep</td>
<td>6, 12, 15, 29, 37</td>
</tr>
<tr>
<td>U2R</td>
<td>buffer_overflow</td>
<td>22, 26, 27, 30</td>
<td>DoS</td>
<td>processtable</td>
<td>9, 10, 12, 13, 14, 15, 20, 28, 33, 38</td>
</tr>
<tr>
<td>R2L</td>
<td>ftp_write</td>
<td>40</td>
<td>U2R</td>
<td>ps</td>
<td>18, 27</td>
</tr>
<tr>
<td>R2L</td>
<td>guess_passwd</td>
<td>23, 28, 33</td>
<td>U2R</td>
<td>rootkit</td>
<td>18, 27, 40</td>
</tr>
<tr>
<td>R2L</td>
<td>httptunnel</td>
<td>12, 27, 29</td>
<td>PROBE</td>
<td>saint</td>
<td>11, 12, 15, 31</td>
</tr>
<tr>
<td>R2L</td>
<td>imap</td>
<td>6, 12</td>
<td>PROBE</td>
<td>satan</td>
<td>5, 15, 31</td>
</tr>
<tr>
<td>PROBE</td>
<td>ipsweep</td>
<td>11</td>
<td>R2L</td>
<td>sendmail</td>
<td>23, 30</td>
</tr>
<tr>
<td>DOS</td>
<td>land</td>
<td>13, 38</td>
<td>DoS</td>
<td>smurf</td>
<td>7, 10, 20, 28</td>
</tr>
<tr>
<td>U2R</td>
<td>loadmodule</td>
<td>30</td>
<td>R2L</td>
<td>snmpgetattack</td>
<td>20, 28, 33, 35, 36</td>
</tr>
<tr>
<td>DoS</td>
<td>mailbomb</td>
<td>6, 8, 12</td>
<td>R2L</td>
<td>snmpguess</td>
<td>5, 10, 20, 33, 35, 36</td>
</tr>
<tr>
<td>PROBE</td>
<td>mscan</td>
<td>3, 5, 6, 9, 12, 13, 15, 29, 31, 32</td>
<td>U2R</td>
<td>sqlattack</td>
<td>30</td>
</tr>
<tr>
<td>R2L</td>
<td>multihop</td>
<td>10, 17, 18, 21, 23, 27</td>
<td>DoS</td>
<td>teardrop</td>
<td>41</td>
</tr>
<tr>
<td>R2L</td>
<td>named</td>
<td>14, 18</td>
<td>DoS</td>
<td>udpstorm</td>
<td>9</td>
</tr>
<tr>
<td>DoS</td>
<td>neptune</td>
<td>3, 5, 6, 12, 13, 15, 31, 32</td>
<td>R2L</td>
<td>warezmaster</td>
<td>7, 10, 17, 34</td>
</tr>
<tr>
<td>PROBE</td>
<td>nmap</td>
<td>13</td>
<td>R2L</td>
<td>worm</td>
<td>5, 8, 17, 20, 28, 36</td>
</tr>
<tr>
<td>NORMAL</td>
<td>normal</td>
<td>8, 9, 12, 13, 17, 18, 19, 28, 29, 40, 41</td>
<td>R2L</td>
<td>xlock</td>
<td>23, 34</td>
</tr>
<tr>
<td>U2R</td>
<td>perl</td>
<td>11, 30</td>
<td>R2L</td>
<td>phf</td>
<td>12, 15, 30</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="fig" rid="fig-3">Fig. 3</xref> Illustrated the classification of 37 attacks into 4 main classes (DoS, U2R, R2L, PROBE).</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>The main four categories of attacks (DoS, Probe, U2R, R2L) 
</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-3.png"/>
</fig>
<p>After data preprocessing via the Weka tool, the framework is divided into two parts:
<list list-type="bullet">
<list-item><p>Applying classification data mining techniques</p></list-item>
<list-item><p>Applying association rule: To implement this process, &#x201C;Discretize Filter&#x201D; should be used.</p></list-item>
</list></p>
<p>In the next section, the two algorithms will be implemented.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Results</title>
<sec id="s5_1">
<label>5.1</label>
<title>Performance Parameters</title>
<p>Many measures are available for assessing system performance. Typically tests after tests are used for assessing intrusion detection.</p>
<list list-type="bullet">
<list-item><p>True positive (TP): The number of corrected instances classified as an intrusion.</p></list-item>
<list-item><p>True Negative (TN): The number of incorrect instances classified as an intrusion.</p></list-item>
<list-item><p>False-positive (FP): The number of intrusion instances that were incorrectly classified as normal.</p></list-item>
<list-item><p>False-negative (FN): The number of normal instances that were incorrectly classified as an intrusion.</p></list-item>
</list>
<p>To determine how many misclassifications are found we use the term Recall. Precision is how many records are correctly classified by the system [<xref ref-type="bibr" rid="ref-10">10</xref>].
<disp-formula id="eqn-1"><alternatives>
<graphic mimetype="image" mime-subtype="png" xlink:href="eqn-1.png"/>
<tex-math id="tex-eqn-1"><![CDATA[$$\begin{align*}
&{\rm Precision}= \frac{\mathrm{TP}}{\text{Total number of positive connections}} \\
&{\rm Recall}= \frac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FN}} \\
&{\rm Accuracy}= \frac{\rm TP+TN}{\rm TP+TN+FP+FN}
\end{align*}$$]]></tex-math>
<mml:math id="mml-eqn-1" display="block"><mml:mtable columnalign="right left" columnspacing="1pt"><mml:mtr><mml:mtd></mml:mtd><mml:mtd><mml:mi>P</mml:mi><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>i</mml:mi><mml:mi>s</mml:mi><mml:mi>i</mml:mi><mml:mi>o</mml:mi><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:mfrac><mml:mrow><mml:mstyle mathvariant="normal"><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle><mml:mtext>Total&#x00A0;number&#x00A0;of&#x00A0;positive&#x00A0;connections</mml:mtext></mml:mstyle></mml:mrow></mml:mfrac></mml:mstyle></mml:mtd><mml:mtd></mml:mtd><mml:mtd><mml:mtext></mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd></mml:mtd><mml:mtd><mml:mi>R</mml:mi><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>a</mml:mi><mml:mi>l</mml:mi><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:mfrac><mml:mrow><mml:mstyle mathvariant="normal"><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="normal"><mml:mi>T</mml:mi><mml:mi>P</mml:mi></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>F</mml:mi><mml:mi>N</mml:mi></mml:mstyle></mml:mrow></mml:mfrac></mml:mstyle></mml:mtd><mml:mtd></mml:mtd><mml:mtd><mml:mtext></mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd></mml:mtd><mml:mtd><mml:mi>A</mml:mi><mml:mi>c</mml:mi><mml:mi>c</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi><mml:mi>a</mml:mi><mml:mi>c</mml:mi><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:mfrac><mml:mrow><mml:mi>T</mml:mi><mml:mi>P</mml:mi><mml:mo>+</mml:mo><mml:mi>T</mml:mi><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi><mml:mi>P</mml:mi><mml:mo>+</mml:mo><mml:mi>T</mml:mi><mml:mi>N</mml:mi><mml:mo>+</mml:mo><mml:mi>F</mml:mi><mml:mi>P</mml:mi><mml:mo>+</mml:mo><mml:mi>F</mml:mi><mml:mi>N</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mtd><mml:mtd></mml:mtd><mml:mtd><mml:mtext></mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:math></alternatives></disp-formula>
</p>
</sec>
<sec id="s5_2">
<label>5.2</label>
<title>Experimental Results</title>
<sec id="s5_2_1">
<label>5.2.1</label>
<title>Applying Classification Techniques</title>
<p>This section demonstrates the result of implemented several classification techniques such as Na&#x00EF;ve Bayes, Decision tree, Decision table, SVM, KNN, and ANN. <xref ref-type="table" rid="table-2">Tab. 2</xref> shows the comparison between these techniques from true, positive rates and precision for normal and anomaly classes. The results show that the precision of decision tree J48 is the best of all techniques.</p>
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Comparison between true, false positive rates and precision ratio of classification algorithms</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Algorithm</th>
<th>TP (Normal)</th>
<th>TP (Anomaly)</th>
<th>FP (Normal)</th>
<th>FP (Anomaly)</th>
<th>Precision (Normal)</th>
<th>Precision (Anomaly)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bayes.NaiveBayes</td>
<td>NB</td>
<td>0.908</td>
<td>0.892</td>
<td>0.108</td>
<td>0.092</td>
<td>0.906</td>
<td>0.894</td>
</tr>
<tr>
<td>J48</td>
<td>Decision tree</td>
<td>0.991</td>
<td>0.991</td>
<td>0.009</td>
<td>0.009</td>
<td>0.992</td>
<td>0.99</td>
</tr>
<tr>
<td>SMO</td>
<td>SVM</td>
<td>0.995</td>
<td>0.989</td>
<td>0.011</td>
<td>0.005</td>
<td>0.99</td>
<td>0.994</td>
</tr>
<tr>
<td>rules.DecisionTable</td>
<td>Decision table</td>
<td>0.992</td>
<td>0.978</td>
<td>0.022</td>
<td>0.008</td>
<td>0.981</td>
<td>0.991</td>
</tr>
<tr>
<td>Lazy.LWL</td>
<td>KNN</td>
<td>0.977</td>
<td>0.915</td>
<td>0.085</td>
<td>0.023</td>
<td>0.929</td>
<td>0.972</td>
</tr>
<tr>
<td>Functions.MultilayerPreceptron</td>
<td>ANN</td>
<td>0.985</td>
<td>0.952</td>
<td>0.048</td>
<td>0.015</td>
<td>0.96</td>
<td>0.982</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="table" rid="table-2">Tab. 2</xref> indicated the comparison between Na&#x00EF;ve Bayes, Decision tree, Decision table, SVM, KNN, and ANN algorithms, and the results showed that the decision tree is the best algorithm used to classify network intrusion detection as the accuracy parameter is (0.992) the highest one and false-positive (0.009) is the lowest one, while Na&#x00EF;ve Bayes achieve the lowest accuracy and the highest false-positive rate.</p>
<p><xref ref-type="fig" rid="fig-4">Fig. 4</xref>. described previous results.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>True and false-positive rates of classification algorithms</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-4.png"/>
</fig>
<p><xref ref-type="table" rid="table-3">Tab. 3</xref> indicated the comparison between previous algorithms in the ratio of correctly, incorrectly classified instances and time is taken to build a model. The results pointed to that correctly classified instances of the J48 technique is the best one (99.10%) and the Lazy.LWL has taken 0.01 s to build a model.</p>
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>Comparison between classification techniques in (correctly, incorrectly and time is taken to build a model)</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Method</th>
<th>Correctly classified instances (%)</th>
<th>Incorrectly classified instances (%)</th>
<th>Time is taken (s)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bayes.NaiveBayes</td>
<td>90.04</td>
<td>9.96</td>
<td>0.06</td>
</tr>
<tr>
<td>J48</td>
<td>99.10</td>
<td>0.90</td>
<td>0.35</td>
</tr>
<tr>
<td>SMO</td>
<td>99.22</td>
<td>0.78</td>
<td>2.6</td>
</tr>
<tr>
<td>rules.DecisionTable</td>
<td>98.58</td>
<td>1.42</td>
<td>1.87</td>
</tr>
<tr>
<td>Lazy.LWL</td>
<td>94.79</td>
<td>5.21</td>
<td>0.01</td>
</tr>
<tr>
<td>Functions.MultilayerPreceptron</td>
<td>96.98</td>
<td>3.02</td>
<td>0.043</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="fig" rid="fig-5">Fig. 5</xref> described the previous results.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>Comparison between comparison between classification techniques in (Correctly, incorrectly and time is taken to build a model)</title>
</caption>
<graphic mimetype="image" mime-subtype="png" xlink:href="fig-5.png"/>
</fig>
</sec>
<sec id="s5_2_2">
<label>5.2.2</label>
<title>Applying Association Rule Mining</title>
<p>This section discusses the experiment result for applying the association rule. The focus on finding association rules to detect DoS, R2L attacks.</p>
<p><bold>Rule mining is implemented for</bold> attributes of the KDD99 dataset which are (service, duration, source bytes, protocol type, flag, and destination bytes).</p>
<p><bold>Rules generated from creating</bold> rules for IDS who exceed minimum support 50% and confidence is 90% threshold.</p>
<p><xref ref-type="table" rid="table-4">Tab. 4</xref> shows some of the rules created from frequent itemset and satisfying minimum support and confidence.</p>
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>The generated association rules with support and confidence values</title>
</caption>
<table>
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Id</th>
<th>Antecedent</th>
<th>Consequent</th>
<th>Support</th>
<th>Confidence</th>
<th>Lift</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><inline-formula id="ieqn-1"><alternatives><inline-graphic xlink:href="ieqn-1.png"/><tex-math id="tex-ieqn-1"><![CDATA[$\mathrm{protocol\_type}= \mathrm{icmp}$]]></tex-math><mml:math id="mml-ieqn-1"><mml:mstyle mathvariant="normal"><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>t</mml:mi><mml:mi>y</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>i</mml:mi><mml:mi>c</mml:mi><mml:mi>m</mml:mi><mml:mi>p</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-2"><alternatives><inline-graphic xlink:href="ieqn-2.png"/><tex-math id="tex-ieqn-2"><![CDATA[$\mathrm{f{l}ag}= \mathrm{SF}$]]></tex-math><mml:math id="mml-ieqn-2"><mml:mstyle mathvariant="normal"><mml:mi>fl</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>S</mml:mi><mml:mi>F</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td>0.5196</td>
<td>1</td>
<td>1.31</td>
</tr>
<tr>
<td>2</td>
<td><inline-formula id="ieqn-3"><alternatives><inline-graphic xlink:href="ieqn-3.png"/><tex-math id="tex-ieqn-3"><![CDATA[$\mathrm{service}= \mathrm{ecr\_i}, \mathrm{f{l}ag}= \mathrm{SF}$]]></tex-math><mml:math id="mml-ieqn-3"><mml:mstyle mathvariant="normal"><mml:mi>s</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>v</mml:mi><mml:mi>i</mml:mi><mml:mi>c</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>r</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>fl</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>S</mml:mi><mml:mi>F</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-4"><alternatives><inline-graphic xlink:href="ieqn-4.png"/><tex-math id="tex-ieqn-4"><![CDATA[$\mathrm{protocol\_type}= \mathrm{icmp}$]]></tex-math><mml:math id="mml-ieqn-4"><mml:mstyle mathvariant="normal"><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>t</mml:mi><mml:mi>y</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>i</mml:mi><mml:mi>c</mml:mi><mml:mi>m</mml:mi><mml:mi>p</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td>0.5260</td>
<td>1</td>
<td>1.74</td>
</tr>
<tr>
<td>3</td>
<td><inline-formula id="ieqn-5"><alternatives><inline-graphic xlink:href="ieqn-5.png"/><tex-math id="tex-ieqn-5"><![CDATA[$\mathrm{protocol\_type}= \mathrm{icmp}, \mathrm{f{l}ag}= \mathrm{SF}$]]></tex-math><mml:math id="mml-ieqn-5"><mml:mstyle mathvariant="normal"><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>t</mml:mi><mml:mi>y</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>i</mml:mi><mml:mi>c</mml:mi><mml:mi>m</mml:mi><mml:mi>p</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>fl</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>S</mml:mi><mml:mi>F</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-6"><alternatives><inline-graphic xlink:href="ieqn-6.png"/><tex-math id="tex-ieqn-6"><![CDATA[$\mathrm{hot}> 3$]]></tex-math><mml:math id="mml-ieqn-6"><mml:mstyle mathvariant="normal"><mml:mi>h</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi></mml:mstyle><mml:mo>&#x003E;</mml:mo><mml:mn>3</mml:mn></mml:math></alternatives></inline-formula></td>
<td>0.5196</td>
<td>1</td>
<td>1.01</td>
</tr>
<tr>
<td>4</td>
<td><inline-formula id="ieqn-7"><alternatives><inline-graphic xlink:href="ieqn-7.png"/><tex-math id="tex-ieqn-7"><![CDATA[$\mathrm{service = ecr\_i, label}= \mathrm{smurf}$]]></tex-math><mml:math id="mml-ieqn-7"><mml:mstyle mathvariant="normal"><mml:mi>s</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>v</mml:mi><mml:mi>i</mml:mi><mml:mi>c</mml:mi><mml:mi>e</mml:mi><mml:mo>=</mml:mo><mml:mi>e</mml:mi><mml:mi>c</mml:mi><mml:mi>r</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mi>a</mml:mi><mml:mi>b</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>s</mml:mi><mml:mi>m</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi><mml:mi>f</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-8"><alternatives><inline-graphic xlink:href="ieqn-8.png"/><tex-math id="tex-ieqn-8"><![CDATA[$\mathrm{protocol\_type}= \mathrm{icmp}$]]></tex-math><mml:math id="mml-ieqn-8"><mml:mstyle mathvariant="normal"><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>t</mml:mi><mml:mi>y</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>i</mml:mi><mml:mi>c</mml:mi><mml:mi>m</mml:mi><mml:mi>p</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td>0.5260</td>
<td>1</td>
<td>1.74</td>
</tr>
<tr>
<td>5</td>
<td><inline-formula id="ieqn-9"><alternatives><inline-graphic xlink:href="ieqn-9.png"/><tex-math id="tex-ieqn-9"><![CDATA[$\mathrm{label}= \mathrm{smurf}$]]></tex-math><mml:math id="mml-ieqn-9"><mml:mstyle mathvariant="normal"><mml:mi>l</mml:mi><mml:mi>a</mml:mi><mml:mi>b</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>s</mml:mi><mml:mi>m</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi><mml:mi>f</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-10"><alternatives><inline-graphic xlink:href="ieqn-10.png"/><tex-math id="tex-ieqn-10"><![CDATA[$\mathrm{f{l}ag}= \mathrm{SF}$]]></tex-math><mml:math id="mml-ieqn-10"><mml:mstyle mathvariant="normal"><mml:mi>fl</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>S</mml:mi><mml:mi>F</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td>0.5260</td>
<td>1</td>
<td>1.31</td>
</tr>
<tr>
<td>6</td>
<td><inline-formula id="ieqn-11"><alternatives><inline-graphic xlink:href="ieqn-11.png"/><tex-math id="tex-ieqn-11"><![CDATA[$\mathrm{label}= \mathrm{smurf}$]]></tex-math><mml:math id="mml-ieqn-11"><mml:mstyle mathvariant="normal"><mml:mi>l</mml:mi><mml:mi>a</mml:mi><mml:mi>b</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>s</mml:mi><mml:mi>m</mml:mi><mml:mi>u</mml:mi><mml:mi>r</mml:mi><mml:mi>f</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-12"><alternatives><inline-graphic xlink:href="ieqn-12.png"/><tex-math id="tex-ieqn-12"><![CDATA[$\mathrm{protocol\_type}= \mathrm{icmp}$]]></tex-math><mml:math id="mml-ieqn-12"><mml:mstyle mathvariant="normal"><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>t</mml:mi><mml:mi>y</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>i</mml:mi><mml:mi>c</mml:mi><mml:mi>m</mml:mi><mml:mi>p</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td>0.5196</td>
<td>1</td>
<td>1.74</td>
</tr>
<tr>
<td>7</td>
<td>dst_bytes, <inline-formula id="ieqn-13"><alternatives><inline-graphic xlink:href="ieqn-13.png"/><tex-math id="tex-ieqn-13"><![CDATA[$\mathrm{protocol\_type}= \mathrm{tcp}$]]></tex-math><mml:math id="mml-ieqn-13"><mml:mstyle mathvariant="normal"><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>t</mml:mi><mml:mi>y</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>t</mml:mi><mml:mi>c</mml:mi><mml:mi>p</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-14"><alternatives><inline-graphic xlink:href="ieqn-14.png"/><tex-math id="tex-ieqn-14"><![CDATA[$\mathrm{label}= \mathrm{guess\; password}$]]></tex-math><mml:math id="mml-ieqn-14"><mml:mstyle mathvariant="normal"><mml:mi>l</mml:mi><mml:mi>a</mml:mi><mml:mi>b</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>g</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mspace width="2.77695pt" class="tmspace"/><mml:mi>p</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mi>w</mml:mi><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mi>d</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td>0.5196</td>
<td>0.94</td>
<td>1.15</td>
</tr>
<tr>
<td>8</td>
<td><inline-formula id="ieqn-15"><alternatives><inline-graphic xlink:href="ieqn-15.png"/><tex-math id="tex-ieqn-15"><![CDATA[$\mathrm{protocol\_type}= \mathrm{tcp}$]]></tex-math><mml:math id="mml-ieqn-15"><mml:mstyle mathvariant="normal"><mml:mi>p</mml:mi><mml:mi>r</mml:mi><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>o</mml:mi><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>l</mml:mi><mml:mstyle class="text"><mml:mtext>_</mml:mtext></mml:mstyle><mml:mi>t</mml:mi><mml:mi>y</mml:mi><mml:mi>p</mml:mi><mml:mi>e</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>t</mml:mi><mml:mi>c</mml:mi><mml:mi>p</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td><inline-formula id="ieqn-16"><alternatives><inline-graphic xlink:href="ieqn-16.png"/><tex-math id="tex-ieqn-16"><![CDATA[$\mathrm{label}= \mathrm{guess\;password}$]]></tex-math><mml:math id="mml-ieqn-16"><mml:mstyle mathvariant="normal"><mml:mi>l</mml:mi><mml:mi>a</mml:mi><mml:mi>b</mml:mi><mml:mi>e</mml:mi><mml:mi>l</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>g</mml:mi><mml:mi>u</mml:mi><mml:mi>e</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mspace width="2.77695pt" class="tmspace"/><mml:mi>p</mml:mi><mml:mi>a</mml:mi><mml:mi>s</mml:mi><mml:mi>s</mml:mi><mml:mi>w</mml:mi><mml:mi>o</mml:mi><mml:mi>r</mml:mi><mml:mi>d</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula></td>
<td>0.5260</td>
<td>0.92</td>
<td>1.12</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As indicated in <xref ref-type="table" rid="table-1">Tab. 1</xref> that smurf attack is categorized under DoS attack and guess password is categorized under R2L, the rules 4, 5, 6, 7, 8 indicated that the relation between:
<list list-type="bullet">
<list-item><p>Service attribute when it&#x2019;s value &#x201C;erc_i&#x201D;, label value <inline-formula id="ieqn-17"><alternatives><inline-graphic xlink:href="ieqn-17.png"/><tex-math id="tex-ieqn-17"><![CDATA[$\text{``smurf''}=> \text{protocol\_type}$]]></tex-math><mml:math id="mml-ieqn-17"><mml:mstyle class="text"><mml:mtext>&#x201C;smurf&#x201D;</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mo>&#x003E;</mml:mo><mml:mstyle class="text"><mml:mtext>protocol_type</mml:mtext></mml:mstyle></mml:math></alternatives></inline-formula> attribute value &#x201C;icmp&#x201D;,</p></list-item>
<list-item><p>Label <inline-formula id="ieqn-18"><alternatives><inline-graphic xlink:href="ieqn-18.png"/><tex-math id="tex-ieqn-18"><![CDATA[$\text{``smurf''}=> \mathrm{f{l}ag}$]]></tex-math><mml:math id="mml-ieqn-18"><mml:mstyle class="text"><mml:mtext>&#x201C;smurf&#x201D;</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mo>&#x003E;</mml:mo><mml:mstyle mathvariant="normal"><mml:mi>fl</mml:mi><mml:mi>a</mml:mi><mml:mi>g</mml:mi></mml:mstyle></mml:math></alternatives></inline-formula> attribute value &#x201C;SF&#x201D;</p></list-item>
<list-item><p>Label name <inline-formula id="ieqn-19"><alternatives><inline-graphic xlink:href="ieqn-19.png"/><tex-math id="tex-ieqn-19"><![CDATA[$\text{``smurf''}=> \text{protocol\_type}$]]></tex-math><mml:math id="mml-ieqn-19"><mml:mstyle class="text"><mml:mtext>&#x201C;smurf&#x201D;</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mo>&#x003E;</mml:mo><mml:mstyle class="text"><mml:mtext>protocol_type</mml:mtext></mml:mstyle></mml:math></alternatives></inline-formula> value &#x201C;icmp&#x201D;</p></list-item>
<list-item><p>Dst_bytes, <inline-formula id="ieqn-20"><alternatives><inline-graphic xlink:href="ieqn-20.png"/><tex-math id="tex-ieqn-20"><![CDATA[$\text{protocol\_type}= \text{``tcp''}=> \text{l}\text{a}\text{b}\text{e}\text{l}= \text{guess password}$]]></tex-math><mml:math id="mml-ieqn-20"><mml:mstyle class="text"><mml:mtext>protocol_type</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle class="text"><mml:mtext>&#x201C;tcp&#x201D;</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mo>&#x003E;</mml:mo><mml:mstyle class="text"><mml:mtext>l</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>a</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>b</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>e</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>l</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle class="text"><mml:mtext>guess&#x00A0;password</mml:mtext></mml:mstyle></mml:math></alternatives></inline-formula></p></list-item>
<list-item><p><inline-formula id="ieqn-21"><alternatives><inline-graphic xlink:href="ieqn-21.png"/><tex-math id="tex-ieqn-21"><![CDATA[$\text{Protocol\_type}= \text{``tcp''}=> \text{l}\text{a}\text{b}\text{e}\text{l}= \text{guess password}$]]></tex-math><mml:math id="mml-ieqn-21"><mml:mstyle class="text"><mml:mtext>Protocol_type</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle class="text"><mml:mtext>&#x201C;tcp&#x201D;</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mo>&#x003E;</mml:mo><mml:mstyle class="text"><mml:mtext>l</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>a</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>b</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>e</mml:mtext></mml:mstyle><mml:mstyle class="text"><mml:mtext>l</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle class="text"><mml:mtext>guess&#x00A0;password</mml:mtext></mml:mstyle></mml:math></alternatives></inline-formula></p></list-item>
</list></p>
</sec>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Conclusion</title>
<p>To achieve any improvement in network intrusion detection, the researcher should focus to reduce false-positive rates and increase the accuracy rate. A framework was presented to integrate data mining classification techniques and association rules to implement network intrusion detection. This framework is used to detect the unknown attacks with a high accuracy rate and low false-positive rate and illustrated that the decision tree is the best classification. This paper demonstrated the association rules with the Apriori algorithm which is applied to the KDD cup 1999 dataset. The results showed that association rules detect DoS, R2L attacks.</p>
</sec>
</body>
<back>
<fn-group><fn fn-type="other"><p><bold>Funding Statement:</bold> The author received no specific funding for this study.</p></fn>
<fn fn-type="conflict"><p><bold>Conflicts of Interest:</bold> The author declares that she has no conflicts of interest to report regarding the present study.</p></fn></fn-group>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Sahasrabuddhe</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Naikade</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Ramaswamy</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Sadliwala</surname></string-name> and <string-name><given-names>P. R.</given-names> <surname>Futane</surname></string-name></person-group>, &#x201C;<article-title>Survey on intrusion detection system using data mining techniques</article-title>,&#x201D; <source>International Research Journal of Engineering and Technology</source>, vol. <volume>4</volume>, no. <issue>5</issue>, pp. <fpage>1780</fpage>&#x2013;<lpage>1784</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. M.</given-names> <surname>Othman</surname></string-name>, <string-name><given-names>F. M.</given-names> <surname>Ba-Alwi</surname></string-name>, <string-name><given-names>N. T.</given-names> <surname>Alsohybe</surname></string-name> and <string-name><given-names>Y. A.</given-names> <surname>Amal</surname></string-name></person-group>, &#x201C;<article-title>Intrusion detection model using machine learning algorithm on big data environment</article-title>,&#x201D; <source>Journal of Big Data</source>, vol. <volume>5</volume>, no. <issue>1</issue>, pp. <fpage>521</fpage>, <year>2018</year>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Dali</surname></string-name>, <string-name><given-names>A.</given-names> <surname>Bentajer</surname></string-name>, <string-name><given-names>E.</given-names> <surname>Abdelmajid</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Abouelmehdi</surname></string-name>, <string-name><given-names>H.</given-names> <surname>Elsayed</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>A survey of intrusion detection system</article-title>,&#x201D; in <conf-name>2nd World Sym. on Web Applications and Networking</conf-name>, Tunisia, <publisher-loc>Piscataway</publisher-loc>: <publisher-name>IEEE</publisher-name>, pp. <fpage>1</fpage>&#x2013;<lpage>6</lpage>, <year>2015</year>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>K.</given-names> <surname>Peng</surname></string-name>, <string-name><given-names>V. C. M.</given-names> <surname>Leung</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Zheng</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Wang</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Huang</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Intrusion detection system based on decision tree over big data in fog environment</article-title>,&#x201D; <source>Wireless Communications and Mobile Computing</source>, vol. <volume>2018</volume>, no. <issue>5</issue>, pp. <fpage>1</fpage>&#x2013;<lpage>10</lpage>, <year>2018</year>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>T.</given-names> <surname>Rupa Devi</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Badugu</surname></string-name></person-group>, &#x201C;<article-title>A review on network intrusion detection system using machine learning</article-title>,&#x201D; in <conf-name>Int. Conf. on Emerging Trends in Engineering 2019, LAIS</conf-name>, Switzerland: <publisher-name>Springer Nature Switzerland</publisher-name>, vol. <volume>4</volume>, pp. <fpage>598</fpage>&#x2013;<lpage>607</lpage>, <year>2020</year>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A. A.</given-names> <surname>Diro</surname></string-name> and <string-name><given-names>N.</given-names> <surname>Chilamkurti</surname></string-name></person-group>, &#x201C;<article-title>Distributed attack detection scheme using deep learning approach for Internet of Things</article-title>,&#x201D; <source>Future Generation Computer Systems</source>, vol. <volume>82</volume>, pp. <fpage>761</fpage>&#x2013;<lpage>768</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Liu.</surname></string-name> and <string-name><given-names>B.</given-names> <surname>Lang</surname></string-name></person-group>, &#x201C;<article-title>Machine learning and deep learning methods for intrusion detection systems: A survey</article-title>,&#x201D; <source>Applied Sciences</source>, vol. <volume>9</volume>, no. <issue>20</issue>, pp. <fpage>4396</fpage>, <year>2019</year>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>F. Y.</given-names> <surname>Yavuz</surname></string-name>, <string-name><given-names>D.</given-names> <surname>&#x00DC;nal</surname></string-name> and <string-name><given-names>E.</given-names> <surname>Gul</surname></string-name></person-group>, &#x201C;<article-title>Deep learning for detection of routing attacks in the Internet of Things</article-title>,&#x201D; <source>International Journal of Computational Intelligence Systems</source>, vol. <volume>12</volume>, no. <issue>1</issue>, pp. <fpage>39</fpage>&#x2013;<lpage>58</lpage>, <year>2018</year>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Panda</surname></string-name> and <string-name><given-names>M. R.</given-names> <surname>Patra</surname></string-name></person-group>, &#x201C;<article-title>A comparative study of data mining algorithms for network intrusion detection</article-title>,&#x201D; in <conf-name>First Int. Conf. on Emerging Trends in Engineering and Technology</conf-name>, Nagpur, Maharashtra, <year>2008</year>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>K.</given-names> <surname>Nalavade</surname></string-name> and <string-name><given-names>B. B.</given-names> <surname>Meshram</surname></string-name></person-group>, &#x201C;<article-title>Mining association rules to evade network intrusion in network audit data</article-title>,&#x201D; <source>International Journal of Advanced Computer Research</source>, vol. <volume>4</volume>, no. <issue>2</issue>, pp. <fpage>560</fpage>&#x2013;<lpage>567</lpage>, <year>2014</year>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>A.</given-names> <surname>Adebowale</surname></string-name>, <string-name><given-names>S. A.</given-names> <surname>Idowu</surname></string-name> and <string-name><given-names>A.</given-names> <surname>Amarachi</surname></string-name></person-group>, &#x201C;<article-title>Comparative study of selected data mining algorithms used for intrusion detection</article-title>,&#x201D; <source>International Journal of Soft Computing and Engineering</source>, vol. <volume>3</volume>, no. <issue>3</issue>, pp. <fpage>237</fpage>&#x2013;<lpage>241</lpage>, <year>2013</year>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>D.</given-names> <surname>Barbara</surname></string-name>, <string-name><given-names>N.</given-names> <surname>Wu</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Jajodia</surname></string-name></person-group>, &#x201C;<article-title>Detecting novel network intrusions using Bayes estimators</article-title>,&#x201D; in <conf-name>Proc. of the First SIAM Int. Conf. on Data Mining (SDM 2001)</conf-name>, Chicago, IL, <year>2001</year>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><given-names>T. D.</given-names> <surname>Lane</surname></string-name></person-group>, &#x201C;<article-title>Machine learning techniques for the computer security domain of anomaly detection</article-title>,&#x201D; <comment>Ph.D. dissertation, Purdue University, Electrical and Computer Engineering</comment>, <year>2000</year>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Brugger</surname></string-name></person-group>, &#x201C;<article-title>Data mining methods for network intrusion detection</article-title>,&#x201D; <comment>Ph.D. dissertation</comment>, <publisher-name>University of California</publisher-name>, Davis, pp. <fpage>1</fpage>&#x2013;<lpage>65</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>K.</given-names> <surname>Reddy</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Iaeng</surname></string-name>, <string-name><given-names>V. N.</given-names> <surname>Reddy</surname></string-name> and <string-name><given-names>P. G.</given-names> <surname>Rajulu</surname></string-name></person-group>, &#x201C;<article-title>A study of intrusion detection in data mining</article-title>,&#x201D; in <conf-name>Proc. of the World Congress on Engineering 2011</conf-name>, London, UK, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>V.</given-names> <surname>Veeralakshmi</surname></string-name> and <string-name><given-names>D.</given-names> <surname>Ramyachitra</surname></string-name></person-group>, &#x201C;<article-title>Ripple down rule learner (RIDOR) classifier for iris dataset</article-title>,&#x201D; <source>International Journal of Computer Science Engineering</source>, vol. <volume>4</volume>, no. <issue>3</issue>, pp. <fpage>79</fpage>&#x2013;<lpage>85</lpage>, <year>2015</year>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Hanguang</surname></string-name> and <string-name><given-names>N.</given-names> <surname>Yu</surname></string-name></person-group>, &#x201C;<article-title>Intrusion detection technology research based on apriori algorithm</article-title>,&#x201D; <source>International Conference on Applied Physics and Industrial Engineering</source>, vol. <volume>24</volume>, pp. <fpage>1615</fpage>&#x2013;<lpage>1620</lpage>, <year>2012</year>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Jiang</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Gan</surname></string-name>, <string-name><given-names>C.</given-names> <surname>Wang</surname></string-name> and <string-name><given-names>Z.</given-names> <surname>Wang</surname></string-name></person-group>, &#x201C;<article-title>Research of the intrusion detection model based on data mining</article-title>,&#x201D; <source>Elsevier Energy Procedia</source>, vol. <volume>13</volume>, no. <issue>4</issue>, pp. <fpage>855</fpage>&#x2013;<lpage>863</lpage>, <year>2011</year>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Devaraju</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Ramakrishnan</surname></string-name></person-group>, &#x201C;<article-title>Detection of attacks for ids using association rule mining algorithm</article-title>,&#x201D; <source>IETE Journal of Research</source>, vol. <volume>61</volume>, no. <issue>6</issue>, pp. <fpage>624</fpage>&#x2013;<lpage>633</lpage>, <year>2015</year>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>R. R.</given-names> <surname>Chaudhari</surname></string-name> and <string-name><given-names>S. P.</given-names> <surname>Patil</surname></string-name></person-group>, &#x201C;<article-title>Intrusion detection system: Classification, techniques and datasets to implement</article-title>,&#x201D; <source>International Research Journal of Engineering and Technology</source>, vol. <volume>4</volume>, no. <issue>2</issue>, pp. <fpage>1860</fpage>&#x2013;<lpage>1866</lpage>, <year>2017</year>.</mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>A. A.</given-names> <surname>Olusola</surname></string-name>, <string-name><given-names>A. S.</given-names> <surname>Oladele</surname></string-name> and <string-name><given-names>D. O.</given-names> <surname>Abosede</surname></string-name></person-group>, &#x201C;<article-title>Analysis of KDD &#x2019;99 intrusion detection dataset for selection of relevance features</article-title>,&#x201D; in <conf-name>Proc. of the World Congress on Engineering and Computer Science 2010</conf-name>, San Francisco, USA, vol. <volume>1</volume>, <year>2010</year>.</mixed-citation></ref>
</ref-list>
</back>
</article>