scieee AI-readable full text Open interactive document viewer

Smart Metering Cybersecurity—Requirements, Methodology, and Testing

Kohout, David; Lieskovan, Tomáš; Mlýnek, Petr

Abstract

This paper addresses the current challenges in cybersecurity of smart metering infrastructure, specifically in relation to the Czech Decree 359/2020 and the DLMS security suite (device language message specification). The authors present a novel testing methodology for verifying cybersecurity requirements, motivated by the need to comply with European directives and legal requirements of the Czech authority. The methodology encompasses testing cybersecurity parameters of smart meters and related infrastructure, as well as evaluating wireless communication technologies in the context of cybersecurity requirements. The article contributes by summarizing the cybersecurity requirements, creating a testing methodology, and evaluating a real smart meter, using the proposed approach. The authors conclude by presenting a methodology that can be replicated and tools that can be used to test smart meters and the related infrastructure. This paper aims to propose a more effective solution and takes a significant step towards improving the cybersecurity of smart metering technologies.

Full text

Citation: Kohout, D.; Lieskovan, T.; Mlynek, P. Smart Metering Cybersecurity—Requirements, Methodology, and Testing. Sensors 2023,23, 4043. https://doi.org/ 10.3390/s23084043 Academic Editor: Amitabh Mishra Received: 26 February 2023 Revised: 30 March 2023 Accepted: 12 April 2023 Published: 17 April 2023 Copyright: © 2023 by the authors. 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/). sensors Article Smart Metering Cybersecurity—Requirements, Methodology, and Testing David Kohout *,† , Tomas Lieskovan †and Petr Mlynek † Department of Telecommunications, Brno University of Technology, Technicka 12, 61600 Brno, Czech Republic *Correspondence: [email protected] † These authors contributed equally to this work. Abstract: This paper addresses the current challenges in cybersecurity of smart metering infrastructure, specifically in relation to the Czech Decree 359/2020 and the DLMS security suite (device language message specification). The authors present a novel testing methodology for verifying cybersecurity requirements, motivated by the need to comply with European directives and legal requirements of the Czech authority. The methodology encompasses testing cybersecurity parameters of smart meters and related infrastructure, as well as evaluating wireless communication technologies in the context of cybersecurity requirements. The article contributes by summarizing the cybersecurity requirements, creating a testing methodology, and evaluating a real smart meter, using the proposed approach. The authors conclude by presenting a methodology that can be replicated and tools that can be used to test smart meters and the related infrastructure. This paper aims to propose a more effective solution and takes a significant step towards improving the cybersecurity of smart metering technologies. Keywords: methodology; DLMS; smart metering; cybersecurity; AMM 1. Introduction Smart metering refers to the method of measuring consumption-based commodities, such as electricity, water, gas, and heat. This paper is mainly focused on testing the security of electricity smart meters (SMs). Smart metering can be used in combination with different protocols and standards, but the most widely used standard [ 1 ] is called DLMS (device language message specification). In the Czech Republic, distribution companies must deploy smart meters for customers by 2027, if the annual consumption at a particular point exceeds 6 MWh. This means deploying not only smart meters, but also a completely new related supporting infrastructure, e.g., a communication infrastructure and a data center (head end system) with a cryptographic key management system. This is because the existing systems and infrastructure are not ready for smart metering deployment, with cybersecurity requirements and real-time reading capabilities. The main motivation for creating security requirements for AMM (automatic meter management) elements in the Czech Decree 359/2020 [ 2 ] was the need to specify the minimum acceptable level of cybersecurity of the AMM system, which will be clearly defined and verifiable in practice. Another reason for the definition of AMM requirements, is the fulfillment of the requirements of the European directives (especially the NIS directive [ 3 ]) and the legal requirements of the Czech authority in the field of cybersecurity, NÚKIB (National Office for Cyber and Information Security in Czech Republic), which are listed in the act on cybersecurity [ 4 ], containing general and organizational requirements at the state level. The decree on cybersecurity contains mainly organizational and technical requirements for individual entities, and recommendations in the field of cryptographic means, containing recommendations of algorithms and parameters of cryptographic systems. Sensors 2023,23, 4043. https://doi.org/10.3390/s23084043 https://www.mdpi.com/journal/sensors Sensors 2023,23, 4043 2 of 21 Another reason, is the existence of similar requirements for different regions (e.g., Great Britain, the USA, and The Netherlands), while for the Central European region, and especially for the Czech Republic, a set of specific safety requirements aimed at AMM was completely missing, which was changed only by Annex 4 of Decree [ 2 ]. In Annex 4, the minimum cryptographic and technical requirements for the AMM solution are defined and the conditions for the deployment of smart meters are thus clearly defined. So, manufacturers of smart meters and related infrastructure have sufficient knowledge in advance, of the requirements that can be expected in tenders for the roll-out of smart meters in the Czech Republic. The aim of the article, is to summarize the requirements for cybersecurity, show their importance, and at the same time show the necessity of testing the requirements from Annex 4 [2] before the deployment (roll-out). Another important consideration, is the need to assess wireless communication technologies depending on the cybersecurity requirements. To this end, it is crucial to develop methodologies for testing security requirements and designing tools and means for their evaluation. The contribution of this article is threefold. Firstly, it summarizes the requirements for cybersecurity, shows their importance, and at the same time shows the necessity of testing the requirements before the roll-out. Secondly, the methodology for verifying the cybersecurity parameters of smart meters and related infrastructure is designed and investigated. Thirdly, a real smart meter is evaluated according to the proposed methodology, and at the same time, the considered wireless communication technologies are tested in the context of cybersecurity requirements. 1.1. Structure of the Paper To provide a comprehensive understanding of the topic, this article is divided into several sections. Section 1presents related work, summarizes the legislation regarding smart grids, and defines the motivation and goals of this work. Section 2summarizes the security requirements from the Czech legislation and also describes basic principles and the security side of the DLMS standard. Section 3is dedicated to the design of the security requirements for AMM. Section 4describes our testing methodology for testing SMs. It also contains some of our results from testing and also multiple insights that we discovered from our experience with testing SMs and with cooperation with SM manufacturers. Section 5 describes tools that can be used to test the security of SMs and also compares some securityrelated tests with the Decree [ 2 ]. Our testing regarding the cybersecurity of SMs, using wireless cellular technologies, is outlined in Section 6. In Section 7, this paper extends the solution defined by the ENCS (European Network for Cyber Security) and provides a contribution in the form of a defined set of tools, procedures, and rules for testing specific security requirements of smart meters. It also includes the design of input prerequisites and DLMS protocol parameters for testing, and takes into consideration the limitations of wireless mobile communication technologies. While Czech legislation sets requirements for cryptographic mechanisms and technical requirements, foreign recommendations, such as those from the UK’s National Cyber Security Centre and Germany’s BSI (Federal Office for Information Security) guidelines, offer different perspectives on AMM models and security requirements. In Section 8, this article concludes a repeatable methodology, input prerequisites, and tools for testing smart meters and related infrastructure to meet cybersecurity requirements. Future work will focus on optimizing the methodology, updating requirements, and adapting it to other protocols, such as IEC 60870-5-104. 1.2. Related Works The background for the main topic of this article (smart metering cybersecurity), is the current situation, in which distribution companies are required to install new smart meters by 2027. Because the deployment of the new smart meters will be mostly selective (due to the consumption requirement), it is ideal to use wireless technologies in the licensed band. Considered technologies are NB-IoT and LTE Cat M1, according to the specification Sensors 2023,23, 4043 3 of 21 from 3GPP (3rd Generation Partnership Project). However, one of the major challenges facing the installation of smart meters, are the new requirements for cybersecurity, which have not been considered for previously deployed electricity meters (which may have had unsecured communication or only basic assurance of confidentiality, with fixed keys). This paper aims to address the problem of unclear specifications for security requirements in smart meters, as well as the lack of methodologies, procedures, and tools to verify these requirements. Table 1represents the analysis of related works, the column ‘DLMS’, specifies whether the article uses DLMS as a main protocol, and the column ‘Method’, represents the main method used in the given article. Table 1. The state of the art. No. Authors Year DLMS Method Purpose [5] ENCS 2019 7C2/L 5/E 7Security requirements and methodology [6] Shanmukesh Pudi et al. 2021 XA6/L 5/E 7Practical attacks on SMs, modification of messages [7] M. S. Abdalzaher et al. 2023 7A6Key management analysis for SMs [8] Norman Luring et al. 2018 XA6Analysis of weaknesses of the security layer in DLMS [9] Ali Ismail Awad et al. 2023 7A6Assessment of potential security risks in SMs [10] Obaid Ur-Rehman et al. 2015 7C2/A 6 Analysis of security issues in SMs and introduction to possible solutions [11] David Baˇcnar et al. 2022 7A6 Security and privacy analysis with intrusion detection system for SMs [12] Chih-Che Sum et al. 2021 7C2Intrusion detection system for SMs [13] Marcell Fehér et al. 2020 XM4/L 5Correlation between the length of messages and consumption [14] Kumar Prateek et al. 2023 7C2/M 4/A 6New authentication scheme for SMs [15] Priyanka D. Halle et al. 2022 7M4/A 6New protocol for creating secure path through sensors [16] Seung-Hwan Ju et al. 2018 XC2Secure key transfer from manufacturer to operator [17] Vijay Kumar et al. 2014 7C2Design of security protocol to secure AMI systems [18] Tomas Lieskovan et al. 2022 XS1Open-source cyber range for DLMS, training purpose [19] Liang Xiaobing et al. 2016 7E7/F 8Cloud based software for testing SMs [20] Himanshu Goyal et al. 2021 XW3/L 5Validation test bench to test reliability of SMs [21] Zhang Leping et al. 2019 7L5Testing the reliability of SMs’ software implementation [22] Peter Janiga et al. 2015 7L5/E 7Testing system for SMs directed on reliability [23] Henrique Mendes et al. 2018 XL5Tool for testing security during power line communication [24] Rim Marah et al. 2020 7C2Threats for smart meters and proposed system for fire safety of SMs 1Simulation, 2concept, 3working, 4mathematical, 5laboratory tests, 6analysis, 7experiment, 8field tests. The papers listed above, cover various aspects of smart metering security. Some of the papers focus on the analysis of security risks and attacks on smart metering systems, while others propose solutions to address these security issues. Overall, the papers provide a comprehensive overview of the various aspects of smart metering security. The first one is a recommendation dealing with the methodology for testing the security of smart meters. The ENCS is a non-profit organization, supporting the deployment of secure European critical energy networks and infrastructure [ 5 ]. For smart meters, ENCS has proposed security requirements for smart meters and concentrators, meaning that the requirements apply to the communication from the smart meter to the concentrator and from the concentrator to the central HES (head end system), but not to the security of the HES itself. The requirements are defined by ENCS [ 5 ] in general terms for a smart meter and a concentrator/gateway. For each requirement, its security test is listed. The security tests are divided into three categories: (i) documentation assessment; (ii) functional tests; (iii) resistance tests and penetration tests. Therefore, ENCS provides requirements and methodology targeting smart meter security, but does not provide tools and procedures for real testing. At the same time, the setup and configuration requirements, especially for the DLMS protocol, which are necessary for the testing, are not defined. The ENCS methodology is primarily focused on the concentrator/gateway communication concept, using power line communication [ 25 ], and does not consider the recent trend of selective smart meter roll-outs with mobile or radio communication (NB-IoT or LTE Cat M [26]). Sensors 2023,23, 4043 4 of 21 One of the papers [ 6 ], focuses on practical attacks on DLMS, particularly message modification, and the security suite’s problems. The article provides an overview of security in general and recommendations for individual levels’ weaknesses. Another paper [ 7 ] addresses basic and advanced key management issues, including cryptographic algorithms and complex distribution schemes, and explores the potential use of physically unclonable functions in smart meters. Another set of papers assess potential security-related risks that can occur in smart meters and adjacent infrastructure. Reference [ 8 ], is based on risk related to DLMS, whereas paper [ 9 ] deals with the wider area of the AMI. Another paper [ 10 ] examines the security and privacy aspects of smart metering infrastructure. The paper lists potential attackers, security threats, and attacks on smart metering infrastructure, and presents security approaches to address these issues. Reference [ 11 ] provides general information about smart metering, including physical security, theft detection, and communication standards. Reference [ 12 ] deals with the design of an intrusion detection system, that can be made more precise with the use of RAM and CPU. Reference [ 13 ] examines the possible risk of using correlation between the length of encrypted messages and the overall consumption. This could be taken advantage of by burglars. Other papers focus on specific security issues related to smart metering, e.g., reference [ 14 ] proposes a new authentication scheme for smart metering infrastructure using a quantum communication protocol. Another paper [ 15 ] presents a new protocol for creating a secure communication path wirelessly, primarily used in other IoT meters (temperature or humidity sensors), where communication occurs through individual meters. Other references [ 16 , 17 ] propose lightweight protocols for verifying both parties and transferring encryption keys. Another paper [ 18 ] addresses the issue of implementing DLMS communication into the cyber range. This article is not so much focused on security, as it is on teaching and training. The authors have created a virtualized power meter and concentrator, that are dynamically generated using cyber range. As the authors write in the conclusion, security is only the next phase of their research. In terms of testing, several studies [ 19 – 23 ] propose different methods for testing the reliability and security of smart metering systems. These methods range from validating firmware to testing voltage levels, power outages, and different voltage combinations. All of these tests have an impact on the overall security of these devices. The last reference in Table 1[24] deals with the fire safety of smart meters. In conclusion, these papers provide a comprehensive overview of the various aspects of smart metering security, ranging from the analysis of security risks, to proposing solutions to address these issues. The papers demonstrate the importance of ensuring the security and reliability of smart metering systems, given the sensitive data they collect and the potential consequences of a security breach. Therefore, we are working on a system that focuses on requirements, methodology, and testing the cybersecurity of smart meters. We also consider NB-IoT and LTE Cat M1, together with security issues. 1.3. Motivation and Goals Tenders for energy network operators (utility) for smart meters and related infrastructure, are currently being prepared or are already in process in the Czech Republic. Due to legislation, distribution companies in the Czech Republic must install smart meters for customers with an annual consumption exceeding 6 MWh, by 2027. With regard to the direct network connection of smart meters and other devices (e.g., RTU—remote terminal units to control photovoltaic power stations) to important systems related to the control of the distribution system, which is part of the critical infrastructure, it is necessary to define the security requirements and testing methodology for these devices. Related to this, is also the creation of an experimental background that will allow testing the security requirements of newly developed devices and specific protocols (e.g., DLMS/COSEM, IEC 60870-5-104). Sensors 2023,23, 4043 5 of 21 According to the analysis of related works, in Section 1.2, the methodology and tools for testing the security requirements of smart meters are currently missing. The main goals of this article are the following: • introduce security requirements for smart meters and design a methodology to test these requirements; • provide evaluations and measurements according to the proposed methodology; • design and verify tools, software, and equipment for evaluation and measurement according to the proposed methodology; • provide recommendations for smart meter roll-out, based on security requirements considering wireless cellular communication technologies. 2. Background This section describes legislation documents regarding security in smart grids, then some basic concepts regarding the DLMS standard are presented. The last part of this section describes all of the security-related features that are currently specified in the DLMS standard. 2.1. Legislation Regarding Smart Grids The European Union started working on legislation for the deployment of smart meters in 2009, and in this year, three standardization subjects were joined with Mandate M441 [ 27 ]. These subjects’ ESOs (European Standardization Organizations), were CEN (Comité Européen de Normalisation), CENELEC (Comité Européen de Normalisation Électrotechnique), and ETSI (European Telecommunications Standards Institute). This joint group was named the Smart Meters Coordination Group (in short SM-CG). Their joint efforts resulted in multiple recommendations and reports, and all documents can be accessed via [ 28 ]. The most useful of these documents are probably [ 29 – 32 ]. Also, there is one book [ 33 ] that describes in more detail all the possible threats, vulnerabilities, and cybersecurity standards applicable to the electricity sector, and also discusses the costs of cybersecurity management. Other documents, from multiple different organizations, also appeared, e.g., the non-profit organization ENCS in cooperation with ENISA (European Union Agency for Cybersecurity), released a paper about security requirements for procuring smart meters [ 5 ]. In 2014, there was a report from CERRE (Centre on Regulation in Europe), about the regulation of smart meters in Europe, with multiple challenges [ 34 ]. The EU also made multiple legislation frameworks about cybersecurity in critical infrastructure [ 35 ]. All these frameworks should be applied to the security of smart meters, because they are a part of the critical infrastructure. In the Czech Republic, the legislation specifies security requirements in Annex 4 of Decree 359/2020 Coll. [2], see more in Section 3. 2.2. DLMS Basics The DLMS standard is very complex. To better understand how DLMS is used, this section describes the basic principles of communication in DLMS. It defines basic principles on OSI/ISO layers 4–7. It is not dependent on any specific communication technology, so it can be used in combination with wireless (e.g., LTE, NB-IoT, wireless M-Bus, GPRS) or wired (e.g., RS-485, Ethernet, M-Bus) technologies. The DLMS standard can be divided into two main parts. The first one is responsible for the communication, providing security features and the base messaging (all described in the DLMS “Green Book” [ 36 ]). The second part is called COSEM (companion specification for energy metering) and OBIS (object identification system), and is responsible for storing measured values, object modeling, and also providing configuration options (described in the DLMS “Blue Book” [37]). Smart meters which use DLMS contain multiple objects, that can be remotely accessed. These objects contain all possible measured values, such as instantaneous voltage, current, and consumption. Then, there are profile objects, that contain the history of all measured Sensors 2023,23, 4043 6 of 21 values on all phases. Smart meters can also be responsible for billing. The last main set of objects is used for configuration of communication, security, and access levels. Table 2presents an example DLMS object of the register type, which is the most common for measured values. The first attribute (logical name) is the pointer or address to the object, and this particular object contains information about the instantaneous voltage on phase 1. The second attribute (for the register object) contains the measured value, and the last attribute contains the unit of the value (in this case, voltage) and scaler. The scaler is an integer value that represents the exponent of base 10 and is used to shift the decimal point of the value. By combining the value (2453), scaler (–1), and unit (V), the reading of this object results in a value of 245.3 V. Table 2. Example of DLMS register object. Attribute Name Value Note 1 Logical Name 1.0.32.7.0.255 Ch. 0 L1 voltage inst. value 2 Value 2453 Value needs to be combined with scaler 3 Scaler and Unit S: –1, U: 35 Voltage (35) 2.3. Security in DLMS The DLMS standard includes several security-related sections, to ensure authentication and data protection. The authentication takes place during the first phase of communication, in which the client must authorize themselves to the server before accessing any objects. DLMS currently supports eight authentication levels, which can be divided into three sections (the first two of which contain only one authentication method each). The first authentication level (no security) should only be used for public access, because it provides no authentication. The second authentication mechanism is called LLS (low-level security), which uses a pre-shared secret key that is sent in an open form and can be captured and maliciously reused. Neither of these methods can ensure secure authentication on remote connections. The last section is called HLS (high-level security), and it uses the challenge–response model, which requires four messages to be exchanged between the two sides to successfully connect to the meter. HLS can be combined with other algorithms to securely respond to challenges [ 38 ]. The supported algorithms are GMAC (Galois Message Authentication Code), SHA-256 (secure hash algorithm), and EC-DSA (elliptic curve digital signature algorithm); no longer secure are MD5 (message digest 5), and SHA-1. When using EC-DSA, neither party needs to know any pre-shared secret. The authentication is based on the digital signature using known certificates and on the PKI infrastructure (root authority) that signed the certificates for the parties (that both sides use to authenticate themselves). In DLMS, data protection is defined in multiple security levels, called security suites (see Table 3). The AES (Advanced Encryption Standard) is currently specified in DLMS for encryption in all available suites, in combination with the GCM (Galois Counter Mode). The first security suite 0 (in short SS0), uses a pre-shared key for encryption, whereas SS1 and SS2 assume the use of key exchange algorithms to establish symmetric keys for encryption. The DLMS standard supports multiple key exchange models, which are specified by NIST (National Institute of Standards and Technology) [ 39 ] and all models are using the ECDH (elliptic curve Diffie–Hellman) key exchange algorithm [38]. Sensors 2023,23, 4043 7 of 21 Table 3. DLMS security suites [36]. Suite ID Authenticated Encryption Digital Signature Key Agreement Hash Key Transport Compression 0AES- GCM-128 - - - AES-128 key wrap - 1AES- GCM-128 ECDSA P-256 ECDH P-256 SHA- 256 AES-128 key wrap V.44 2AES- GCM-256 ECDSA P-384 ECDH P-384 SHA- 384 AES-256 key wrap V.44 3–15 Reserved for future updates 2.4. Concerns Regarding Security Suite From the security point of view, the majority of security requirements in the area of AMM and smart meters are known primarily in the context of the DLMS security suite (Table 3). Most currently installed and operated smart meters are at most using SS0, where confidentiality and integrity is ensured, and the encryption keys are exchanged via the AES-128 key wrap method. However, solutions built on SS0 are no longer secure in the long term, due to the key sizes. NIST [ 40 ], ECRYPT [ 41 ], ENISA [ 42 ], and NÚKIB [ 43 ] all recommend using the AES-256 after the year 2030 (recommended algorithms are described further in the following section, in Table 4). There are also multiple security risks and problems related to the short key sizes used in SS0 and also the absence of key agreement algorithms: 1. disclosure of used keys, that results in a complete security breach (including past, present, and future communication); 2. forgery of compromised keys; 3. replay attacks, brute force attacks, and dictionary attacks; 4. risks related to the need of securely storing all keys for all meters (in utility systems); 5. risks associated with the impossibility of centrally and quickly changing keys; 6. risks associated with manual device configuration and the need to pre-load or individualize static keys by staff after deployment of the electricity meter. The risk described in point 5 can be mitigated with the use of key exchange algorithms. That is why the SS1 and SS2 should use asymmetric cryptography, mainly the ECDH algorithm. According to NIST [ 44 ], if the symmetric master key (key for exchanging new symmetric keys using the key wrap method) is compromised, it should be replaced, and the new key must be independent from the compromised key. This cannot be fulfilled with the symmetric key exchange that is supported in DLMS. When using asymmetric key exchange algorithms (the only one supported in DLMS is ECDH), this independence is no longer an issue. In addition, all the keys (including the master key) need to be periodically changed, to fulfill the cryptoperiod recommendations from NIST [40]. When we take into consideration the expected life span of an electricity meter (over 15 years), we need to use the future security recommendations, and that means using only SS2, but for the next few years, even SS1 is sufficient (until 2030). Sensors 2023,23, 4043 8 of 21 Table 4. Requirements for cryptographic algorithms and protocols ( X —approved and recommended; 7— legacy and not recommended). Cryptographic Requirements By 2030 2030–2036 Past 2036 Ensuring confidentiality Use of block cipher AES-256 X X X Use of block cipher AES-128, AES-192 X7 7 Ensuring confidentiality and integrity Use of block cipher mode GCM, CCM X X X Use of block cipher mode CTR, OFB, CBC, CFB in combination with secure MAC in mode EncryptThenMAC with approved ciphers X7 7 Ensuring integrity Digital signature DSA 15360 and more, EC-DSA-512 and more, RSA 15360 and more X X X Digital signature DSA 3072, EC-DSA-256, RSA 3072 X X 7 Hash SHA2-512, SHA3-512 X X X Hash SHA2-256, SHA2-384, SHA3-256, SHA3-384 X X 7 Mode for integrity protection HMAC, CMAC X X X Ensuring key management DH-15360, ECDH-512 X X X DH-3072, ECDH-256 X X 7 Random bit generator HMAC_DRBG, Hash_DRBG both for SHA-1, SHA-224, SHA-512/224, SHA-256, SHA-512/256, SHA-384, SHA-512, SHA3-512 X X X 3. Design of Security Requirements The design of security requirements for smart meters is critical for ensuring the security and reliability of these systems. Smart meters, and the wider smart grid infrastructure, are vulnerable to a range of cyber threats, such as unauthorized access, denial-of-service attacks, and data breaches. The design of security requirements for smart meters and smart grids should address these vulnerabilities and include measures such as secure communication protocols, strong authentication mechanisms, and real-time threat detection and response capabilities. Additionally, the security requirements should also consider the privacy of energy consumption data collected by smart meters. A comprehensive design of security requirements can help to ensure that smart meter and smart grid technology can operate safely and securely, in a rapidly evolving threat landscape. Table 4lists multiple cryptographic algorithms and protocols (including their assumed lifetime). These protocols are mainly based on requirements from NÚKIB, ENISA, and NIST. Based on this table, the minimal cryptographic requirements were created, and now are defined in Annex 4 of Decree 359/2020 [ 2 ]. This table also shows the compliance with the requirements from [ 2 ] and with the DLMS security suite, where the DLMS security suite is not considered to be secure after 2036. Table 4definesminimalsecuritylevelsforthe individualperiods(“By2030”, “2030–2036 ”, “Past 2036”). These time periods are not periods where the SMs are tendered or purchased but in which SMs will be installed and in operation. When we take into consideration that an electricity meter has a life span around 20+ years, we need to assume that all the SMs will have to meet the highest level of cryptographic security in the second half of their life span. The SM Sensors 2023,23, 4043 9 of 21 does not have to support the higher security level (“over 2036”) from the beginning (at the time of installation) but the new security algorithms can be updated in the SM later. This is also the technical requirement no. 15: “Remote update of security features and cryptographic primitives” (more technical requirements from [2] are described in Table 5). Table 5. Technical requirements from [2]. No. Description 1 Safe recovery after an error, outage, or failure 2 Reliable time synchronization 3 Instructions for safe installation, initialization, and operation supplied together with the device 4 Data validation before its use: protection of inputs 5 Flood protection (DoS) using traffic filtering or network segmentation, resource management 6 Interface minimization: deactivation of all unnecessary services, protocols, and physical interfaces 7 Security events must be recorded and reported, the log must be protected against modification and deletion, min. size for 1000 security records 8 Every device must be uniquely identifiable 9 Data in messages must be encrypted 10 Messages must have integrity protection 11 Execution of commands must be confirmed 12 Access to the elements processing sensitive data requires breaking through a security perimeter with a seal 13 Cryptographic credentials must be unique and securely stored for the smart meter, they must not reduce the security of another smart meter after being stolen 14 Separation of measurement and communication functionality 15 Remote update of security features and cryptographic primitives 16 Remote update of cryptographic credentials 4. Testing Smart Meters The industry of smart metering has been growing rapidly, and it has become increasingly important to ensure the security and reliability of smart meter devices. However, there has been a lack of a standardized testing methodology and tools for this purpose. While organizations such as the ENCS have developed requirements and methodologies for smart metering, there is no widely accepted testing environment that is publicly available. In response to this need, a new testing methodology has been developed, that is based on the standards set by NIST and ENISA. This methodology provides a standardized framework for testing the security and reliability of smart meter devices, and it is designed to be used in conjunction with existing testing tools and environments. By adopting this methodology, smart meter manufacturers and utilities can ensure that their devices meet the highest standards of security and reliability, which is crucial for maintaining public trust in the smart grid. The introduction and the comparison of related work, revealed that there is not enough articles about testing the security of smart meters, or the security testing is not described there in sufficient detail. Therefore, this section is dedicated to introducing our testing methodology and also to presenting some interesting results and insights from our experience with the testing. 4.1. Testing Methodology—Basics The main part of our work was the development of a new testing methodology, to test the cybersecurity of SMs for deployment in the Czech Republic. Moreover, our methodology and the related testing, can be used to test any smart metering device for deployment in any country, even though the methodology is based on a specific Czech law [ 2 ]. Thanks Sensors 2023,23, 4043 16 of 21 • check if data in messages are encrypted (M16); • check if data in messages have protected integrity (M16); • check if cryptographic material can be updated (M17); • verify log entries (M19); • check if the SM is measuring values during DoS attack (M22); • verify that lower roles can access security-related objects (M24); • verify usage of strong authentication (M25); • verify whether SM blocks roles after unsuccessful attempts (M26); • perform security based update (M27, M29). DATEL can also be used for tests that are not directly related to the testing methodology: • testing new communication technologies related to smart metering (e.g., Section 6); • measuring data volumes of normal operation (e.g., to develop new reading schemes); • measuring connection parameters: delays, timers, and speeds; • can be used on a connection that is being tunneled via TLS or IPsec. One of the last benefits of DATEL, is that it is very lightweight. When we compare DATEL with the production environment, HES usually cannot be easily deployed or provided for testing. 6. Cybersecurity in the Context of Wireless Cellular Technologies Tenders for smart electricity meters and related infrastructure are currently being prepared or are already in process. Due to Decree 359/2020 [ 2 ], distribution companies must install smart meters for customers with an annual consumption exceeding 6MWh by 2027, this predisposes selective installations with wireless technologies in a license band. NB-IoT and LTE Cat M technologies, according to the specification of the 3GPP association, are mainly being considered. The considered deployment of smart meters also includes placement in “indoor” and “deep indoor” environments (approx. 10–15% of consumption points). From the point of view of radio communication, “indoor” is an environment where the radio signal spreads from the outdoor to the indoor environment. From the point of view of attenuation of the radio signal by the environment, the signal strength may decrease by approximately 20 dB. In the case of “deep indoor”, it is a significantly more demanding environment for the penetration (passage) of the radio signal than in the case of the “indoor” environment. From the point of view of radio communication, in the case of deep indoor, it is an environment where the signal strength may be from − 120 dBm to − 137 dBm (the signal strength in normal or ideal conditions is − 100 dBm). Examples of deep indoor environments include, concrete underground spaces, metal covers of electricity meter boxes in underground spaces, or places where there is insufficient radio signal coverage (signal to interference plus noise ratio, SINR < − 3). Due to the typical sensitivity of the receiver for 2G and LTE mobile technologies of about − 102 dBm, the coverage may not be sufficient, due to the considered attenuation for “indoor” and “deep indoor” scenarios. Therefore, NB-IoT and LTE Cat-M1 technologies are being considered, which offer a receiver sensitivity of up to −130 dBm. At first glance, it seems that communication technologies have nothing to do with cybersecurity and the security requirements mentioned in the previous sections. Insights from testing smart meters with NB-IoT and LTE Cat M1 [ 51 ], in the context of cybersecurity requirements, are presented in the following sections. 6.1. Vendor Backdoor Analysis of the use of the frequency spectrum is important for proper communication from the point of view of NB-IoT and mobile networks, but also from the point of view of cybersecurity, as it is an important tool for monitoring communication and eliminating transmissions outside the required functions (vendor backdoor). For example, the meter may send random messages that are not documented. Sensors 2023,23, 4043 17 of 21 6.2. Network Registration As part of the testing of several different smart meters, an incorrect configuration for registration to the mobile network (NB-IoT) was revealed, when after turning off the smart meter and then turning it on, the communication module did not try to reconnect to the last known base station (cell) and it started the procedure for detection (scanning) of available base stations. This procedure was run for all supported communication technologies, e.g., NB-IoT, LTE Cat-M and also EGPRS, see the point above. The result was an increase in the time window required for the registration of the smart meter to the mobile network (NB- IoT), where the time was on the order of several minutes. This does not fulfill the technical requirement no. 1: safe recovery after an error, outage, or failure. Testing took place in radio conditions corresponding to ECL class 0 (enhancement coverage level), when the signal strength level (parameter RSRP—reference signal received power) was in the range of − 60 dBm to − 105 dBm. In the case of demanding radio conditions (below − 120 dBm, i.e., ECL 2), a significant increase in the time required for successful registration can be expected. So it is crucial to reach a point/configuration that only takes a few seconds for the module to successfully register to the network. 6.3. Behavior of Smart Meter in the Case of Limited Radio Conditions Knowledge of the limit parameters of communication, in case of borderline radio conditions, is key, due to the planned remote updating of security functionalities and cryptographic primitives (technical requirement no. 15 in Table 5). It can be observed that, due to deteriorated (boundary) radio conditions, repeated transmission of the message was carried out. Repeated attempts when sending data in the case of ECL 1 or ECL 2, further increase the communication delay. It is necessary to reflect this fact on the intermediate network elements (firewalls) and adjust the timer settings for the delivery of the message on the side of the surveillance system (central). In the case of an increase in ambient noise (interference), the communication delay increases and the message may not be delivered. RSRP levels lower than − 133 dBm were not recorded during the measurements, and thus the transition to ECL 2 only causes the SINR parameter if its value is lower than − 3 dB. In the case of switching to ECL 2, however, robust modulation and coding schemes are used. In the most robust case, it is the BPSK (binary phase shift keying), i.e., digital modulation based on shifting the phase of the harmonic carrier by 0 ° or 180 ° , depending on the value of the binary modulation signal. This modulation is therefore used in ECL 2, instead of QPSK (quadrature phase shift keying), i.e., digital modulation that uses four-state keying by phase shift, where each state transmits 2 bits simultaneously. At the same time, it is a basic type of quadrature modulation, as its constellation diagram is identical to 4-QAM modulation. Based on the measurements, it can be concluded that, in the case of this location, 1 message out of 20 sent was not delivered. 7. Discussion Based on the analysis of the current state of the art (Section 1.2), the solution defined by ENCS is very similar. The contributions and important extension of this paper are: • the definition of tools, procedures, and rules for testing particular security requirements for smart meters; • design of the initial prerequisites and DLMS protocol parameters for the testing; • consideration of the testing methodology with respect to the specifics and limitations of wireless mobile communication technologies (point-to-point). Czech legislation for the upcoming roll-out of smart meters, has defined a set of requirements for cryptographic mechanisms, and a set of technical requirements (Annex 4 of Decree 359/2020 on electricity metering [ 2 ]). From the perspective of foreign rules, and recommendations of major institutions, the following standards, norms, and recommendations can be considered for AMM in the Czech Republic: Sensors 2023,23, 4043 18 of 21 • NCSC: National Cyber Security Centre (United Kingdom) –defines a comprehensive national certification for smart meter security; – considers a different system architecture (prepaid tariffs, hubs, and concentrators). • DLMS: DLMS security suite – does not define technical requirements, only cryptographic algorithms and keys. • BSI profile (Germany) – In Germany, the AMM model is different and they are considering a smart meter gateway, which must meet the most strict requirements of the BSI guidelines. These requirements could be fulfilled only by the security at higher layers using TLS or IPSec, and with sufficient hardware to meet the technical requirements. During the testing of smart meters, a variety of tools were used, to ensure the accuracy and reliability of the devices. Some of the main tools utilized were Wireshark, arpspoof, hping3, tcpreplay, Linux Kali, traffic generator avalanche, frequency analyzer, Greenbone, Nmap, and a custom DLMS application—DATEL. These tools provided a range of functionalities, such as traffic analysis, packet manipulation, frequency analysis, vulnerability scanning, and traffic generation. By utilizing this diverse set of tools, the testing team was able to thoroughly evaluate the smart meters and ensure their secure and efficient operation in real-world scenarios. Our testing software DATEL, is based on modified open-source code from Gurux, which allows anyone to easily customize and modify the code to meet their specific testing needs. This flexibility is especially useful for companies and organizations with unique testing requirements or specialized equipment. Furthermore, by utilizing open-source code, our testing software benefits from the collective contributions of the community, ensuring that the software remains up-to-date and can be continuously improved over time. 8. Conclusions The key point of deploying smart meters and related infrastructure, is the real laboratory testing to meet cybersecurity requirements, by an independent authority, as part of a tender process. These tests must be carried out prior to actual deployment, otherwise there are potential risks (financial losses, breach of legislation or GDPR, damage to the customer, company name, or customer disconnection). This article defines the necessary prerequisites for the testing, and presents the testing method, tools, and methodology. The main contributions of the results in this article, are the repeatable methodology, initial prerequisites, and tools for testing for evaluation of smart meter security. Future work will focus on further testing of smart meters and related infrastructure, to optimize the methodology and update requirements. At the same time, the aim is to adapt the methodology and tools to other protocols, e.g., IEC 60870-5-104, which is used by RTUs for dispatching decentralized resources. Author Contributions: Conceptualization, D.K., T.L. and P.M.; methodology, D.K., T.L. and P.M.; validation, D.K. and T.L.; investigation, D.K., T.L. and P.M.; resources, D.K. and T.L.; writing—original draft preparation, D.K., T.L. and P.M.; writing—review and editing, D.K., T.L. and P.M.; supervision, P.M.; project administration, P.M.; funding acquisition, P.M. All authors have read and agreed to the published version of the manuscript. Funding: The research described in this paper was financed by the Ministry of the Interior of the Czech Republic, project no. VJ02010016. Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: The authors will not publish the data online. Conflicts of Interest: The authors declare no conflict of interest. Sensors 2023,23, 4043 19 of 21 References 1. Zaraket, C.; Dogas, I.; Kalyvas, D.; Papageorgas, P.; Aillerie, M.; Agavanakis, K. Open Source LoRaWAN Telemetry Test Bench for Smart Grid—A DLMS/COSEM Implementation Case Study. AIP Conf. Proc. 2022,2437, 020196. [CrossRef] 2. Electricity metering decree, Act No. 359/2020 Coll. 2020. Available online: https://eur-lex.europa.eu/legal-content/CS/TXT/ PDF/?uri=NIM:202100180 (accessed on 20 January 2023). 3. European Commission. NIS2 Directive. 2022. Available online: http://data.europa.eu/eli/dir/2022/2555/oj (accessed on 20 January 2023). 4. Zákon 181/2014 Sb. o Kybernetické Bezpeˇcnosti a o Zmˇenˇe Souvisejících Zákon˚u (Zákon o Kybernetické Bezpeˇcnosti), 2014. Available online: https://www.govcert.cz/download/kii-vis/ZKB_uplne_zneni.pdf (accessed on 20 January 2023). 5. SM-301-2019: Security Requirements for Procuring Smart Meters and Data Concentrators. Technical Report, ENCS, 2019. Available online: https://encs.eu/resource/sm-301-2019-security-requirements-for-procuring-smart-meters-and-data-concentrators/ (accessed on 30 January 2023). 6. Pudi, S.; Lagineni, M.; JaganMohan, K.; Kumar, R.; Bindhumadhava, B. Secure DLMS/COSEM communication for Next Generation Advanced Metering Infrastructure. Asian J. Converg. Technol. 2021,7, 92–98. [CrossRef] 7. Abdalzaher, M.S.; Fouda, M.M.; Emran, A.; Fadlullah, Z.M.; Ibrahem, M.I. A Survey on Key Management and Authentication Approaches in Smart Metering Systems. Energies 2023,16, 2355. [CrossRef] 8. Luring, N.; Szameitat, D.; Hoffmann, S.; Bumiller, G. Analysis of security features in DLMS/COSEM: Vulnerabilities and countermeasures. In Proceedings of the 2018 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT), Washington, DC, USA, 19–22 February 2018; pp. 1–5. [CrossRef] 9. Awad, A.I.; Shokry, M.; Khalaf, A.A.M.; Abd-Ellah, M.K. Assessment of potential security risks in advanced metering infrastructure using the OCTAVE Allegro approach. Comput. Electr. Eng. 2023,108, 108667. [CrossRef] 10. Ur-Rehman, O.; Zivic, N.; Ruland, C. Security issues in smart metering systems. In Proceedings of the 2015 IEEE International Conference on Smart Energy Grid Engineering (SEGE), Oshawa, ON, Canada, 17–19 August 2015; pp. 1–7. [CrossRef] 11. Baˇcnar, D.; Leytner, L.; Prenc, R.; Jardas, V.; Lerga, J. On Security and Privacy In Smart Metering Systems. In Proceedings of the 2022 7th International Conference on Smart and Sustainable Technologies (SpliTech), Split/Bol, Croatia, 5–8 July 2022; pp. 1–6. [CrossRef] 12. Sun, C.C.; Sebastian Cardenas, D.J.; Hahn, A.; Liu, C.C. Intrusion Detection for Cybersecurity of Smart Meters. IEEE Trans. Smart Grid 2021,12, 612–622. [CrossRef] 13. Fehér, M.; Yazdani, N.; Aranha, D.F.; Lucani, D.E.; Hansen, M.T.; Vester, F.E. Side Channel Security of Smart Meter Data Compression Techniques. In Proceedings of the 2020 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Tempe, AZ, USA, 11–13 November 2020; pp. 1–6. [CrossRef] 14. Prateek, K.; Maity, S.; Amin, R. An Unconditionally Secured Privacy-Preserving Authentication Scheme for Smart Metering Infrastructure in Smart Grid. IEEE Trans. Netw. Sci. Eng. 2023,10, 1085–1095. [CrossRef] 15. Halle, P.D.; Shiyamala, S. Secure advance metering infrastructure protocol for smart grid power system enabled by the Internet of Things. Microprocess. Microsyst. 2022,95, 104708. [CrossRef] 16. Ju, S.H.; Seo, H.S. Design key management system for DLMS/COSEM standardbased smart metering. Int. J. Eng. Technol. 2018 , 7, 554–557. 17. Kumar, V.; Hussain, M. Secure communication for advance metering infrastructure in smart grid. In Proceedings of the 2014 Annual IEEE India Conference (INDICON), Pune, India, 11–13 December 2014; pp. 1–6. [CrossRef] 18. Lieskovan, T.; Hajny, J. Security of Smart Grid Networks in the Cyber Ranges. ARES22. In Proceedings of the 17th International Conference on Availability, Reliability and Security, Vienna, Austria, 23–26 August 2022. [CrossRef] 19. Xiaobing, L.; Wei, C.; Feng, Z.; Bin, X.; Zhiqiang, S. Design of a security smart meter software testing cloud service system. In Proceedings of the 2016 IEEE Information Technology, Networking, Electronic and Automation Control Conference, Chongqing, China, 20–22 May 2016; pp. 874–878. [CrossRef] 20. Goyal, H.; Purohit, A. Landis+Gyr. Smart Meter Validation Test Bench. Available online: https://www.ni.com/cs-cz/ innovations/case-studies/19/smart-meter-validation-test-bench.html (accessed on 20 January 2023). 21. Leping, Z.; Baoshuai, W.; Shanshan, H.; Yi, L.; Yi, P.; Zhanhe, W. Research on Key Test Methods of the Smart Meter Software Based on Failure Modes. J. Phy. Conf. Ser. 2019,1325, 012172. [CrossRef] 22. Janiga, P.; Liska, M.; Volcko, V.; Pilat, B. Testing system for smart meters. In Proceedings of the 2015 16th International Scientific Conference on Electric Power Engineering (EPE), Kouty nad Desnou, Czech Republic, 20–22 May 2015; pp. 519–522. [CrossRef] 23. Mendes, H.; Medeiros, I.; Neves, N. Validating and Securing DLMS/COSEM Implementations with the ValiDLMS Framework. In Proceedings of the 2018 48th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops (DSN-W), Luxembourg, 25–28 June 2018; pp. 179–184. [CrossRef] 24. Marah, R.; Gabassi, I.E.; Larioui, S.; Yatimi, H. Security of Smart Grid Management of Smart Meter Protection. In Proceedings of the 2020 1st International Conference on Innovative Research in Applied Science, Engineering and Technology (IRASET), Meknes, Morocco, 16–19 April 2020; pp. 1–5. [CrossRef] 25. Mlynek, P.; Misurec, J.; Silhavy, P.; Fujdiak, R.; Slacik, J.; Hasirci, Z. Simulation of Achievable Data Rates of Broadband Power Line Communication for Smart Metering. Appl. Sci. 2019,9, 1527. [CrossRef] Sensors 2023,23, 4043 20 of 21 26. Mikulasek, M.; Dvorak, R.; Stusek, M.; Masek, P.; Mozny, R.; Mlynek, P.; Hosek, J. NB-IoT vs LTE Cat M1: Demystifying Performance Differences under Varying Radio Conditions. In Proceedings of the 2022 14th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT), Valencia, Spain, 11–13 October 2022; pp. 133–138. [CrossRef] 27. European Commission. Mandate M441 for Smart Meters. 2009. Available online: https://energy.ec.europa.eu/mandate-m441 -smart-meters-march-2009_en (accessed on 30 January 2023). 28. Smart Meters Coordination Group. SM-CG: Smart Grids and Meters. Technical Report, CEN, CENELEC, ETSI. 2016. Available online: https://www.cencenelec.eu/areas-of-work/cen-cenelec-topics/smart-grids-and-meters/smart-meters/ (accessed on 30 January 2023). 29. Smart Meters Coordination Group. Protection Profile for Smart Meter Minimum Security Requirements. Technical Report, CEN, CENELEC, ETSI. 2019. Available online: https://www.esmig.eu/wp-content/uploads/2022/01/Protection-Profile-for-Smart- Meters.pdf (accessed on 30 January 2023). 30. Smart Meters Coordination Group. Minimum Security Requirements for AMI Components. Technical Report, CEN, CENELEC, ETSI. 2016. Available online: https://www.cencenelec.eu/media/CEN-CENELEC/AreasOfWork/CEN-CENELEC_Topics/ SmartGridsandMeters/SmartMeters/smcg_sec0109.pdf (accessed on 30 January 2023). 31. ETSI TR 103 118: Machine-to-Machine Communications (M2M); Smart Energy Infrastructures Security; Review of Existing Security Measures and Convergence Investigations. Technical Report, ETSI. 2015. Available online: https://www.etsi.org/ deliver/etsi_tr/103100_103199/103118/01.01.01_60/tr_103118v010101p.pdf (accessed on 30 January 2023). 32. ETSI TR 103 644: Observations from the SUCCESS Project Regarding Smart Meter Security. Technical Report, ETSI. 2020. Available online: https://www.etsi.org/deliver/etsi_tr/103600_103699/103644/01.02.01_60/tr_103644v010201p.pdf (accessed on 30 January 2023). 33. Leszczyna, R. Cybersecurity in the Electricity Sector: Managing Critical Infrastructure; Springer: Cham, Switzerland, 2019. [CrossRef] 34. Cervingi, G.; Larouche, P. Regulating smart metering in Europe: Technological, Economic and Legal Challenges. Technical Report, CERRE. 2014. Available online: https://cerre.eu/publications/regulating-smart-metering-europe-technological-economic-and- legal-challenges/ (accessed on 30 January 2023). 35. European Commission. Critical Infrastructure and Cybersecurity. 2020. Available online: https://energy.ec.europa.eu/topics/ energy-security/critical-infrastructure-and-cybersecurity_en (accessed on 30 January 2023). 36. Green Book: DLMS/COSEM Architecture and Protocols, 10-v1.0 ed.; DLMS User Association: Zug, Switzerland, 2020. 37. Blue Book: COSEM Interface Classes and OBIS Object Identification System, 14-v1.0 ed.; DLMS User Association: Zug, Switzerland, 2020. 38. Lieskovan, T.; Hajny, J.; Cika, P. Smart Grid Security: Survey and Challenges. In Proceedings of the 11th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT), Dublin, Ireland, 28–30 October 2019. [CrossRef] 39. Barker, E.; Chen, L.; Keller, S.; Roginsky, A.; Vassilev, A.; Davis, R. Recommendation for Pair-Wise Key-Establishment Schemes Using Discrete Logarithm Cryptography; Technical Report; National Institute of Standards and Technology (NIST): Gaithersburg, MD, USA, 2018. [CrossRef] 40. Barker, E. Recommendation for Key Management: Part 1—General; Technical Report; National Institute of Standards and Technology (NIST): Gaithersburg, MD, USA, 2020. [CrossRef] 41. ECRYPT–CSA. Algorithms, Key Size and Protocols Report; IACR Cryptology ePrint Archive: Bristol, UK, 2018. Available online: https://www.ecrypt.eu.org/csa/documents/D5.4-FinalAlgKeySizeProt.pdf (accessed on 20 January 2023). 42. European Union Agency for Cybersecurity; Smart, N. Algorithms, Key Size and Parameters: Report—2014; ENISA: Heraklion, Greece, 2014. [CrossRef] 43. NÚKIB. Minimální Požadavky na Kryptografické Algoritmy. 2022. Available online: https://www.nukib.cz/download/ publikace/podpurne_materialy/Kryptograficke_prostredky_doporuceni_v2.0.pdf (accessed on 21 January 2023). 44. Barker, E.; Roginsky, A.; Davis, R. Recommendation for Cryptographic Key Generation; Technical Report; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2017. [CrossRef] 45. NAP SG–Safety Requirements for Smart Meters and Related Infrastructure. 2020. Available online: https://www.mpo.cz/ assets/cz/energetika/strategicke-a-koncepcni-dokumenty/narodni-akcni-plan-pro-chytre-site/2020/5/Vytah-studie-NAP- SG-kyberneticka-bezpecnost.pdf (accessed on 20 February 2023). 46. Kohout, D.; Lieskovan, T.; Masek, P.; Slacik, J.; Mlynek, P. Project-Testing the Cyber Security of Smart Electricity Meters 1. 2022. Available online: https://www.vut.cz/en/rad/projects/detail/34928 (accessed on 19 January 2023). 47. Kohout, D.; Lieskovan, T.; Masek, P.; Slacik, J.; Mlynek, P. Project-Testing the Cyber Security of Smart Electricity Meters 2. 2022. Available online: https://www.vut.cz/en/rad/projects/detail/34927 (accessed on 20 January 2023). 48. National Action Plan for Smart Grids (NAP SG). 2016. Available online: https://www.mpo.cz/en/energy/electricity/nationalaction-plan-for-smart-grids-nap-sg--221572/ (accessed on 14 January 2023). 49. Gurux DLMS Library. Available online: https://www.gurux.fi/ (accessed on 10 January 2023). Sensors 2023,23, 4043 21 of 21 50. Kohout, D.; Mlýnek, P. Testing Smart Meters with Custom Application. In Proceedings of the 2022 IEEE International Carnahan Conference on Security Technology (ICCST), Valeˇc, Czech Republic, 7–9 September 2022; pp. 1–6. [CrossRef] 51. Mlýnek, P.; Mašek, P.; Fujdiak, R.; Sláˇcik, J. Roll-out chytrých elektromˇeru s NB-IoT/LTE Cat M–reálné zkušenosti. In Proceedings of the Sborník konference ˇ CK CIRED 2022, ˇ Ceské Budˇejovice, Czech Republic, 8–9 November 2022. 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.