A METHOD AND ALGORITHMS FOR DETECTING CYBERATTACKS IN INTERNET OF THINGS NETWORKS BASED ON ENERGY CONSUMPTION ANALYSIS
DOI:
https://doi.org/10.17721/2519-481X/2025/88-07Keywords:
Internet of Things, cyberattack, DDoS, cryptomining, malware detection, energy consumption, sequential pattern mining, opcode analysisAbstract
A «Smart home» is a system for managing the essential life support processes of both small systems (commercial, office spaces, apartments, cottages) and large automated commercial and industrial complexes. An important task that the modern «Smart home» concept must address is preventing the spread of malicious software within the Internet of Things (IoT) infrastructure. Despite the vast number of developed methods for detecting and preventing cyberattacks, IoT devices are still extremely vulnerable and suffer a wide range of cyberattacks, which have both financial and reputational consequences. Therefore, there is a need to develop new approaches for detecting malicious software in the IoT infrastructure. One possible approach for detecting the anomalous behavior of malware-infected IoT devices is to monitor their energy consumption. Infected devices often exhibit an increase in energy consumption, which can be an indicator of malicious activity, such as DDoS attacks or cryptomining.
This article presents a method for detecting attacks in the IoT infrastructure based on the analysis of IoT device energy consumption, which takes into account user preference modes related to device energy consumption. To enhance the accuracy of cyberattack detection and the localization of malicious software on devices, an analysis of software opcode sequences is applied. The proposed approach provides the ability to effectively detect cyberattacks, such as DoS/DDoS, with an accuracy of approximately 99.88%, and to localize malicious software on devices. Thus, monitoring the energy consumption of smart heating, ventilation, air conditioning (HVAC) devices, and other IoT devices is an approach to increasing the effectiveness of cyberattack detection in the IoT infrastructure.
References
1. Trend Micro. Inside the Smart Home: IoT Device Threats and Attack Scenarios. URL: https://www.trendmicro.com/vinfo/it/security/news/internet-of-things/inside-the-smart-home-iot-device-threats-and-attack-scenarios.
2. McAfee Labs Threats Report. URL: https://www.mcafee.com/enterprise/en-us/assets/reports/rp-quarterly-threats-nov-2020.pdf.
3. Global System for Mobile Communications. URL: https://www.gsma.com/
4. U.S. Energy Information Administration (EIA). International Energy Outlook, 2019. URL: https://www.eia.gov/outlooks/ieo.
5. J. Hoffmann, S. Neumann, T. Holz, Mobile malware detection based on energy fingerprints – a dead end?. In International Workshop on Recent Advances in Intrusion Detection. Springer, Berlin, Heidelberg (2013), pp.348-368.
6. A. R. Al-Ali, I. A. Zualkernan, M. Rashid, R. Gupta & M. Alikarar, A smart home energy management system using IoT and big data analytics approach. IEEE Transactions on Consumer Electronics. 2017, Vol. 63(4), pp. 426-434.
7. M. S. Hossain, M. A. Rahman & G. Muhammad, Cyber-physical cloud-oriented multi-sensory smart home framework for elderly people: An energy efficiency perspective. Journal of Parallel and Distributed Computing. 2017, Vol. 103, pp. 11-21.
8. M. Isnen, S. Kurniawan & E. Garcia-Palacios, A-SEM: An adaptive smart energy management testbed for shiftable loads optimisation in the smart home. Measurement. 2020, Vol. 152, 107285.
9. M. A. Paredes‐Valverde, G. Alor‐Hernández, J. L. García‐Alcaráz, M. D. P. Salas‐Zárate, L. O. Colombo‐Mendoza & J. L. Sánchez‐Cervantes, IntelliHome: An internet of things‐based system for electrical energy saving in smart home environment. Computational Intelligence. 2020, Vol. 36 (1), pp. 203-224.
10.A. De Paola, P. Ferraro, G. L. Re, M. Morana & M. Ortolani, A fog-based hybrid intelligent system for energy saving in smart buildings. Journal of Ambient Intelligence and Humanized Computing. 2020, Vol. 11 (7), pp. 2793-2807.
11.M. Killian, M. Zauner & M. Kozek, Comprehensive smart home energy management system using mixed-integer quadratic-programming. Applied energy. 2018, Vol. 222, pp. 662-672.
12.I. Machorro-Cano, G. Alor-Hernández, M. A. Paredes-Valverde, L. Rodríguez-Mazahua, J. L. Sánchez-Cervantes & J. O. Olmedo-Aguirre, HEMS-IoT: A big data and machine learning-based smart home system for energy saving. Energies. 2020, Vol. 13 (5), 1097.
13.V. Fabi, G. Spigliantini & S. P. Corgnati, Insights on smart home concept and occupants’ interaction with building controls. Energy Procedia. 2017, Vol. 111, pp. 759-769.
14.H. Jo, Y. I. Yoon, Intelligent smart home energy efficiency model using artificial TensorFlow engine. Human-centric Computing and Information Sciences. 2018, Vol. 8 (1), pp. 1-18.
15.C. Wilson, T. Hargreaves, R. Hauxwell-Baldwin, Benefits and risks of smart home technologies. Energy Policy. 2017, Vol. 103, pp. 72-83.
16.L. C. Felius, F. Dessen & B. D. Hrynyszyn, Retrofitting towards energy-efficient homes in European cold climates: a review. Energy Efficiency. 2020, Vol. 13 (1), pp. 101-125.
17.R. Ford, M. Pritoni, A. Sanguinetti & B. Karlin, Categories and functionality of smart home technology for energy management. Building and environment. 2017, Vol. 123, pp. 543-554.
18.B. Tushir, Y. Dalal, B. Dezfouli & Y. Liu, A Quantitative Study of DDoS and E-DDoS Attacks on WiFi Smart Home Devices. IEEE Internet of Things Journal, 2020.
19.A. Azmoodeh, A. Dehghantanha, M. Conti & K. K. R. Choo, Detecting crypto-ransomware in IoT networks based on energy consumption footprint. Journal of Ambient Intelligence and Humanized Computing. 2018, Vol. 9 (4), pp. 1141-1152.
20.F. Fasano, F. Martinelli, F. Mercaldo & A. Santone, Energy consumption metrics for mobile device dynamic malware detection. Procedia Computer Science. 2019, Vol. 159, pp. 1045-1052.
21.J. H. Jimenez, K. Goseva-Popstojanova, Malware detection using power consumption and network traffic data. In 2019 2nd International Conference on Data Intelligence and Security (ICDIS). IEEE (2019), pp. 53-59.
22.Y. Shi, F. Li, W. Song, X. Y. Li & J. Ye, Energy audition based cyber-physical attack detection system in IoT. In Proceedings of the ACM Turing Celebration Conference-China (2019), pp. 1-5.
23.H. Zhang, X. Xiao, F. Mercaldo, S. Ni, F. Martinelli & A. K. Sangaiah, Classification of ransomware families with machine learning based on N-gram of opcodes. Future Generation Computer Systems. 2019, Vol. 90, pp. 211-221.
24.A. Azmoodeh, A. Dehghantanha & K. K. R. Choo, Robust malware detection for internet of (battlefield) things devices using deep eigenspace learning. IEEE transactions on sustainable computing. 2018, Vol. 4 (1), pp. 88-95.
25.H. Darabian, A. Dehghantanha, S. Hashemi, S. Homayoun & K. K. R. Choo, An opcode‐based technique for polymorphic Internet of Things malware detection. Concurrency and Computation: Practice and Experience. 2020, Vol. 32 (6), e5173.
26.H. Darabian, A. Dehghantanha, S. Hashemi, M. Taheri, A. Azmoodeh, S. Homayoun & R. M. Parizi, A multiview learning method for malware threat hunting: windows, IoT and android as case studies. World Wide Web. 2020, Vol. 23 (2), pp. 1241-1260.
27.F. Manavi, A. Hamzeh, A new approach for malware detection based on evolutionary algorithm. In Proceedings of the Genetic and Evolutionary Computation Conference Companion (2019), pp.1619-1624.
28.I. Santos, F. Brezo, X. Ugarte-Pedrero & P. G. Bringas, Opcode sequences as representation of executables for data-mining-based unknown malware detection. Information Sciences. 2013, Vol. 231, pp. 64-82.
29.Packages Search for Linux and Unix. URL: https://pkgs.org/
30.VirusTotal. URL: http://www.virustotal.com
31.Obfuscatoin-for-ARM-disassembled-binary. URL: https://github.com/darabian/Obfuscatoin-for-ARM-disassembled-binary
32.Hex Rays. IDA Pro. URL: https://www.hex-rays.com/products/ida/
33.R. Millham, I. E. Agbehadji, H. Yang, Pattern Mining Algorithms. In Bio-inspired Algorithms for Data Streaming and Visualization, Big Data Management, and Fog Computing. Springer, Singapore (2021), pp. 67-80.10.A. De Paola, P. Ferraro, G. L. Re, M. Morana & M. Ortolani, A fog-based hybrid intelligent system for energy saving in smart buildings. Journal of Ambient Intelligence and Humanized Computing. 2020, Vol. 11 (7), pp. 2793-2807.
11.M. Killian, M. Zauner & M. Kozek, Comprehensive smart home energy management system using mixed-integer quadratic-programming. Applied energy. 2018, Vol. 222, pp. 662-672.
12.I. Machorro-Cano, G. Alor-Hernández, M. A. Paredes-Valverde, L. Rodríguez-Mazahua, J. L. Sánchez-Cervantes & J. O. Olmedo-Aguirre, HEMS-IoT: A big data and machine learning-based smart home system for energy saving. Energies. 2020, Vol. 13 (5), 1097.
13.V. Fabi, G. Spigliantini & S. P. Corgnati, Insights on smart home concept and occupants’ interaction with building controls. Energy Procedia. 2017, Vol. 111, pp. 759-769.
14.H. Jo, Y. I. Yoon, Intelligent smart home energy efficiency model using artificial TensorFlow engine. Human-centric Computing and Information Sciences. 2018, Vol. 8 (1), pp. 1-18.
15.C. Wilson, T. Hargreaves, R. Hauxwell-Baldwin, Benefits and risks of smart home technologies. Energy Policy. 2017, Vol. 103, pp. 72-83.
16.L. C. Felius, F. Dessen & B. D. Hrynyszyn, Retrofitting towards energy-efficient homes in European cold climates: a review. Energy Efficiency. 2020, Vol. 13 (1), pp. 101-125.
17.R. Ford, M. Pritoni, A. Sanguinetti & B. Karlin, Categories and functionality of smart home technology for energy management. Building and environment. 2017, Vol. 123, pp. 543-554.
18.B. Tushir, Y. Dalal, B. Dezfouli & Y. Liu, A Quantitative Study of DDoS and E-DDoS Attacks on WiFi Smart Home Devices. IEEE Internet of Things Journal, 2020.
19.A. Azmoodeh, A. Dehghantanha, M. Conti & K. K. R. Choo, Detecting crypto-ransomware in IoT networks based on energy consumption footprint. Journal of Ambient Intelligence and Humanized Computing. 2018, Vol. 9 (4), pp. 1141-1152.
20.F. Fasano, F. Martinelli, F. Mercaldo & A. Santone, Energy consumption metrics for mobile device dynamic malware detection. Procedia Computer Science. 2019, Vol. 159, pp. 1045-1052.
21.J. H. Jimenez, K. Goseva-Popstojanova, Malware detection using power consumption and network traffic data. In 2019 2nd International Conference on Data Intelligence and Security (ICDIS). IEEE (2019), pp. 53-59.
22.Y. Shi, F. Li, W. Song, X. Y. Li & J. Ye, Energy audition based cyber-physical attack detection system in IoT. In Proceedings of the ACM Turing Celebration Conference-China (2019), pp. 1-5.
23.H. Zhang, X. Xiao, F. Mercaldo, S. Ni, F. Martinelli & A. K. Sangaiah, Classification of ransomware families with machine learning based on N-gram of opcodes. Future Generation Computer Systems. 2019, Vol. 90, pp. 211-221.
24.A. Azmoodeh, A. Dehghantanha & K. K. R. Choo, Robust malware detection for internet of (battlefield) things devices using deep eigenspace learning. IEEE transactions on sustainable computing. 2018, Vol. 4 (1), pp. 88-95.
25.H. Darabian, A. Dehghantanha, S. Hashemi, S. Homayoun & K. K. R. Choo, An opcode‐based technique for polymorphic Internet of Things malware detection. Concurrency and Computation: Practice and Experience. 2020, Vol. 32 (6), e5173.
26.H. Darabian, A. Dehghantanha, S. Hashemi, M. Taheri, A. Azmoodeh, S. Homayoun & R. M. Parizi, A multiview learning method for malware threat hunting: windows, IoT and android as case studies. World Wide Web. 2020, Vol. 23 (2), pp. 1241-1260.
27.F. Manavi, A. Hamzeh, A new approach for malware detection based on evolutionary algorithm. In Proceedings of the Genetic and Evolutionary Computation Conference Companion (2019), pp.1619-1624.
28.I. Santos, F. Brezo, X. Ugarte-Pedrero & P. G. Bringas, Opcode sequences as representation of executables for data-mining-based unknown malware detection. Information Sciences. 2013, Vol. 231, pp. 64-82.
29.Packages Search for Linux and Unix. URL: https://pkgs.org/
30.VirusTotal. URL: http://www.virustotal.com
31.Obfuscatoin-for-ARM-disassembled-binary. URL: https://github.com/darabian/Obfuscatoin-for-ARM-disassembled-binary
32.Hex Rays. IDA Pro. URL: https://www.hex-rays.com/products/ida/
33.R. Millham, I. E. Agbehadji, H. Yang, Pattern Mining Algorithms. In Bio-inspired Algorithms for Data Streaming and Visualization, Big Data Management, and Fog Computing. Springer, Singapore (2021), pp. 67-80.






