The growing complexity of cyber threats has made it essential to develop dependable network intrusion detection systems that can accurately identify both normal and harmful network traffic. This paper introduces an offline dataset-based Network Intrusion Detection and Prevention System (NIDS) built on a hybrid Convolutional Neural Network and Residual Feedforward Neural Network (CNN-RFNN) architecture designed for classifying network traffic. The proposed system operates on the CSE-CIC-IDS2018 dataset and handles network-flow records through a pipeline that includes data cleaning, feature extraction, normalization, and classification using 78 network traffic features. To assess how well the model performs on data it has not previously encountered, the dataset is split into 70% for training and 30% for testing, with the testing portion kept entirely separate during the training phase. The system combines the trained model with a security dashboard that offers attack classifi-cation, confidence levels, security alerts, threat analysis, and dataset-based simulation capabilities. Experimental findings show that the hybrid model is capable of reliably distinguishing normal traffic from various intrusion categories and delivering strong classification results on previously unseen network flows. The proposed framework offers a practical and reproducible method for integrating deep-learning-based intrusion detection with a security monitoring interface intended for network security analy-sis.
Introduction
The study proposes a Hybrid Convolutional Neural Network–Residual Feedforward Neural Network (CNN-RFNN)-based Network Intrusion Detection System (NIDS) for detecting and classifying malicious network traffic. The research aims to improve intrusion detection by combining the feature-learning capabilities of CNN with the residual learning mechanism of RFNN.
The proposed system uses the CSE-CIC-IDS2018 dataset, which contains network traffic records representing both normal and different types of malicious activities. The dataset is preprocessed by removing unnecessary attributes, handling missing and duplicate values, converting categorical data into numerical form, and normalizing the selected features. A total of 78 network traffic features are used for model development.
The dataset is divided into 70% training data and 30% unseen testing data to evaluate the model's ability to classify previously unobserved network traffic. The CNN component extracts meaningful relationships from network features, while the RFNN component uses residual connections to improve information flow and learn complex feature representations. The outputs of both components are combined to perform the final classification.
The trained model is integrated into a security dashboard that displays detected network events, predicted attack categories, confidence scores, and classification results. This dashboard provides an interactive environment for monitoring network traffic and analyzing potential security threats.
The experimental results demonstrate promising performance. The proposed CNN-RFNN model achieved an overall accuracy of 98.1%, with 73.7% precision, 71.4% recall, 70.9% macro F1-score, and 97.9% weighted F1-score. The experimental interface also reported 98.5% accuracy on unseen test data. However, the difference between the two reported accuracy values requires clarification to ensure consistency in the final research paper.
Overall, the study demonstrates the potential of combining CNN and RFNN architectures for network intrusion detection. It emphasizes independent testing, effective feature preprocessing, and dashboard-based visualization to develop a practical and efficient NIDS framework.
Develops a hybrid CNN-RFNN architecture for network intrusion detection.
Uses 78 network traffic features from the CSE-CIC-IDS2018 dataset.
Maintains a 70:30 training and unseen testing split.
Classifies network traffic into 15 classes.
Achieves reported accuracy of 98.1%.
Integrates the trained model with an interactive security dashboard for threat visualization and analysis.
Conclusion
The proposed work introduces a hybrid deep-learning-based Network Intrusion Detection System (NIDS) that effectively identifies and classifies network traffic using the CSE-CIC-IDS2018 dataset. This system integrates a Convolutional Neural Network (CNN) with a Residual Feedforward Neural Network (RFNN) to extract representative patterns from 78 distinct network-flow features. The process involves several key steps, including data preprocessing, feature scaling, label encoding, a 70:30 split of the dataset, model training, evaluation on unseen data, and visualization via a dedicated security dashboard.
Experimental results indicate that the system achieves impressive performance metrics, reporting an accuracy of 98.1%, precision of 73.7%, recall of 71.4%, and a macro F1-score of 70.9%. Additionally, the weighted F1-score stands at 97.9%. An analysis of the confusion matrix reveals that the majority of samples are accurately classified, though the disparity between macro and weighted performances suggests that certain traffic classes may require additional focus.
The developed dashboard enhances usability by providing a practical interface for monitoring detected traffic, various attack types, confidence levels, and associated security alerts. Looking ahead, the proposed system holds potential for further development through its evaluation on multiple intrusion-detection datasets like UNSW-NB15, NSL-KDD, and CICIDS2017, aiming to assess cross-dataset generalization. There is also scope for implementing class-balancing and data-augmentation techniques to enhance the detection rates of underrepresented attack types.
Future enhancements may encompass hyperparameter optimization, automated feature selection, and the design of lightweight models. Investigating Explainable AI frameworks could improve the transparency of model predictions Subsequent iterations might also integrate threat correlation, alert prioritization, and the initiation of controlled automated response strategies. These advancements are expected to evolve the CNN-RFNN framework into a more versatile and comprehensive solution for the dynamic landscape of network security.
References
[1] Rushendra, Ramli, K., Hayati, N., Ihsanto, E., Gunawan, T. S., & Halbouni, A. H. (2021). Development of Intrusion Detection System using Residual Feedforward Neural Network Algorithm. 2021 4th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), 539–543. https://doi.org/10.1109/isriti54043.2021.9702773
[2] Jani, K., Lalwani, P., Upadhyay, D., & Potdar, M. B. (2019). Network Intrusion Detection System using Threat Intelligence and Deep Learning Approach. International Journal of Computer Sciences and Engineering, 7(4), 526–531. https://doi.org/10.26438/ijcse/v7i4.526531
[3] Jihado, A. A., & Girsang, A. S. (2024). Hybrid Deep Learning network intrusion detection system based on convolutional neural network and bidirectional Long Short-Term memory. Journal of Advances in Information Technology, 15(2), 219–232. https://doi.org/10.12720/jait.15.2.219-232
[4] Farhan, M., Din, H. W. U., Ullah, S., Hussain, M. S., Khan, M. A., Mazhar, T., Khattak, U. F., & Jaghdam, I. H. (2025). Network-based intrusion detection using deep learning technique. Scientific Reports, 15(1), 25550. https://doi.org/10.1038/s41598-025-08770-0
[5] Liang, J., Lin, Q., Chen, J., & Zhu, Y. (2019). A filter model based on hidden generalized mixture transition distribution model for intrusion detection system in vehicle ad hoc networks. IEEE Transactions on Intelligent Transportation Systems, 21(7), 2707–2722. https://doi.org/10.1109/tits.2019.2905415
[6] Salman, M., Husna, D., Apriliani, S. G., & Pinem, J. G. (2018). Anomaly based Detection Analysis for Intrusion Detection System using Big Data Technique with Learning Vector Quantization (LVQ) and Principal Component Analysis (PCA). 2018 International Conference on Artificial Intelligence and Virtual Reality (AIVR), 20–23. https://doi.org/10.1145/3293663.3293683