DBoTPM: A Deep Neural Network-Based Botnet Prediction Model
Abstract
:1. Introduction
2. Earlier Studies
3. Datasets
4. Methodology
4.1. Data Pre-Processing
4.2. Botnet Detection using Approximate Entropy (AE)
4.3. Development and Implementation of the DBoTPM Model
4.4. Uncertainty Assessment
5. Results and Discussions
6. Conclusions
Funding
Data Availability Statement
Conflicts of Interest
References
- Haq, M.A.; Khan, M.A.R.; AL-Harbi, T. Development of Pccnn-Based Network Intrusion Detection System for Edge Computing. Comput. Mater. Contin. 2022, 71, 1769–1788. [Google Scholar] [CrossRef]
- Meidan, Y.; Bohadana, M.; Mathov, Y.; Mirsky, Y.; Shabtai, A.; Breitenbacher, D.; Elovici, Y. N-BaIoT—Network-Based Detection of IoT Botnet Attacks Using Deep Autoencoders. IEEE Pervasive Comput. 2018, 17, 12–22. [Google Scholar] [CrossRef] [Green Version]
- Soe, Y.N.; Santosa, P.I.; Hartanto, R. DDoS Attack Detection Based on Simple ANN with SMOTE for IoT Environment. In Proceedings of the 2019 Fourth International Conference on Informatics and Computing (ICIC), Semarang, Indonesia, 16–17 October 2019; pp. 1–5. [Google Scholar]
- Aamir, M.; Zaidi, S.M.A. DDoS Attack Detection with Feature Engineering and Machine Learning: The Framework and Performance Evaluation. Int. J. Inf. Secur. 2019, 18, 761–785. [Google Scholar] [CrossRef]
- Bahşi, H.; Nõmm, S.; La Torre, F.B. Dimensionality Reduction for Machine Learning Based IoT Botnet Detection. In Proceedings of the 2018 15th International Conference on Control, Automation, Robotics and Vision (ICARCV), Singapore, 18–21 November 2018; pp. 1857–1862. [Google Scholar]
- Dietz, C.; Castro, R.L.; Steinberger, J.; Wilczak, C.; Antzek, M.; Sperotto, A.; Pras, A. IoT-Botnet Detection and Isolation by Access Routers. In Proceedings of the 2018 9th International Conference on the Network of the Future (NOF), Poznań, Poland, 19–21 November 2018; pp. 88–95. [Google Scholar]
- Bhattacharya, S.; Maddikunta, P.K.R.; Kaluri, R.; Singh, S.; Gadekallu, T.R.; Alazab, M.; Tariq, U. A Novel PCA-Firefly Based XGBoost Classification Model for Intrusion Detection in Networks Using GPU. Electronics 2020, 9, 219. [Google Scholar] [CrossRef] [Green Version]
- García, S.; Grill, M.; Stiborek, J.; Zunino, A. An Empirical Comparison of Botnet Detection Methods. Comput. Secur. 2014, 45, 100–123. [Google Scholar] [CrossRef]
- Ahmed, A.A.; Jabbar, W.A.; Al-Shakarchi, A.; Patel, H. Deep Learning-Based Classification Model for Botnet Attack Detection. J. Ambient Intell. Humaniz. Comput. 2020, 13, 3457–3466. [Google Scholar] [CrossRef]
- Alshamkhany, M.; Alshamkhany, W.; Mansour, M.; Khan, M.; Dhou, S.; Aloul, F. Botnet Attack Detection Using Machine Learning. In Proceedings of the 14th International Conference on Innovations in Information Technology IIT, Virtual Conference, 17–18 November 2020; pp. 203–208. [Google Scholar] [CrossRef]
- Alaiz-Moreton, H.; Aveleira-Mata, J.; Ondicol-Garcia, J.; Muñoz-Castañeda, A.L.; García, I.; Benavides, C. Multiclass Classification Procedure for Detecting Attacks on MQTT-IoT Protocol. Complexity 2019, 2019, 6516253. [Google Scholar] [CrossRef] [Green Version]
- Pei, X.; Yu, L.; Tian, S. AMalNet: A Deep Learning Framework Based on Graph Convolutional Networks for Malware Detection. Comput. Secur. 2020, 93, 101792. [Google Scholar] [CrossRef]
- Conti, M.; Dargahi, T.; Dehghantanha, A. Cyber Threat Intelligence: Challenges and Opportunities; Springer: Berlin/Heidelberg, Germany, 2018; Volume 70, ISBN 9783319739502. [Google Scholar]
- Chen, C.; Zhang, P.; Liu, Y.; Liu, J. Financial Quantitative Investment Using Convolutional Neural Network and Deep Learning Technology. Neurocomputing 2020, 390, 384–390. [Google Scholar] [CrossRef]
- McDermott, C.D.; Majdani, F.; Petrovski, A. V Botnet Detection in the Internet of Things Using Deep Learning Approaches. In Proceedings of the 2018 International Joint Conference on Neural Networks (IJCNN), Rio de Janeiro, Brazil, 8–13 July 2018; pp. 1–8. [Google Scholar]
- Chowdhury, S.; Khanzadeh, M.; Akula, R.; Zhang, F.; Zhang, S.; Medal, H.; Marufuzzaman, M.; Bian, L. Botnet Detection Using Graph-Based Feature Clustering. J. Big Data 2017, 4, 14. [Google Scholar] [CrossRef] [Green Version]
- Alothman, B.; Rattadilok, P. Towards Using Transfer Learning for Botnet Detection. In Proceedings of the 2017 12th International Conference for Internet Technology and Secured Transactions (ICITST), Cambridge, UK, 11–14 December 2017; pp. 281–282. [Google Scholar]
- Salim, M.M.; Singh, S.K.; Park, J.H. Securing Smart Cities Using LSTM Algorithm and Lightweight Containers against Botnet Attacks. Appl. Soft Comput. 2021, 113, 107859. [Google Scholar] [CrossRef]
- Joshi, C.; Bharti, V.; Ranjan, R.K. Analysis of Feature Selection Methods for P2P Botnet Detection; Springer: Singapore, 2020; Volume 1244 CCIS, ISBN 9789811566332. [Google Scholar]
- Nguyen, T.N.; Ngo, Q.-D.; Nguyen, H.-T.; Nguyen, G.L. An Advanced Computing Approach for IoT-Botnet Detection in Industrial Internet of Things. IEEE Trans. Ind. Informatics 2022, 18, 8298–8306. [Google Scholar] [CrossRef]
- Lefoane, M.; Ghafir, I.; Kabir, S.; Awan, I.-U. Unsupervised Learning for Feature Selection: A Proposed Solution for Botnet Detection in 5G Networks. IEEE Trans. Ind. Informatics 2023, 19, 921–929. [Google Scholar] [CrossRef]
- Wang, J.; Paschalidis, I.C.; Ch, I. Botnet Detection Based on Anomaly and Community Detection. IEEE Trans. Control Netw. Syst. 2017, 4, 392–404. [Google Scholar] [CrossRef]
- Haq, M.A. SMOTEDNN: A Novel Model for Air Pollution Forecasting and AQI Classification. Comput. Mater. Contin. 2021, 71, 1403–1425. [Google Scholar]
- Haq, M.A.; Jilani, A.K.; Prabu, P. Deep Learning Based Modeling of Groundwater Storage Change. Comput. Mater. Contin. 2022, 70, 4599–4617. [Google Scholar] [CrossRef]
- Yadav, C.S.; Singh, J.; Yadav, A.; Pattanayak, H.S.; Kumar, R.; Khan, A.A.; Haq, M.A.; Alhussen, A.; Alharby, S. Malware Analysis in IoT & Android Systems with Defensive Mechanism. Electronics 2022, 11, 2354. [Google Scholar] [CrossRef]
- Pincus, S.M. Approximate Entropy as a Measure of System Complexity. Proc. Natl. Acad. Sci. USA 1991, 88, 2297–2301. [Google Scholar] [CrossRef] [Green Version]
- Pincus, S.; Kalman, R.E. Irregularity, Volatility, Risk, and Financial Market Time Series. Proc. Natl. Acad. Sci. USA 2004, 101, 13709–13714. [Google Scholar] [CrossRef] [Green Version]
- Dehouche, N. Revisiting the Volatility of Bitcoin with Approximate Entropy. Cogent Econ. Financ. 2022, 10, 2013588. [Google Scholar] [CrossRef]
- Chen, J.; He, J.; Li, L. Modified Approximate Entropy Analysis for Data Processing of Electrochemical Noise with High-Time Resolution Toward Corrosion Monitoring. SSRN Electron. J. 2022, 205, 110425. [Google Scholar] [CrossRef]
- Farashi, S. Offline Spike Sorting Using Approximate Entropy. SN Comput. Sci. 2022, 3, 134. [Google Scholar] [CrossRef]
- Abaid, Z.; Sarkar, D.; Kaafar, M.A.; Jha, S. The Early Bird Gets the Botnet: A Markov Chain Based Early Warning System for Botnet Attacks. In Proceedings of the 2016 IEEE 41st Conference on Local Computer Networks (LCN), Dubai, United Arab Emirates, 7–10 November 2016; pp. 61–68. [Google Scholar]
- Abaid, Z.; Kaafar, M.A.; Jha, S. Early Detection of In-the-Wild Botnet Attacks by Exploiting Network Communication Uniformity: An Empirical Study. In Proceedings of the 2017 IFIP Networking Conference (IFIP Networking) and Workshops, Stockholm, Sweden, 12–16 June 2017; pp. 1–9. [Google Scholar]
- Hatada, M.; Scholl, M. An Empirical Study on Flow-Based Botnet Attacks Prediction; NIST Technical Note 2111; U.S. Department of Commerce: Washington, DC, USA, 2020; pp. 1–18. [Google Scholar]
- Khurma, R.A.; Almomani, I.; Aljarah, I. SS Symmetry IoT Botnet Detection Using Salp Swarm and Ant Lion Hybrid. Symmetry 2021, 13, 1–20. [Google Scholar]
- Haq, M.A.; Khan, M.A.R. Dnnbot: Deep Neural Network-Based Botnet Detection and Classification. Comput. Mater. Contin. 2022, 71, 1729–1750. [Google Scholar] [CrossRef]
- Naveed, K.; Wu, H. Poster: A Semi-Supervised Framework to Detect Botnets in IoT Devices. In Proceedings of the 2020 IFIP Networking Conference (Networking), Virtual Conference, 22–25 June 2020; pp. 649–651. [Google Scholar]
- Popoola, S.I.; Adebisi, B.; Ande, R.; Hammoudeh, M.; Anoh, K.; Atayero, A.A. SMOTE-DRNN: A Deep Learning Algorithm for Botnet Detection in the Internet-of-Things Networks. Sensors 2021, 21, 2985. [Google Scholar] [CrossRef]
- Wunsch, A.; Liesch, T.; Broda, S. Groundwater Level Forecasting with Artificial Neural Networks: A Comparison of LSTM, CNN and NARX. Hydrol. Earth Syst. Sci. Discuss. 2020, 552, 1–23. [Google Scholar] [CrossRef]
Features | Date | I_ipn | r_asn | f | yday | wday |
---|---|---|---|---|---|---|
0 | 2006-07-01 | 0 | 436,704 | 106 | 182 | 5 |
10 | 2006-07-02 | 0 | 460,025 | 920 | 183 | 6 |
Metrics | Formula | Description |
---|---|---|
MCC | X, y, and n are original, predicted, and the number of samples, respectively. | |
RMSE | , and n represent the predicted value, actual value, and number of samples, respectively. | |
MAPE | , and n represent the predicted value, actual value, and number of samples, respectively. | |
NSE | and y represent the actual time series, mean of the actual time series, and predicted series, respectively. |
IP | R2 | MCC | RMSE | MAPE | NSE |
---|---|---|---|---|---|
IP0 | 0.17 | 0.93 | 1.17 | 66.80% | 0.24 |
IP1 | 0.72 | 0.21 | 0.35 | 12.30% | 0.78 |
IP2 | 0.32 | 0.86 | 0.77 | 52.87% | 0.39 |
IP3 | 0.58 | 0.53 | 0.59 | 17.87% | 0.65 |
IP4 | 0.48 | 0.49 | 0.41 | 35.87% | 0.57 |
P5 | 0.1 | 0.92 | 1.09 | 72.89% | 0.16 |
IP6 | −0.58 | 0.75 | 0.83 | 17.62% | 0.66 |
IP7 | −0.49 | 0.77 | 0.79 | 21.96% | 0.58 |
IP8 | 0.09 | 0.93 | 1.27 | 73.98% | 0.14 |
IP9 | −0.57 | 0.64 | 0.87 | 15.94% | 0.69 |
Studies | Model | Dataset | R2 | RMSE | Remarks | Limitations |
---|---|---|---|---|---|---|
Current Study | DBoTPM | CCNT, N-BaIoT | 71% | 0.81 | Less computation time (119 s) | Three IPs (0, 5, and 8) showed less predictive accuracy due to their abrupt behaviour caused by the botnet attack. |
[2] | Autoencoders | N-BaIoT | 100% | - | TPR | Computational overhead for training was high with more than 45 min |
[31] | Markov chain | SysNet, ISCX | 98% | - | Accuracy | The dataset utilized in this study had a high state change probability from communication to attack when it was first created. |
[32] | Analyzers | SysNet | 20% | - | Predictive capability | Lower prediction capability |
[33] | psLSTMs | NIST | 76% | 0.83 | Accuracy and precision | Training time was very high for the DL model (8.17 h). |
[33] | SVM | 71% | 0.26 | Accuracy and precision | Training time was high for the ML model (4.57 min). | |
[34] | SSA-ALO | N-BaIoT | 99% | - | TPR | Data from one node which was the security camera took 23 s alone to detect a botnet attack. |
AE0 | AE1 | AE2 | AE3 | AE4 | AE5 | AE6 | AE7 | AE8 | AE9 |
---|---|---|---|---|---|---|---|---|---|
0.01 | 0.02 | 0.01 | 0.36 | 0.01 | 0.17 | 0.29 | 0.00 | 0.01 | 0.26 |
Model | Detection Accuracy | Limitation | Source |
---|---|---|---|
Deep Autoencoders | 84% | Unable to detect less-known botnets | [2] |
DL technique | 99.6%, | Less feasible for real-time data | [9] |
Proof of concept, analysers | 77% | Lower accuracy, only 8 h of the dataset | [32] |
DNNBoT | 90.71% | Computational speed of 3 s/epoch | [35] |
Semi-Supervised | 80% | Lower accuracy | [36] |
SMOTE-Recurrent Neural Network (DRNN) | 99.98% | Lack of data pre-processing | [37] |
AE | 100% | Computational speed of 50 s | (Current study) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Haq, M.A. DBoTPM: A Deep Neural Network-Based Botnet Prediction Model. Electronics 2023, 12, 1159. https://doi.org/10.3390/electronics12051159
Haq MA. DBoTPM: A Deep Neural Network-Based Botnet Prediction Model. Electronics. 2023; 12(5):1159. https://doi.org/10.3390/electronics12051159
Chicago/Turabian StyleHaq, Mohd Anul. 2023. "DBoTPM: A Deep Neural Network-Based Botnet Prediction Model" Electronics 12, no. 5: 1159. https://doi.org/10.3390/electronics12051159
APA StyleHaq, M. A. (2023). DBoTPM: A Deep Neural Network-Based Botnet Prediction Model. Electronics, 12(5), 1159. https://doi.org/10.3390/electronics12051159