2TierEdge-Defense: a cascaded defense framework with rule-based LSTM for NCIFA in NDN
필름·전자재료 · (11) 배리어 필름
기본 정보
- 저자
- DOI
- 10.1080/24751839.2024.2376299
- 저널
- Journal of Information and Telecommunication
- 발행년도
- 2024
- 발행기관
- Taylor & Francis
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1080/24751839.2024.2376299
- 토픽
- Carbon and Quantum Dots Applications
- OpenAlex ID
- W4400864173
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (11) 배리어 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 43,261자
본문 펼치기
섹션 본문 79문단 · 41,670자
(제목 없음)
1Non-Collusive Interest Flooding Attacks (NCIFA) disrupt Named Data Networks' (NDNs) seamless communication and content distribution through QoS degradation.This work proposes 2TierEdge-Defense: a framework based on Long Short Term Memory (LSTM) to detect NCIFA in NDN at the edge content routers.The framework has been evaluated on large-scale Rocketfuel topologies for AT&T Internet Service Provider.The 2TierEdge-Defense framework consists of attack detection and mitigation modules with detection at edge router and their interfaces.During offline training and evaluation, the 2TierEdge-Defense framework can detect NCIFA with 0.92 (F1-score) and 0.84 (F1-score) at edge routers and their interfaces, respectively, with cascaded F1-score of 0.9872.Upon detection, the mitigation strategy in the 2TierEdge-Defense framework can improve the QoS metrics as quickly as in 0.45 seconds with an overall F1 score as high as 0.9872.The 2TierEdge-Defense is evaluated for scalability topology scenarios to ensure better performance when deployed on NDN content routers with a cascaded miss rate of 0.1 and a false alarm rate of 0.07.
Introduction
2The Internet is expanding with time, and its content retrieval ability is utilized by its application to its full capability.This has only led to the inorganic scaling of the existing overlay networks over and above its host-centric architecture.However, the architecture has been redesigned and extensively researched with the rise of a new Internet paradigm called Information-Centric Networking (ICN).The ICN-based Internet architecture operates solely with information objects without using IP addresses as in the traditional hostbased Internet.The content is communicated based on the object names, with the ICN routers capable of caching the content objects, termed in-network caching.The named objects are secured through per-object self-certified digital signatures.Some of the ICN architectures widely being used are Named Data Networks (NDN) (Zhang, 2011), Content-Centric Networks (CCN) (Jacobson et al., 2009), MobilityFirst (Seskar et al., 2011), eXpressive Internet (XIA) (Han et al., 2012), Data-Oriented Network Architecture (DONA) (Koponen et al., 2007), NetInf (Ahlgren et al., 2008), PSIRP/PURSUIT (Tarkoma et al., 2009).Of these many architectures, NDN is the most widely used and famous ICN architecture in the research and industrial community (Ahlgren et al., 2012).
3Although a decade of effort and research has gone into NDN development, some of the issues inherent to content security persist in end applications (Hurali & Patil, 2022).Distributed Denial of Service (DDoS) attacks, such as Interest Flooding Attacks (IFA), are one of the ongoing variants of DDoS attacks in NDN (AbdAllah et al., 2015;Carofiglio et al., 2013).Traditionally, IFA detection has been performed by prefix-based methods (Afanasyev et al., 2013) or network traffic/QoS-based methods (Benarfa et al., 2021;Salah et al., 2015).However, these methods have limitations such as communication overhead, generalization issues due to thresholding, poor scalability in real scenarios and limited adaptability to new attack traffic patterns.Thus, using intelligent mechanisms that utilize non-linearity in traffic patterns seems to be a promising approach (Narkar & Shekokar, 2021).Considering the time-series nature of these IFA-DDoS attacks, we opted for a Deep Learning based Long Short Term Memory model for improved detection as a part of our 2Tier-Edge-Defense.In particular, we address the Non-Collusive variant of IFA-DDoS (NCIFA), wherein the Content Producers are assumed to be trustworthy.
4One of our main contributions is tackling the limitations of previous studies, which often focussed on simple network topologies like binary trees or basic net-like topologies (Xing et al., 2021;Zhang & Li, 2019;Zhang et al., 2022;Zhi et al., 2019).In contrast, we recognized the importance of complex network topologies resembling Internet Service Providers (ISP) and their relevance for real-world scalability.Recently, works like (Agiollo et al., 2023;Kumar et al., 2021;Magsi et al., 2023) have worked with ISP-like topologies.Still, the topologies used are DFN and Ebone ISP, consisting of 37 and 163 nodes, respectively.Our research explicitly employs DL models based on the Rocketfuel AT&T ISP topology (overall 625 nodes), providing a more realistic and applicable framework for NDN operations.Nonetheless, the performance comparison of our work is performed with (Agiollo et al., 2023;Kumar et al., 2021;Magsi et al., 2023) to portray the improvements in our 2TierEdge-Defense framework.
5Moreover, previous works typically overlooked the variability in attack durations and the diversity of malicious entities.In contrast, our experiments encompass three different attack durations and varying numbers of malicious entities, ensuring that our models are trained comprehensively across versatile attack scenarios.Furthermore, our two-tier model architecture distinguishes our approach from previous methods.By deploying a coarse-grained model at the edge router (Tier I) and fine-grained models at each router's interface under attack (Tier II), we effectively reduce computational complexity while maintaining overall high detection accuracy.The decision-making process between these tiers, guided by our 2TierEdge-Defense framework's rules, minimizes false alarms and missed IFA detections, showcasing a significant advancement in attack detection methodologies.
6Finally, our models are fine-tuned using ndnSIM traces to estimate inference times, a crucial metric in IFA-DDoS detection that has been previously overlooked.This comprehensive approach addresses existing research gaps and provides a highly efficient and accurate solution for detecting IFAs in complex network environments, substantially contributing to NDN security.The main contributions of this work are as follows:
7. Introducing a DL-based LSTM model tailored for detecting Interest Flooding Attacks (IFA) in Named Data Networks (NDN), filling a critical gap in network security research. .Leveraging the Rocketfuel AT&T ISP topology, our 2TierEdge-Defense framework offers scalability and realism, surpassing previous studies' limited use of simplistic network topologies. .Proposing a two-tier model architecture for IFA detection, 2TierEdge-Defense framework, combining coarse-grained and fine-grained detection while ensuring high accuracy, a significant advancement in attack detection methodologies.
8The rest of the work is organized as follows: Section 1 provides an introduction to the work, and Section 2 discusses the related work and novelty of the proposed work.A brief discussion on the background of NCIFA in NDN, along with Rockefuel ISP topologies, is discussed in Section 3. Section 4 provides an in-depth discussion of the 2TierEdge-Defense framework.The performance evaluation of the 2TierEdge-Defense framework is discussed in Section 5. Finally, Section 6 concludes the work with emphasis on its advantages and future works.
Related work
9Many recent works have proposed the detection of NCIFA in NDN based on machine/deep learning models (Magsi et al., 2023)- (Zhang & Li, 2019) (consolidated in Table 1).However, most of them lack the usage of realistic large-scale topology or incorporation of time series models for detection.Much to the dismay of researchers in this field, the dataset is not publicly available to compare the state-of-the-art works.In Magsi et al. (2023), the authors propose an ML-based detection system for tree and German Research Network (DFN) topologies with models such as logistic regression, decision tree, K-nearest neighbour, random forest, and Gaussian naïve Bayes.They can achieve a maximum of 94% accuracy with a random forest algorithm.A graph neural network-based NCIFA detection method is proposed in Agiollo et al. (2023) with Ebone (AS1755) topology from RocketFuel ISP mapper (Spring et al., 2002).The work can achieve accuracy and F1 score of 99.5 and 99.6 %, respectively (for 60:40 train test split), with a false alarm rate of 0.75-1.16%.The dataset is publicly released for further research; hence, we consider this work a potential candidate for comparison.An attention-based LSTM is built on the NDN data in Zhang et al. (2022), thus utilizing the long-range dependency in the NDN network.However, the work is based on simple tree topology; hence, the results are untested for large-scale ISP-like topology.Another work on a binary tree topology is presented in Xing et al. (2021), with IsolationForest as the detection model.Nonetheless, the model performs well with a detection time of 0.8 seconds, even in a small-scale topology.Authors in Kumar et al. (2021) discussed models for detecting NCIFA in NDN with a tree and DFN-like topologies.However, just like other works, the results cannot be further projected for deployment scenarios in NDN.One of the pioneer works, in offline and online detection of NCIFA In NDN, is discussed in Zhi et al. (2019).However, the authors use a simple binary tree topology, achieving a true positive rate of 99%.A similar attempt is performed in Zhang and Li (2019) on tree and net-like topology with an accuracy of 84-87%.Unlike the current learning-based detection methods in the literature, this work aims to fill the gap between the usability of large-scale topology and the analysis of the NCIFA problem as a time series classification task with a diverse
Named data networks (NDN)
10The Named Data Networks have been developed using redesigned Internet architecture.The NDN protocol stack consists of an Application layer, Transport layer, Network layer, Link layer and Transmission media.The NDN nodes can be broadly classified as Content Producers (CPs), Content Consumers (CCs) and Content Routers (CRs).The CPs are the nodes that own/produce the content; the CCs are the clients that request the named objects; the CRs are the ones that facilitate the request and response of named objects between the CPs and CCs and can also cache the objects.The path from the CCs to the CPs is termed the upstream, and the opposite is the downstream.The communication in NDN architecture is consumer-driven (unlike the current Internet), where the CCs request the content through names, and the CPs communicate downstream through the named objects.The CCs send an interest packet for a named object upstream through the routers; in case the CRs in the path have cached the object, it sends the data packet to the CCs locally, or else it stores the interest packet details and forwards the interest packets upstream through other CRs towards the CPs as in Figure 1.To better understand this, consider the example shown in Figure 1, with three CCs and two CPs (with content identified with /prefix1 and /prefix2).If CC 1 requests for /prefix1, the Interest packet travels upstream till the CP 1 .Consequently, the data packet moves downstream through appropriate CRs (at the same time caching the data) until the CCs.In case the CC 2 requests for /prefix1, as the CR has cached a copy, it receives the Data packet without the intervention of CPs (highlighted in blue).In case further, the CC 3 sends Interest for /prefix2, the CP 2 provides the Data packet with any subsequent Interest packet being satisfied by the cached copy at CRs.This whole communication is performed through the network layer data structures termed a Content Store (CS), a Pending Interest Table (PIT) and a Forwarding Information Base (FIB).Their functionalities are as detailed below (Figure 2):
11. Content Store (CS): CS is a database in an NDN router facilitating caching of named objects .Pending Interest Table (PIT): PIT is a database in an NDN router that holds arrived Interest packets that are not satisfied yet.It also performs interest aggregation to avoid redundancy and does exact match for Interest matching. .Forwarding Information Base (FIB): FIB is a database within an NDN routers a set of prefixes and their associated faces for Interest and Data forwarding using longest prefix matching.
12An arriving Interest packet is responded to with a Data packet by the CS (after PIT verification) at any intermediate CR or updated at the PIT.It is forwarded to the upstream CR using FIB through appropriate interfaces.If the Interest is forwarded upstream, the CP or the CR in the path responds with the Data packet to the downstream node through the same path as the Interest packet through the appropriate interface as per FIB.If the FIB has no routes, a NACK packet is received, or the Interest packet is dropped without forwarding.An NDN communication can be modeled as a time series, satisfying the longrange dependency property as in Equation (1).
13Here, h t represents the hidden state or context of the NDN network at time t, and I t is the interest packet at time t.D t− 1 is the data packet received at the previous time step (t−1).h t− 1 is the hidden state from the previous time step and W Ih , W Dh , and W hh are weight matrices.tanh is the hyperbolic tangent activation function.The weights W Ih , W Dh , and W hh determine the influence of the current interest packet, the previous data packet, and the previous hidden state on the current state, respectively.
Interest flooding attacks (IFAs)
14Interest Flooding Attack (IFA) is a DDoS attack in NDN where Malicious CCs (MCs) flood the network and hence the CRs and the CPs through unsatisfiable Interests to ensure denial of service for Legitimate Consumers (LCs) and burden the CPs.The immediate effects of IFAs can be delay and packet loss at network and link layers of NDN.The CRs undergo loss and PIT overload due to IFA.There are many attack patterns in IFA in NDN depending on the role of CCs and CPs and the request pattern for a data prefix (Lee et al., 2022).This study mainly focuses on the Non-Collusive IFA (NCIFA), where the MCs request valid named objects whose prefix already exists with the CRs and/or the CPs.Due to the asymmetry between Interest and Data packets during IFA, the network QoS gets affected by throughput, loss and latency.The characteristic effect of NCIFA on CPs, CRs and CCs is provided in our previous study performed in Hurali et al. (2023).A sample effect on the NDN communication due to IFA is shown in Figure 3.
15The IFA attack can be modeled by Equation ( 2).
16Here, A t− 1 represents the impact of the attack at the previous time step (t−1).W Attack is a weight matrix associated with the attack term, and σ is the sigmoid activation function.This equation suggests that the current interest packet influences the current hidden state during an Interest Flooding Attack, the impact of the attack at the previous time step, and the previous hidden state.Using the sigmoid activation function indicates that the attack term can modulate the influence of the interest packet and the previous hidden state.The weight W Attack determines the influence of the attack term on the current hidden state.Hence, the IFA detection can be best modeled by RNNs like LSTMs with appropriate modifications.The state of the network during an Interest Flooding Attack can be modeled using an LSTM-inspired equation:
RocketFuel: a large scale ISP topology mapper
17A suitable topology must be incorporated to study the IFA in NDN, as the performance and scalability of detection and mitigation strategies depend on the realistic nature of the topology used for simulation.In that direction, RocketFuel is the widely used ISPbased topology mapper at the router level.This method involves router-level real-time ISP topologies for ten different ISPs validated for completeness, such as Abovenet, AT&T, Ebone, Exodus, Level3, Sprint, Telstra, Tiscali (Europe), Verio, and VSNL (India) using BGP, DNS and IP protocol.Each of the topology files provides a list of nodes classified as backbone (bb), gateway (gw) and leaf nodes (lf).The AT&T 7018 autonomous system consists of 221 backbone,108 gateway and 296 leaf, respectively.We choose one widely used and researched ISP topology in the RocketFuel ISP mapper: the AT&T (AS7018) autonomous system.The NCIFA attack simulation through ndnSIM is performed on AT&T topology.In NCIFA simulation, a set of leaf nodes is often regarded as CCs, and a set of backbone nodes is regarded as CPs.The rest of the nodes in the topology serve as CRs.As seen from Figure 4, the AT&T topology from RocketFuel data is considered to design and develop the 2TierEdge-Defense framework to accommodate scalable and near real-time observations.
2TierEdge-Defense: a framework for NCIFA detection and mitigation
18The 2TierEdge-Defense framework for NCIFA Detection and Mitigation in NDN is shown in Figure 5.The commonly used notations in the 2TierEdge-Defense framework, along with its descriptions, are shown in Table 2 4
.1. Real-time dataset generation
19Due to the non-availability of appropriate datasets at the time of this study, we chose to develop a dataset for NCIFA in NDN.The dataset is a time series dataset with multiple simulation traces obtained through ndnSIM.The following sections discuss the submodules of real-time data generation.
Attack and baseline scenarios
20To initiate the NCIFA research, a vast set of attack experiments were performed in ndnSIM simulated environment.This research addresses the NCIFA attack detection problem with a time series classification approach.The baseline scenario is when there is no NCIFA attack and communication is seamless, with adequate PIT consumption, near-to-zero packet drop rate at the router, and loss rate at all interfaces (netFaces).
Attack model
21The attack model employed in this work in the context of the NCIFA detection and mitigation study contributes to developing the 2TierEdge-Defense framework.The authors discuss various NCIFA models in Lee et al. (2022).To maintain conciseness, we briefly illustrate the employed NCIFA attack model in Figure 6.In this model, the attacker operates on the CCs' side, inundating the edge CRs with a flood of interest packets.Consequently, the CR's PIT and queues become overloaded, causing congestion upstream and adversely affecting the CPs, ultimately leading to the deprivation of Quality of Service (QoS) for LCs.
22In the illustration of Figure 6, we consider two producers, CP 1 and CP 2 as CPs able to cater to content with prefixes /prefix1 and /prefix2 respectively.In addition, an MC labelled, MC 1 and two LCs labelled LC 2 and LC 3 .A straightforward case of flooding In the case of NCIFA, the multiple MCs perform the same process at a larger scale, achieving DDoS.
Simulation Scenarios
23This work simulates a continuous high-rate NCIFA attack scenario with three different topology densities and adversarial effects for a range of Interest frequencies as described in Table 3.The CP in the incorporated system is considered trustworthy and not involved in malicious activity, and hence, the attack simulated in this system is termed a Non-Collusive IFA (NCIFA).All the simulations are performed on a local machine equipped with an Intel Core i5 3.2G CPU and 8G RAM, running Ubuntu 20.04 OS.The network topology used in the ndnSIM simulation is obtained from the RocketFuel ISP mapper.All the CCs request the Data using non-disjoint prefixes for existing data, which means that both LCs and MCs request the same prefix in the Interest packet, and the Data packet related to the requested prefix is available at the CP.The CRs are NDN nodes with all the data structures installed on them.We consider a set of attack durations/widths of t = [10, 20, and 30] seconds in a total simulation time of 60 seconds.In addition, the start and end of the attack period are varied in a non-overlapping sliding window fashion to ensure a vast and versatile dataset.Simulations worth multiple hours were performed to generate the real-time dataset for developing the 2TierEdge-Defense framework.Three different density configurations were simulated in the ndnSIM simulator: Small, Medium and Large density configurations.Table 4 gives the numerical configurations for each topology.Employing three distinct configurations with varying scales guarantees diversity and facilitates a thorough performance analysis of the detection model.The leaf nodes from the AT & T topology are randomly chosen at runtime as CCs to ensure the generalization of the developed dataset.Each configuration chooses a set of CCs as malicious nodes (MCs) with three degrees of adversities/MCs: 40%, 60%, and 80%, termed low, medium, and high intensities, respectively.These malicious nodes are chosen randomly at runtime amongst the leaf nodes in the AT & T topology.A range of attack frequencies from MCs, with an interval of 2000 Ips from a minimum of 2000 Ips to a maximum of 10000 Ips, is considered to simulate the NCIFA attack scenarios with the baseline, no attack case from LCs being 100 Ips.
ndnSIM simulator
24ndnSIM is an open-source modular simulator that implements NDN architecture and communication functionalities under a GNU general public license.ndnSIM is an experimental platform based on the NS-3 framework that supports NDN operations, network and link layer experimentations like routing, caching, forwarding, and other large-scale experiments.The ndnSIM simulator is implemented in C++ with both Python and C++ support at the application scenario level.ndnSIM is designed to operate as an independent protocol stack and can be installed on any NS3 simulation node.
Logger script
25The logger script is designed to handle all the configurations together, defined by Tables 3 and 4. The script is developed using Python and Shell scripts.
Data storage
26The ndnSIM log and trace files are organized and stored in a machine with the following configuration for further management and post-processing: Intel Core i5 3.2G CPU and 8G RAM, running Ubuntu 20.04 OS with 1TB HDD.
Post processing
27The ndnSIM log and trace files are systematically collected and analyzed further to create a comprehensive dataset for time series analysis.Since the nodes in a specific topology are chosen randomly during real-time simulation, the log files are processed during this stage to obtain the MCs and the edge CRs connected to them as per the topology information from AT & T files.The algorithm for dataset preparation is as in Algorithm 1.We denote a time point with abnormality, whether attack or not, so the problem becomes an abnormal time point detection of NCIFA attack with labels/targets being [ATTACK, NO_ATTACK].
Exploratory data analysis
28The Real-time data generation modules output two sets of data, PIT & L2 layer data (Tier I dataset) and L3 layer rate data for edge CRs (Tier II dataset).In this subsection, we employ data analysis techniques to assess the credibility of the datasets and gain insights into their reliability.The dataset is labelled after the simulation experiments; hence, it's a supervised classification problem with ATTACK and NO_ATTACK as target labels.
Tier I dataset
29The features in the Tier I dataset are [Time Node Interface Packets Kilobytes PacketsRaw KilobytesRaw NumberOfPitEntries].As seen from the box plots (Figure 7), we notice many outliers in the generated dataset.This is because the attack intensity varies from 2000 to 10000 Ips (with an interval of 2000 Ips), which is very unpredictable as the malicious node controls it.This situation is expected in real network scenarios, depending on the adversaries' capability.However, Recurrent Neural Networks such as Long Short Term Memory (LSTM) are robust in handling noisy and complex data.Hence, we consider them the best choice to handle outliers and capture the irregular pattern that can occur during an NCIFA attack in NDN.A graphical representation of ATTACK class distribution in the Tier I dataset is shown in Figure 8.As expected, the ATTACK class has drop packets and PIT entries on the higher side due to flooding in all three densities.
Tier II dataset
30The features in the Tier II dataset are [Time Node FaceId Node FaceId FaceDescr InInterests OutData Loss].Considering the histogram for small density, the distribution of InInterests and OutData is more concentrated on the lower side with fewer outliers of magnitude of approximately 60 packets for the NO_ATTACK class, which is expected during baseline noattack scenarios.Since the derived metric, loss value at any netFace of CRs, as defined by Equation ( 4), is a complement of the ratio of OutData and InInterests, the loss distribution is mostly around zero for the NO_ATTACK class.Similarly, for the ATTACK class, the distribution for InInterests is towards the higher side due to interest flood, as seen in Figure 9(a) (up to 120, the majority falling between 100-120 packets), Figure 9(d) (up to 400, the majority falling between 150-200 packets), Figure 9(g) (up to 400, the majority falling between 150-200 packets).The Loss values for the ATTACK class for small density are going negative due to the small number of OutData packets due to flooding.However, loss values shoot up to a magnitude of e+13 for medium and large densities due to very high OutData as stale bursts or very low InInterests during an inactive period.Nevertheless, any value close to non-zero signifies the presence of an NCIFA attack.
Tier I and Tier II Edge CR detection modules
31Deep learning algorithms are employed for offline detection in the 2TierEdge-Defense framework, precisely Long Short-Term Memory (LSTMs).These algorithms were trained offline using the Tier I and Tier II datasets separately, allowing us to establish robust models capable of understanding complex temporal patterns in NDN network data.The data preprocessing at both tiers involves rearranging the dataset and checking on missing values.The Train-Test split submodule configures 70:15:15, 80:10:10, and 5-fold stratified cross-validation for training, validation, and testing data partitions.The next submodule configures the extent of the previous simulation time data points considered while training LSTM.In our case, it is around one second of past data points.This parameter is essential as the capturing ability of the 2TierEdge-Defense framework for increasing attack duration (τ) will enhance with this.The data is reshaped to work as (batch size, sequence length, num features) for input to LSTM.The next submodule compiles the LSTM model per the training parameters in Table 5. LSTM, a Recurrent Neural Network, has historically performed well on time series detection due to its ability to capture longrange dependencies.Since the research problem is for network communication data, which inherently satisfies long-range dependencies, LSTM is a natural choice for classifying NCIFA attack detection.A simple LSTM cell is shown in Figure 10 where x and h are input to the cell at time t, σ is sigmoid function and tanh is hyperbolic tangent function.
Model optimization
32Post-training, the deep learning models of both Tiers are optimized for improving the sensitivity or the true positive rate.Hence, we improve the Recall metric without compromising precision through the Receiver Operating Characteristic Area Under the Curve (ROC AUC).
Online classification using ndnSIM
33The optimized models were then profiled for performance and applied to the NDN Interest/Data packet stream using the ndnSIM framework.This implementation enabled online classification of incoming network traffic, allowing immediate detection and response to potential security threats within the NDN network environment.
Evaluation metrics
34We employed a range of metrics to evaluate the effectiveness of our Tier I and Tier II Edge CR detection modules in the 2TierEdge-Defense framework, including accuracy, precision, recall, and F1-score.These metrics provide quantitative insights into the models' performance, allowing us to assess our time series classification approach in the context of NDN network security.We consider two classes, NO_ATTACK (negative class) and ATTACK (positive class), in our framework.So, the confusion matrix for this time series attack is shown in Table 6.
Performance evaluation of 2TierEdge-Defense framework
35This section evaluates the offline Tier I and Tier II edge detection module using the metrics discussed in Section 4.6.
Performance of Tier I Edge CR detection module
36To evaluate the Tier I Edge CR detection module in the 2TierEdge-Defense framework on AT & T topology, the router-level PIT & L2 layer data discussed in Section 4.2.1 is considered.This dataset consists of ['Time', 'Node', 'Interface', 'Packets', 'Kilobytes', 'PacketsRaw', 'KilobytesRaw', 'NumberOfPitEntries', 'Attack_Status'] data from low, medium, and high-density configurations for an attack duration/width of t = 10, 20, 30 seconds.Initially, we evaluate the individual performances of small, medium, and large densities for t = 10 through 5-fold cross-validation methods.The performance of these experiments can be seen in Figure 11.The related Table 7 shows that the average accuracy for small, medium, and large topologies is 0.938, 0.97 and 0.97, respectively.However, we are interested in observing the F1-score of 0.94, 0.97, and 0.968, respectively.
37The detection model at tier I performs reasonably well for different topology densities.However, we are interested in a combined evaluation to arrive at a consolidated model for deployment.In this direction, we analyze the model's performance built on the combined density for t = 10 seconds through various dataset splits.The commonly used split of the dataset, i.e. 70% of the dataset, is used as the training data, and the remaining portion of the dataset is split into two halves as validation and testing data.The LSTM model is trained using the previously mentioned data split for 50 Epochs.Similar training is performed using the 80:10:10 split of the dataset.The training, validation accuracy, and loss values are depicted in Figure 12.
38The accuracy during LSTM model training is persistently high, close to 99.96-99.98%,showing how well both splits perform on the training data.Similarly, the loss during LSTM model training and validation gradually reduces over the training epochs, signifying good learning progress.However, there is a potential risk of overfitting after close to Epoch 20 (Figure 12(d)), indicating the need for early stopping.Although the validation accuracy initially shows a significant gap against the training accuracy, it eventually converges with the training accuracy, ensuring a good generalization for unseen data.The 80:10:10 splits show faster convergence than the 70:15:15 split, slightly due to more proportion of training data.To understand the developed models better, we look at both models' precision, recall, and the F1-score, as seen in Figure 13.The models show a meager false positive rate, depicting that it is often true whenever an attack at an NDN node is predicted.In addition, the false negative rate is also negligible, which is an optimal behaviour from an attack detection model, not leaving any attack instance unnoticed.The previous inferences implicatively show a good F1-score as there is a good balance in precision and recall.However, both models show minimal differences in previously discussed performance metrics, but the 80:10:10 split performs minutely better than the 70:15:15 split.We investigate the Precision-Recall and Area under the Curve for both the models for variations in the decision thresholds for ATTACK and NO_ATTACK classes.As shown in Figure 14, the Precision-Recall curves for both models are smooth, stable/insensitive to changes in the threshold, and the area is closer to 1.0.Thus, the developed models can achieve high accuracy, Precision, Recall, and stability for detecting NCIFA in NDN for the used Dataset.
39In practical deployment, the NCIFA attacks can vary in attack duration/width as attacks can be short-lived or extended.To ensure that the developed NCIFA detection model is robust, effective, can generalize well and does not overfit to a specific attack duration, we assess the model built on the dataset with an attack duration/width of 10 seconds for other attack duration/width of 20 and 30 seconds of simulation.This set of experiments helps to understand the need to refine the detection model further.In that direction, a classification model is built with the dataset of attack duration/width of 10 seconds, and a dataset of attack duration/width of 20 and 30 seconds is used as the test dataset.The model can achieve good accuracy during training and validation and low 15.When this model was tested on different attack durations (for t = 20 seconds and 30 seconds), the evaluation results of these models are as shown in Figure 16.We look at the other metrics, such as precision, recall and F1 score, to ensure the model performs well on specific cases and to understand the impact of false positives and false negatives (Figure 16).Looking closer at the classification report, we notice lower Recall values for the ATTACK class (0.84).As the problem at hand is an NCIFA attack detection, higher Recall values are preferred to achieve a better false negative rate and, in turn, avoid missing an attack instance in real-time.Furthermore, an inspection of Precision-Recall curves against the threshold values is plotted to choose the threshold in Figure 18, thus improving the Recall values as the dataset is imbalanced.Figure 18 shows the variation of precision, recall, and F1 against the decision thresholds for the ATTACK class.A threshold of 0.025 or 0.084 can be chosen to improve the recall values for the ATTACK class, thus reducing any attacks that go unnoticed.One such choice of 0.084 as the finalized threshold value is used to build a model whose metrics can be seen in Figure 17 with improved values.
Performance of Tier II Edge CR detection module
40The Tier II Edge CR detection module is a fine-grained detection module for NCIFA detection in NDN.For brevity, we present the plots without detailing the in-detail experimentation as shown for Tier I. Figure 19 shows the individual model performance of small, medium, and large-density datasets.The performance of small and medium-density datasets is acceptable.However, the large set shows low metrics essentially due to fewer samples in this set.An experiment on combined densities dataset for an attack duration of 10 seconds is built and tested on other durations of 20 and 30 seconds.This model is considered a candidate for the Tier II module.However, the performance of this model can be improved by threshold adjustment specific to our NCIFA detection problem.The performance comparison of the three
Real-time cascaded mitigation module
41This module combines the performance of Tier I and Tier II models through sequential prediction of NCIFA.As discussed earlier, Tier I works at the router level, making coarsegrained detection.In contrast, the fine-grained Tier II works at the interface level by detecting the malicious interface through which interest flood is received.The mitigation strategy is a temporary shutdown of the ndn::NetDevice Face to enable the NDN network to recover from NCIFA and improve the QoS metrics.The Tier I module is a The following Table 9 depicts We then profile our framework on ndnSIM for time to detect NCIFA in NDN (Figure 21).In this regard, if we consider the time our LSTM model takes to create sequences to its input cells as the create sequence time (on an average of 1.44 milliseconds) and the time for its classification as the inference time (on an average of 0.452 seconds), then the total time 2TierEdge-Defense framework takes for NCIFA detection is the sum of these two in addition to a time of 10 past sequences that LSTM requires which is around one second.Figure 22 shows the recovery of netFace loss rate from attack to no attack scenario using the 2TierEdge-Defense framework for different ISP-like topology densities in NDN.The proposed 2TierEdge-Defense framework is compared with other NCIFA detection methods in NDN (Agiollo et al., 2023;Kumar et al., 2021;Magsi et al., 2023) to portray the performance improvements in our 2TierEdge-Defense framework (Figure 23).The accuracy of 2TierEdge-Defense (0.96) is higher than some of the other methods listed but slightly lower than the one presented in Agiollo et al. (2023) (0.9715).However, it's essential to consider both accuracy and F1-score together to comprehensively evaluate the overall NCIFA detection performance.The F1-score of 2TierEdge-Defense (0.9872) is notably higher than the others, indicating strong precision and recall balance.In conclusion, while the accuracy of 2TierEdge-Defense may not be the highest among the listed methods, its exceptional F1 score highlights its effectiveness in achieving a robust balance between precision and recall, making it a promising solution in NCIFA detection in the NDN domain.
Conclusion
42The 2TierEdge-Defense framework introduces a cascaded tier-wise detection of NCIFA in NDN for Rocketfuel AT & T topologies with scalable densities.The performance evaluations show the capabilities of LSTM in attack detection (F1-score of 0.9872) with a meager miss rate (0.1) and a false alarm rate (0.07).This work is a first of its kind in employing a time series classification approach for NCIFA in NDN using Rocketfuel AT&T topologies.The framework also achieves an F1 detection rate of 0.92 and 0.84 at edge routers (Tier I) and their netFace interfaces (Tier II), respectively, with a cascaded F1 score of 0.9872.In the future, we will steer this research toward developing wholesome detection and mitigation models for other ISP-like topologies to achieve an integrated solution.
Figure 1 .
43Figure 1.An example of NDN Communication.
Figure 2 .
44Figure 2. Data structures in Named Data Networks (Named Data Networking Project, 2023).
Figure 3 .
45Figure3.Sample netFace loss rate patterns of IFA(Hurali et al., 2023).
Figure 4 .
46Figure 4. AT&T ISP Topology from RocketFuel ISP mapper (Red: leaf Green: gateway Blue: backbone) (Spring et al., 2002).
Figure 5 .
47Figure 5. 2TierEdge-Defense framework for for NCIFA Detection and Mitigation in NDN.
48is considered in this illustration as opposed to a real large-scale NCIFA DDoS attack.During the NDN communication, if the MC 1 starts sending Interest floods for content with /prefix1, the effect propagates upstream until the CP 1 affecting QoS metrics at CRs as seen in the illustration.During this network disruption, if the legitimate LC 2 requests for /prefix1, it fails to obtain the content, thus depriving QoS.Similarly, due to the flooding of /prefix1 intermediate CRs, even the LC 3 gets affected.Thus, a single MC can disrupt communication through flooding of Interests.
Figure 6 .
49Figure 6.Attack model.
Figure 7 .
50Figure 7. Distribution of features for ATTACK class for different topology densities in Tier I dataset.(a) Small density.(b) Medium density.(c) Large density.
Figure 8 .
51Figure 8. Summary statistics of ATTACK numerical features in Tier I dataset.(a) Small density.(b) Medium density.(c) Large density.
Figure 9 .
52Figure 9. Histogram for different topology densities in Tier II dataset.(a) InInterests for small density.(b) OutData for small density.(c) netFace Loss Rate for small density.(d) InInterests for medium density.(e) OutData for medium density.(f) netFace Loss Rate for medium density.(g) InInterests for large density.(h) OutData for large density.(i) netFace Loss Rate for large density.
Figure 10 .
53Figure 10.An LSTM cell.
Figure 11 .
54Figure 11.Accuracy, Precision, Recall and F1-score of the five-fold cross-validation of the Tier I Edge CR detection module (t = 10 seconds, Density = [small, medium, large]).(a) Small density.(b) Medium density.(c) Large density.
Figure 13 .
55Figure 13.Precision, Recall, and F1-score of the Tier I Edge CR detection module (t = 10 seconds, Density = [small, medium, large]).(a) Precision.(b) Recall.(c) F1-score.
Figure 12 .
56Figure 12.Accuracy and Loss in training Tier I Edge CR detection module (t = 10 seconds, Density = [small, medium, large]).
Figure 15 .
57Figure 15.Accuracy and Loss plots for training and testing Tier I Edge CR detection module (t = [10, 20, 30] seconds, Density = [small, medium, large]).
Figure 14 .
58Figure 14.Precision Recall curve and Area Under the Curve of the Tier I Edge CR detection module (t = 10 seconds, Density = [small, medium, large]).(a) 70:15:15 Split.(b) 80:10:10 Split.
Figure 16 .
59Figure 16.Precision, Recall and F1-score of the Tier I Edge CR detection module (t = [10, 20, 30] seconds, Density = [small, medium, large]).
Figure 17 .
60Figure 17.Performance improvement of Tier I model due to threshold adjustment.
Figure 18 .
61Figure 18.Tier I model with variable NCIFA detection threshold.
Figure 19 .
62Figure 19.Tier II model with t = 10 seconds, Density = [small, medium, large].
63the performance of Tier I and Tier II and the overall ATTACK detection performance of the proposed 2TierEdge-Defense framework.The theoretical detection rate is obtained by Equation (9).Cascaded Tier I & Tier II Detection Rate = 1 − (1 − Tier I Detection Rate) × (1 − Tier II Detection Rate) (9)
Figure 20 .
64Figure 20.Tier II model with performance improvement.
Figure 22 .
65Figure 22. netFace loss rate improvement due to 2TierEdge-Defense framework.
Figure 21 .
66Figure 21.Detection time of 2TierEdge-Defense framework.
Figure 23 .
67Figure 23.Perfromance comparison with other NCIFA detection methods in NDN.
Table 1 .
68Related works.
69Here, i t , f t , o t , and g t are the input, forget, output, and cell update gates, respectively.σ is the sigmoid activation function and ⊙ represents element-wise multiplication.W Ih , W Attack , W ii , W hi , W If , W hf , W Io , W ho , W Ig , W hg , W Attack are learned weight matrices.I
70t is the interest packet at time t, and A t− 1 represents the attack's impact at the previous time step (t−1).h t is the network's hidden state, and c t is the memory cell of the network.This LSTMbased equation integrates the impact of the interest packet, the attack term, and the previous hidden state and memory cell, allowing the model to capture long-term dependencies and dynamics associated with Interest Flooding Attacks.
Table 2 .
71Commonly Used Notations.
Table 3 .
72Basic Simulation parameters.
Table 4 .
73Legitimate and Malicious CCs topology configuration.
Table 5 .
74Training Parameters for LSTM Model used in 2TierEdge-Defense framework.
Table 6 .
75Confusion Matrix for NCIFA classification task at edge CR detection module.
Table 7 .
76Accuracy, Precision, Recall and F1-score of the five-fold cross-validation of the Tier I Edge CR detection module (t = 10 seconds, Density = [small, medium, large].
77loss values, as seen in Figure
Table 8 .
78Evaluation of Attack Detection Across Tiers.
Table 9 .
79Performance metrics on ATTACK class.
참고문헌 21건
- Networking named content 2009 10.1145/1658939.1658941
- MobilityFirst future internet architecture project 2011 10.1145/2089016.2089017
- A Survey of Security Attacks in Information-Centric Networking IEEE Communications Surveys & Tutorials · Institute of Electrical and Electronics Engineers · 2015 10.1109/comst.2015.2392629
- A survey of information-centric networking IEEE Communications Magazine · Institute of Electrical and Electronics Engineers · 2012 10.1109/mcom.2012.6231276
- From content delivery today to information centric networking Computer Networks · Elsevier BV · 2013 10.1016/j.comnet.2013.07.002
- Design considerations for a network of information 2008 10.1145/1544012.1544078
- A data-oriented (and beyond) network architecture 2007 10.1145/1282380.1282402
- Coordination supports security: A new defence mechanism against interest flooding in NDN 2015 10.1109/lcn.2015.7366285
- Feature selection for interest flooding attack in named data networking International Journal of Computers and Applications · Taylor & Francis · 2019 10.1080/1206212x.2019.1583820
- An ARI-HMM based Interest Flooding Attack countermeasure in NDN 2019 10.1109/cscwd.2019.8791924
- ChoKIFA+: an early detection and mitigation approach against interest flooding attacks in NDN International Journal of Information Security · Springer Science+Business Media · 2020 10.1007/s10207-020-00500-z
- Isolation Forest-Based Mechanism to Defend against Interest Flooding Attacks in Named Data Networking IEEE Communications Magazine · Institute of Electrical and Electronics Engineers · 2021 10.1109/mcom.001.2000368
- Measuring ISP topologies with rocketfuel ACM SIGCOMM Computer Communication Review · Association for Computing Machinery · 2002 10.1145/964725.633039
- Evaluation of Intrusion Detection System with Rule-Based Technique to Detect Malicious Web Spiders Using Machine Learning Chapman and Hall/CRC eBooks · Informa · 2021 10.1201/9781003133681-19
- A Survey of Interest Flooding Attack in Named-Data Networking: Taxonomy, Performance and Future Research Challenges IETE Technical Review · Taylor & Francis · 2021 10.1080/02564602.2021.1957029
- IEEE Systems Journal IEEE Systems Journal · Institute of Electrical and Electronics Engineers · 2023 10.1109/jsyst.4267003
- Attention-Based LSTM Model for IFA Detection in Named Data Networking Security and Communication Networks · Hindawi Publishing Corporation · 2022 10.1155/2022/1812273
- Application Areas of Information-Centric Networking: State-of-the-Art and Challenges IEEE Access · Institute of Electrical and Electronics Engineers · 2022 10.1109/access.2022.3223667
- GNN4IFA: Interest Flooding Attack Detection With Graph Neural Networks 2023 10.1109/eurosp57164.2023.00043
- A Machine Learning-Based Interest Flooding Attack Detection System in Vehicular Named Data Networking Electronics · Multidisciplinary Digital Publishing Institute · 2023 10.3390/electronics12183870
- Non-Collusive Interest Flooding Attacks (NCIFA) in Named Data Networks using Rocketfuel ISP topology 2023 10.1109/ants59832.2023.10469359