PORT SCANNING MALWARE DETECTION IN IOT NETWORKS USING AN AI-BASED IDS FRAMEWORK
DOI:
https://doi.org/10.30572/2018/KJE/170416Keywords:
Port scanning attack, IoT security, Intrusion detection systems, Machine leaning, Deep learning, Reinforcement learningAbstract
The fast growth of the Internet of Things (IoT) has greatly exposed the attack surface, making the IoT networks vulnerable to new malware attacks, especially port scanning malware. These advanced threats have been known to go beyond the standard security solutions like firewalls and signature-based Intrusion Detection Systems (IDS). In this work, an AI-Based IDS framework is proposed, which will utilize Machine Learning (ML), Deep Learning (DL), and Reinforcement Learning (RL) to identify and predict the presence of port scanning malware in IoT networks. The framework is tested with a publicly available set of data on IoT security by both balanced and imbalanced conditions, which guarantees a full performance test. In experiments, it is proven that DL models are more successful than other methods with precision of 98.5, recall of 99.2, F1-score of 98.8 and accuracy of 98.7. The ML traditional models are also very precise and recalls, but the DL models have overall better performance which detects port scanning malware effectively. The results support the potential of the DL-based solutions as the effective measure of boosting the security of IoT in response to the new cyber threats
Downloads
References
Alesawi, K.R. and Alawadi, A.H. (2025), Enhancing DDoS attack classification through SDN and machine learning: a feature ranking analysis, Kufa Journal of Engineering, 16(2), 344–366.
Al-Sraratee, A. and Al-Azawei, A. (2025), Classifying Android malware categories based on dynamic features: an integration of feature reduction and selection techniques, Kufa Journal of Engineering, 16(2), 96–118.
Al-Taie, A. and Baiee, W.R. (2025), A comprehensive study of deep learning approaches for predicting reciprocal traffic dynamics and climate variability, Kufa Journal of Engineering, 16(3), pp.22–42.
Brahmi, H., Brahmi, I. and Ben Yahia, S. (2012), OMC-IDS: At the cross-roads of OLAP mining and intrusion detection, 13–14.
Chen, C. and Lu, Y. (2024), ZBanner: Fast stateless scanning capable of obtaining responses over TCP, Association for Computing Machinery, 1(1).
Hou, B., Cai, Z., Wu, K., Su, J. and Xiong, Y. (2021), 6Hit: A reinforcement learning-based approach to target generation for Internet-wide IPv6 scanning.
Hou, B., Cai, Z., Wu, K., Yang, T. and Zhou, T. (2023), 6Scan: A high-efficiency dynamic Internet-wide IPv6 scanner with regional encoding. IEEE/ACM Transactions on Networking, 31(4), 1870–1885.
https://www.kaggle.com/datasets/anaselmasry/iot-malware [accessed 1 September, 2025].
Hussein, A.A. and Ali, I.H. (2025), 3D facial landmark-based deception detection in video using GRU model, Kufa Journal of Engineering, 16(2), pp.180–196.
Jones, R.K. (2025). Malware analysis and classification using deep learning.
Kumar, R.R., et al. (2021), Report on the follow-up to the regional implementation strategy of the Madrid International Plan of Action on Ageing in Lithuania, Frontiers in Neuroscience, 14(1), pp.1–13.
Lakhani, R. (2023), Cybersecurity threats in Internet of Things (IoT) networks: vulnerabilities and defense mechanisms, International Journal of Engineering and Computer Science, 12, pp.25965–25980.
Liu, C., Li, R., Yuan, F., Ding, S., Liu, Y. and Luo, X. (2024), 6Subpattern: Target generation based on subpattern analysis for Internet-wide IPv6 scanning, IEEE Transactions on Network and Service Management, 21(4), 3692–3710.
Mayer, J., et al. (2024), I know who you scanned last summer: mapping the landscape of Internet-wide scanners.
Nawaal, B., Haider, U., Khan, I.U. and Fayaz, M. (2024), Signature-based intrusion detection system for IoT, Cyber Security in Next-Generation Computing Technologies, November, pp.141–158.
Noaman, M., Khan, M.S., Abrar, M.F., Ali, S., Alvi, A. and Saleem, M.A. (2022), Challenges in integration of heterogeneous Internet of Things, Scientific Programming, 2022.
Pittman, J. (2023). Machine learning and port scans: a systematic review.
Roy, S., Sharmin, N., Acosta, J.C., Kiekintveld, C. and Laszka, A. (2022), Survey and taxonomy of adversarial reconnaissance techniques,1–36.
Shen, Z., Chen, P., Xie, Y., Chen, C., Zhang, Y. and Yang, G. (2025), 6Trace: An effective method for active IPv6 topology discovery. Electronics, 14.
Shhatha, A.M. and Alsaif, O.I. (2025), Enhancing cybersecurity through malware detection based on machine learning technique, Kufa Journal of Engineering, 16(3), pp.82–100.
Song, G., et al. (2023). Which doors are open: reinforcement learning-based Internet-wide port scanning.
Song, G., et al. (2024), PMap: Reinforcement learning-based Internet-wide port scanning, IEEE/ACM Transactions on Networking, 1–15.
Suparman, A., Akhmad, E.P.A. and Dinata, B.M. (2024), Leveraging artificial intelligence for enhancing cybersecurity: a deep learning approach to real-time threat detection, Journal of Academic Science, 1(7), 835–842.
Verma, S., Kawamoto, Y. and Kato, N. (2020), A network-aware Internet-wide scan for security maximization of IPv6-enabled WLAN IoT devices, IEEE Internet of Things Journal.
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2026 Mahmood Al-Okashi, Mina Malekzadeh

This work is licensed under a Creative Commons Attribution 4.0 International License.












