{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,5]],"date-time":"2026-06-05T15:05:28Z","timestamp":1780671928006,"version":"3.54.1"},"reference-count":51,"publisher":"MDPI AG","issue":"14","license":[{"start":{"date-parts":[[2020,7,17]],"date-time":"2020-07-17T00:00:00Z","timestamp":1594944000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100010198","name":"Ministerio de Econom\u00eda, Industria y Competitividad, Gobierno de Espa\u00f1a","doi-asserted-by":"publisher","award":["TEC2017-84197-C4-2-R"],"award-info":[{"award-number":["TEC2017-84197-C4-2-R"]}],"id":[{"id":"10.13039\/501100010198","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Smart meters are of the basic elements in the so-called Smart Grid. These devices, connected to the Internet, keep bidirectional communication with other devices in the Smart Grid structure to allow remote readings and maintenance. As any other device connected to a network, smart meters become vulnerable to attacks with different purposes, like stealing data or altering readings. Nowadays, it is becoming more and more popular to buy and plug-and-play smart meters, additionally to those installed by the energy providers, to directly monitor the energy consumption at home. This option inherently entails security risks that are under the responsibility of householders. In this paper, we focus on an open solution based on Smartpi 2.0 devices with two purposes. On the one hand, we propose a network configuration and different data flows to exchange data (energy readings) in the home. These flows are designed to support collaborative among the devices in order to prevent external attacks and attempts of corrupting the data. On the other hand, we check the vulnerability by performing two kind of attacks (denial of service and stealing and changing data by using a malware). We conclude that, as expected, these devices are vulnerable to these attacks, but we provide mechanisms to detect both of them and to solve, by applying cooperation techniques.<\/jats:p>","DOI":"10.3390\/s20143977","type":"journal-article","created":{"date-parts":[[2020,7,17]],"date-time":"2020-07-17T10:22:02Z","timestamp":1594981322000},"page":"3977","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":28,"title":["Security Aspects in Smart Meters: Analysis and Prevention"],"prefix":"10.3390","volume":"20","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2367-2219","authenticated-orcid":false,"given":"Rebeca P.","family":"D\u00edaz Redondo","sequence":"first","affiliation":[{"name":"Information &amp; Computing Lab, AttlanTTIC Research Center, University of Vigo, 36310 Vigo, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1047-2143","authenticated-orcid":false,"given":"Ana","family":"Fern\u00e1ndez-Vilas","sequence":"additional","affiliation":[{"name":"Information &amp; Computing Lab, AttlanTTIC Research Center, University of Vigo, 36310 Vigo, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Gabriel","family":"Fern\u00e1ndez dos Reis","sequence":"additional","affiliation":[{"name":"Information &amp; Computing Lab, AttlanTTIC Research Center, University of Vigo, 36310 Vigo, Spain"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2020,7,17]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"702","DOI":"10.1016\/j.jclepro.2019.01.229","article-title":"Energy meters evolution in smart grids: A review","volume":"217","author":"Avancini","year":"2019","journal-title":"J. Clean. Prod."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"3125","DOI":"10.1109\/TSG.2018.2818167","article-title":"Review of smart meter data analytics: Applications, methodologies, and challenges","volume":"10","author":"Wang","year":"2018","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Molina-Markham, A., Shenoy, P., Fu, K., Cecchet, E., and Irwin, D. (2010, January 3\u20135). Private memoirs of a smart meter. Proceedings of the 2nd ACM Workshop on Embedded Sensing Systems For Energy-Efficiency in Building, New York, NY, USA.","DOI":"10.1145\/1878431.1878446"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2593","DOI":"10.1109\/TSG.2018.2805723","article-title":"Deep learning-based socio-demographic information identification from smart meter data","volume":"10","author":"Wang","year":"2018","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"2820","DOI":"10.1109\/COMST.2017.2720195","article-title":"Smart meter data privacy: A survey","volume":"19","author":"Asghar","year":"2017","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Efthymiou, C., and Kalogridis, G. (2010, January 4\u20136). Smart grid privacy via anonymization of smart metering data. Proceedings of the 2010 First IEEE International Conference on Smart Grid Communications, Gaithersburg, MD, USA.","DOI":"10.1109\/SMARTGRID.2010.5622050"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"807","DOI":"10.1016\/j.enpol.2011.11.049","article-title":"Smart meter data: Balancing consumer privacy concerns with legitimate applications","volume":"41","author":"McKenna","year":"2012","journal-title":"Energy Policy"},{"key":"ref_8","unstructured":"Marinos, L. (2013). Smart Grid threat landscape and good practice guide. White Paper, European Network and Information Security Agency (ENISA), ENISA."},{"key":"ref_9","unstructured":"Union, E. (2020, July 16). EU 2019\/553 of 3 2019 on Cybersecurity in the Energy Sector. Available online: https:\/\/eur-lex.europa.eu\/legal-content\/EN\/TXT\/PDF\/?uri=CELEX:32019H0553&from=ES."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"81","DOI":"10.1109\/MSP.2010.49","article-title":"Smart-grid security issues","volume":"8","author":"Khurana","year":"2010","journal-title":"IEEE Secur. Priv."},{"key":"ref_11","first-page":"15","article-title":"State-of-the-art information security management systems with ISO\/IEC 27001: 2005","volume":"6","author":"Humphreys","year":"2006","journal-title":"ISO Manag. Syst."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"18","DOI":"10.1109\/MCOM.2013.6400434","article-title":"Non-repudiation in neighborhood area networks for smart grid","volume":"51","author":"Xiao","year":"2013","journal-title":"IEEE Commun. Mag."},{"key":"ref_13","unstructured":"Moen, R., and Norman, C. (2020, July 16). Evolution of the PDCA \tCycle. Available online: Http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.470.5465&rep=rep1&type=pdf."},{"key":"ref_14","unstructured":"Fomin, V.V., Vries, H., and Barlette, Y. (2008, January 17\u201319). ISO\/IEC 27001 information systems security management standard: Exploring the reasons for low adoption. Proceedings of the Euromot 2008 Conference, Nice, France."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Hasan, M.M., and Mouftah, H.T. (2015, January 6\u20139). Encryption as a service for smart grid advanced metering infrastructure. Proceedings of the 2015 IEEE Symposium on Computers and Communication (ISCC), Larnaca, Cyprus.","DOI":"10.1109\/ISCC.2015.7405519"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"26","DOI":"10.1109\/MCOM.2017.1600363CM","article-title":"Security and privacy for cloud-based IoT: Challenges","volume":"55","author":"Zhou","year":"2017","journal-title":"IEEE Commun. Mag."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"7055","DOI":"10.1109\/TIE.2014.2331014","article-title":"SKM: Scalable key management for advanced metering infrastructure in smart grids","volume":"61","author":"Wan","year":"2014","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"2831","DOI":"10.1109\/COMST.2019.2907650","article-title":"Key Management Systems for Smart Grid Advanced Metering Infrastructure: A Survey","volume":"21","author":"Ghosal","year":"2019","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"161","DOI":"10.1016\/j.comnet.2018.01.010","article-title":"VerSAMI: Versatile and Scalable key management for Smart Grid AMI systems","volume":"132","author":"Benmalek","year":"2018","journal-title":"Comput. Netw."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"629","DOI":"10.1109\/JSYST.2013.2260942","article-title":"Efficient authentication and key management mechanisms for smart grid communications","volume":"8","author":"Nicanfar","year":"2013","journal-title":"IEEE Syst. J."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Garg, S., Kaur, K., Kaddoum, G., Gagnon, F., Ahmed, S.H., and Jayakody, D.N.K. (2019, January 9\u201313). LiSA: A Lightweight and Secure Authentication Mechanism for Smart Metering Infrastructure. Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA.","DOI":"10.1109\/GLOBECOM38437.2019.9013270"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"3548","DOI":"10.1109\/TII.2019.2944880","article-title":"Secure and Lightweight Authentication Scheme for Smart Metering Infrastructure in Smart Grid","volume":"16","author":"Garg","year":"2020","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"4349","DOI":"10.1109\/TSG.2018.2857558","article-title":"Lightweight authentication and key agreement for smart metering in smart energy networks","volume":"10","author":"Kumar","year":"2018","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"557","DOI":"10.1016\/j.future.2017.05.002","article-title":"An elliptic curve cryptography based lightweight authentication scheme for smart grid communication","volume":"81","author":"Mahmood","year":"2018","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"2834","DOI":"10.1109\/TSG.2016.2620939","article-title":"A novel identity-based key establishment method for advanced metering infrastructure in smart grid","volume":"9","author":"Mohammadali","year":"2016","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"e3195","DOI":"10.1002\/dac.3195","article-title":"PUF-based solutions for secure communications in Advanced Metering Infrastructure (AMI)","volume":"30","author":"Delavar","year":"2017","journal-title":"Int. J. Commun. Syst."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"982","DOI":"10.1007\/s11036-017-0956-0","article-title":"Hybrid cryptography algorithm with precomputation for advanced metering infrastructure networks","volume":"23","author":"Khasawneh","year":"2018","journal-title":"Mob. Netw. Appl."},{"key":"ref_28","unstructured":"Daemen, J., and Rijmen, V. (2013). The Design of Rijndael: AES-the Advanced Encryption Standard, Springer Science & Business Media."},{"key":"ref_29","first-page":"1900","article-title":"Provably secure authenticated key agreement scheme for smart grid","volume":"9","author":"Odelu","year":"2016","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"1953","DOI":"10.1109\/TIFS.2015.2439964","article-title":"A secure biometrics-based multi-server authentication protocol using smart cards","volume":"10","author":"Odelu","year":"2015","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_31","first-page":"6194","article-title":"An ultra-lightweight and secure scheme for communications of smart meters and neighborhood gateways by utilization of an ARM Cortex-M microcontroller","volume":"9","author":"Nikooghadam","year":"2017","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1225","DOI":"10.1109\/TSG.2017.2761804","article-title":"Balancing security and efficiency for smart metering against misbehaving collectors","volume":"10","author":"Ni","year":"2017","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"2483","DOI":"10.1109\/TSG.2017.2673843","article-title":"Differentially private smart metering with fault tolerance and range-based filtering","volume":"8","author":"Ni","year":"2017","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1016\/j.ijcip.2017.03.004","article-title":"Security analysis of an advanced metering infrastructure","volume":"18","author":"Hansen","year":"2017","journal-title":"Int. J. Crit. Infrastruct. Prot."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"22","DOI":"10.1016\/j.jclepro.2016.12.031","article-title":"Smart meter deployment in Europe: A comparative case study on the impacts of national policy schemes","volume":"144","author":"Zhou","year":"2017","journal-title":"J. Clean. Prod."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"10","DOI":"10.1109\/MWC.2016.7721736","article-title":"Internet-of-things-based smart environments: State of the art, taxonomy, and open research challenges","volume":"23","author":"Ahmed","year":"2016","journal-title":"IEEE Wirel. Commun."},{"key":"ref_37","unstructured":"Enerserve (2020, July 16). SmartPi Manual. Available online: https:\/\/www.enerserve.eu\/en\/service\/smartpi\/manual.html."},{"key":"ref_38","unstructured":"Technology, I.E. (2020, July 16). Node-RED guide. Available online: https:\/\/nodered.org\/docs\/."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Leki\u0107, M., and Garda\u0161evi\u0107, G. (2018, January 21\u201323). IoT sensor integration to Node-RED platform. Proceedings of the 2018 17th International Symposium INFOTEH-JAHORINA (INFOTEH), East Sarajevo, Bosnia-Herzegovina.","DOI":"10.1109\/INFOTEH.2018.8345544"},{"key":"ref_40","unstructured":"D\u00edaz-Redondo, R.P., Fern\u00e1ndez-Vilas, A., and Est\u00e9vez Caldas, A. (2020, January 17\u201319). Monitoring Electricity Consumption based on Time Series Analysis. Proceedings of the 16th International Conference on Intelligent Environments, Workshop on Research on Smart Grids and Related Applications, Bali, Indonesia."},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Deng, J., and Jirutitijaroen, P. (2010, January 28\u201330). Short-term load forecasting using time series analysis: A case study for Singapore. Proceedings of the 2010 IEEE Conference on Cybernetics and Intelligent Systems, Singapore.","DOI":"10.1109\/ICCIS.2010.5518553"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Seabold, S., and Perktold, J. (2010, January 6\u201312). Statsmodels: Econometric and statistical modeling with python. Proceedings of the 9th Python in Science Conference, Austin, TX, USA.","DOI":"10.25080\/Majora-92bf1922-011"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"2297","DOI":"10.1073\/pnas.88.6.2297","article-title":"Approximate entropy as a measure of system complexity","volume":"88","author":"Pincus","year":"1991","journal-title":"Proc. Natl. Acad. Sci. USA"},{"key":"ref_44","unstructured":"Wu, Z.Y., He, Y., and Li, Q. (2018, January 23\u201325). Comparing Deep Learning with Statistical Control Methods for Anomaly Detection. Proceedings of the WDSA\/CCWI Joint Conference, Kingston, ON, Canada."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"165","DOI":"10.1080\/00401706.1983.10487848","article-title":"Percentage points for a generalized ESD many-outlier procedure","volume":"25","author":"Rosner","year":"1983","journal-title":"Technometrics"},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"561","DOI":"10.3233\/IDA-2007-11508","article-title":"Toward accurate dynamic time warping in linear time and space","volume":"11","author":"Salvador","year":"2007","journal-title":"Intell. Data Anal."},{"key":"ref_47","first-page":"40","article-title":"Dynamic time warping algorithm review","volume":"855","author":"Senin","year":"2008","journal-title":"Inf. Comput. Sci. Dep. Univ. Hawaii Manoa Honolulu USA"},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Castro-Jul, F., D\u00edaz-Redondo, R.P., Fern\u00e1ndez-Vilas, A., Chabridon, S., and Conan, D. (2019). Fog architectures and sensor location certification in distributed event-based systems. Sensors, 19.","DOI":"10.20944\/preprints201811.0407.v1"},{"key":"ref_49","unstructured":"Redondo, R.P.D., and Vilas, A.F. (2018, January 12\u201313). Smart Grids Monitoring: A fog-computing strategy to detect anomalies. Proceedings of the 2018 IEEE 59th International Scientific Conference on Power and Electrical Engineering of Riga Technical University (RTUCON), Riga, Latvia."},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"779","DOI":"10.1016\/j.future.2019.05.041","article-title":"Towards the development of realistic botnet dataset in the internet of things for network forensic analytics: Bot-iot dataset","volume":"100","author":"Koroniotis","year":"2019","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_51","first-page":"372020","article-title":"Cyber security for smart grid, cryptography, and privacy","volume":"2011","author":"Iyer","year":"2011","journal-title":"Int. J. Digit. Multimed. Broadcast."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/14\/3977\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T09:49:23Z","timestamp":1760176163000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/14\/3977"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,7,17]]},"references-count":51,"journal-issue":{"issue":"14","published-online":{"date-parts":[[2020,7]]}},"alternative-id":["s20143977"],"URL":"https:\/\/doi.org\/10.3390\/s20143977","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,7,17]]}}}