scieee AI-readable full text Open interactive document viewer

Security model for IoT applications - IoTSeMo

Páez Méndez, Rafael Vicente,Ruiz García, Edgar E.,Forné Muñoz, Jorge

Abstract

The Internet of Things (IoT) is a technology that has become popular because of the ease of use, accessibility and services that can be offered to improve the quality of life of users. However, most of the manufacturers and IoT developers do not consider the risks inherent to this new technology due to, among other factors, their eagerness to market their products and/or applications and the lack of understandable ways to identify where and what protect in this wide environment to preserve data according to their sensitivity. Despite the above, IoT ecosystems are already being used in multiple contexts such as healthcare, automotive industries, home automation, among others, so it is necessary to have a structured methodology to develop secure IoT applications. Thus, a new IoT Security Model (IoTSeMo) is proposed to easily identify which security mechanisms should be implemented, according to the handling of the information.

Full text

Security model for IoT applications - IoTSeMo Rafael V. Páez-Méndez1[0000−0003−1721−0883)], Edgar E. Ruiz García1[0000−0002−6657−3608], and Jordi Forné2[0000−0002−8401−3292] 1Pontificia Universidad Javeriana, Bogotá 110231, Colombia ⋆⋆ {paez-r,eruiz}@javeriana.edu.co 2Politechnics University of Catalonia, Barcelona 08034, Spain [email protected] Abstract. The Internet of Things (IoT) is a technology that has become popular because of the ease of use, accessibility and services that can be offered to improve the quality of life of users. However, most of the manufacturers and IoT developers do not consider the risks inherent to this new technology due to, among other factors, their eagerness to market their products and/or applications and the lack of understandable ways to identify where and what protect in this wide environment to preserve data according to their sensitivity. Despite the above, IoT ecosystems are already being used in multiple contexts such as healthcare, automotive industries, home automation, among others, so it is necessary to have a structured methodology to develop secure IoT applications. Thus, a new IoT Security Model (IoTSeMo) is proposed to easily identify which security mechanisms should be implemented, according to the handling of the information. Keywords: IoT security, IoT model, security requirements, security methodology 1 Introduction The term IoT is associated with any node connected to Internet, that facilitates machine-to-human (M2H) and machine-to-machine (M2M) communication with the physical world. This interaction involves different communication technologies, in addition to RFID, such as Bluetooth, WiFi, Global System for Mobile Communications (GSM), Near Field Communicaction (NFC) and satellite communication, but for IoT ecosystems it is required to have a broadband, so ⋆⋆ Rafael V. Páez-Méndez is the recipient of a postdoctoral “Fundación Carolina” fellowship. This work was also supported by the Spanish Government under the project “Enhancing Communication Protocols with Machine Learning while Protecting Sensitive Data (COMPROMISE)” PID2020-113795RB-C31, funded by MICIU/AEI/10.13039/501100011033; the project “Anonymization technology for AI- based analytics of mobility data (MOBILYTICS)” (TED2021-129782B-I00), funded byMICIU/AEI/10.13039/501100011033 and by the European Union NextGenerationEU/PRTR; and funded by the Generalitat de Catalunya, under AGAUR grant “2021 SGR 01413” currently 3G, 4G technologies are used, although they are not entirely optimal for IoT applications, but it is expected that with the global deployment of 5G technology, which is already operating commercially in many countries around the world, it will be possible to have pervasive computing through IoT devices, allowing them to communicate with each other and in turn be connected to the Internet. Due to the better features offered by 5G in terms of transmission speeds, low latency, scalability, mobility, etc. and currently many countries have already implemented this technology and others are in the process, it is necessary to be prepared to take advantage of the benefits in different areas of industry (referred as Industry IoT - IIoT), as well as in scenarios of people’s daily life such as smart home, smart buildings, smart cities, or other special purpose applications [1]. Some key 5G usage scenarios that are clearly identified are eMBB (Enhanced Mobile Broadband), URLLC (Ultra-Reliable Low Latency Communications), and mMTC (Mobile Multimedia Transmission Control) (Massive Machine-Type Communications)[2]. It is also necessary to address the new technical challenges that are inherent to IoT in conjunction with 5g, which can be summarized as: Scalability and network management, Interoperability and heterogeneity, Security assurance and Privacy. In some cases it is necessary to preserve confidentiality, privacy and/or the correct handling of the information with respect to the laws established by regulatory entities, which depend on the control bodies for data processing and the laws of each country. This paper reviews the evolution, growth and structuring of IoT environments, as well as the union with adjacent technologies to offer services. Finally, different architectures are analyzed and the IoTSeMo security model for IoT Architectures is proposed and applied, which is much needed, because most "things" are limited in storage and processing, so device manufacturers and application developers prioritize functionality but sacrifice security. 2 IoT Architectures and Components Regarding the components and interaction of an IoT environment, some authors propose a general architecture of three layers: Sensing/Perception/Hardware Layer, Network/communication layer and Layer of interfaces/services[3]–[5]. 2.1 Sensing/Perception/Hardware Layer In this layer are located the sensor devices, RFID readers, tags, actuators and gateways and are the base infrastructure from which the data from the environment is obtained. A sensor is a device that detects a stimulus from the environment and converts it into an electrical impulse through a transducer and sends a signal to another device. A general purpose sensor performs the function of collecting information from its environment to determine proximity, smoke signals, measure temperature, humidity, light, etc. [6]. Actuators are devices that receive an input, usually an electrical signal and perform an action that can be physical, on themselves or on other devices (e.g., a hydraulic pump) and can also perform logical actions such as sending a text message or controlling the movements of a robot. Actuators can be hydraulic, pneumatic, electrical, thermal/magnetic or mechanical. Another important component within the IoT environment is Gateway which is capable of receiving, correlating and sending information to other nodes, therefore, it requires more capacity in terms of computational resources [7]. In an IoT environment, the Gateway acts as a communications proxy between the sensor and the "things" that are connected. Fig. 1. IoT connectivity technologies in terms of data rate, coverage, and Latency[8]. Regarding the Readers, they send both modulated commands and continuous wave (CW) to interrogate and energize the tags, the tag sends as a response its unique identifier and the reader forwards this response to a server to check the authenticity of the tag, comparing the received identifier with the stored identifiers, if there is a match, the process to send and receive information continues [9]. Technologies as ZigBee, 6LoWPAN and WirelessHART operate over Low-rate Wireless Personal Area Network (LR-WPAN - IEEE 802.15.4). Other technologies used by IoT non oriented to low data rate such as Wireless Access in Vehicular Environments (WAVE - IEEE 1609) work over WiFi (IEEE 802.11). On the other hand, depending on the restrictions in terms of bandwith, power consumption and coverage range, among others could be suitable to use other technologies such as Ethernet, BlueTooth, Long Range (LoRa), etc. The Fig. 1 depicts multiple technologies according to data rate, coverage, and Latency [8]. 2.2 Network/communication layer This layer is responsible for communication among IoT devices or with other devices such as servers. The networks used as transport media can be wired or wireless, public, private or hybrid; these networks must support communication, low latency, bandwidth and security requirements. Multiple technologies and protocols are also necessary to interact with other devices in a heterogeneous environment. This layer is responsible for receiving data from the perception layer, usually through a gateway device, and sends it to the application layer using 3G, 4G, WiFi, Bluetooth, ZigBee or other technologies. Other devices in this layer are the routers that are responsible for verifying the received data, configuring routes and sending the data through the different networks; there are also the repeater devices, which boost the signal so that it reaches its destination correctly and finally, there are also the aggregator devices, which facilitate the integration and efficient management of large amounts of data generated by connected devices, can provide standardized interfaces for communication between heterogeneous devices, normalize the data for uniform analysis, and send the processed information to other platforms or applications for further use. 2.3 Layer of interfaces/services/applications As for the messaging protocols used in IoT networks, they use the Request / Response or Publish / Subscribe patterns, among them are: Java Message Service (JMS), Extensible Messaging and Presence Protocol (XMPP), Message Queuing Telemetry Transport (MQTT), MQTT for Sensor networks (MQTT-SN), Data Distribution Service (DDS), Constrained Application Protocol (CoAP), Advanced Message Queuing Protocol (AMQP) [10]. The most common communication models in an IoT environment can be between devices (D2D), from a device to the cloud (D2C), from a device to a gateway (D2G) and using a shared data model in which different IoT devices communicate with third parties [11]. To perform communications such as Massive Machine Type Communication (mMTC), Enhanced Machine-Type Communication (eMTC), Extended Coverage-Global System for Mobile Communications for the IoT (EC GSM-IoT) and Narrowband-IoT (NB-IoT), it is necessary to have high-speed mobile networks, for example, using technologies such as 5G, which offer more than 10 GBps and latency below 1 millisecond [12]. 3 Other IoT architectures Although the three-layer architecture is the most convenient and easy to deploy, there are other IoT architecture proposals that include the Managmenet Service layer [13], which is between the communication and application layer. It has business rules engines and its function is to process information and perform data filtering, formulate decision logics and provide real-time responses. In other cases, a Processing layer is included, which is located above the network layer and is responsible for storing, analyzing and transforming the information to deliver a refined result to the application layer. In some cases it is also responsible for real-time decision making based on the filtered information. An additional layer that is considered in other IoT architectures is the Business layer, which encompasses business rules, business analytics, and business process management, thus ensuring that business objectives are met. It plays a very important role in terms of privacy issues and ensures that user data is securely stored and that its owners have control over this data; also allows offering an enhanced experience through personalized services based on profiles and preferences. An analysis of the different layered architectures can be found in [14]. Other architectural frameworks for IoT, may be suitable for a certain type of industry or could depend on the technologies used. In [15] a framework with two parallel three-layer stacks is presented by CISCO, as shown in Fig. 2. This framework aims to simplify the understanding of an IoT architecture, where each layer fulfills predetermined functions and uses different technologies to meet its objective. As evidenced with other architectures analyzed, the stack Core IoT Functional Stack, is the minimum basis for an IoT architecture. The stack IoT Data management and Compute Stack, shows the interaction of many services that optimize the use of resources, from the physical layer to the application layer itself, since cloud technology enables on-demand access to resources such as networks, servers, storage, applications and services, that can be provisioned and released [16], to process information and provide better response times. Fig. 2. Simplified IoT Architecture[15] 3.1 IoT Data management and Compute Stack This computing model for IoT environments defines how and where data is filtered, stored, aggregated and analyzed. In a traditional architecture, these functions would be performed directly by a data center cloud. – Cloud Computing Cloud computing is a model that allows on-demand access to a pool of computing resources such as storage, networks, servers, applications and services that can be provided quickly and with minimal management effort or interaction from the service provider. It provides a taxonomy of three service models: Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). According to how the services are shared, the models can be private cloud, community cloud, public cloud and hybrid cloud and provides five main features: ondemand self-service, broad network access, resource pooling, fast elasticity and measured service [17]. – Fog Computing The fog computing paradigm helps to solve some limitations of cloud computing in an IoT environment, particularly when it comes to storing and analyzing large amounts of data. Fog computing is an intermediate layer between edge computing and cloud computing, it works as a broker that allows filtering data collected by sensors and sends concrete results to the cloud, reducing the required bandwidth. Fog computing can provide computing, storage and networking services located between end devices (sensors, actuators, etc.) and traditional cloud computing data centers, in order to decentralize the concentration of resources and improve the quality of service. This is intended to communicate ubiquitous, heterogeneous and decentralized devices among them to perform processing and storage tasks without the intervention of third parties. [16]. – Edge Computing It is a paradigm that allows processing to be performed close to the data source instead of at centralized locations, i.e. the storage, resources and data processing are brought closer to the place where the user consumes the information, thus reducing latency. For example, after data is gathered, it is analyzed and/or simple filtering operations are executed, the result is sent to fog computing and received by gateways where more advanced filtering functions and in some cases, decision making actions are executed [18]. The devices that perform edge computing processing are located in the same network as the data source. On the other hand, it is important to say that edge computing can process data and send the results directly to the cloud to be used in applications, therefore, edge computing does not require the existence of fog computing. 4 A new security model by layers for IoT Architectures (IoT Security Model - IoTSeMo) According to the different IoT architecture analyzed, in this article a new security model by layers is proposed inspired in the simplified IoT Architecture proposed by Cisco (Fig. 2) [15], using the Core IoT functional Stack with the IoT Data Management and Compute Stack and taking into account that each of the paradigms (Edge, Fog, Cloud) must have the physical, communication and application layer, in order to locate the devices, protocols and applications and the security aspects to be considered in each one as shown in Fig. 3, in order to analyze and categorize security aspects according to the different elements used in the Edge, fog and cloud paradigms or a combination of these when developing an application to offer IoT-based services. The usefulness of the model lies in being able to clearly identify not only cybersecurity and information security but safety needs depending on the type of devices, data being collected, stored, processed and transferred, as well as the need to implement controls to secure the physical, communication and Fig. 3. IoTSeMo Security layered model application layers. This security model is open and more elements can continue to be incorporated as new technologies, protocols and services emerge. Each of the layers of the model will be explained below. – Network access layer This layer corresponds to the different Network Access Technologies (devices and protocols). Sensors and actuators, (commonly located at the perception layer in other architectures[3]–[5]), and more generally, any communication device operating in layers 1 and 2 of the OSI reference model (physical and link) would be located in this layer. Some technologies classified as edge, e.g. LoRa, BlueTooth, Zigbee, etc. do not have access to the IP protocol, therefore it is essential to have a gateway, in order to provide convergence, in this way, it is possible to perform bidirectional translation from non-routable protocols to IP protocol and vice versa, so this component is actually located between Network Access layer and Communication layer. The gateway also has the function of managing devices located at the network access layer, for example, to monitor when a new device joins the network or leaves it. – Communications Layer: This layer is divided into two sublayers: •Networking: This sublayer is in charge of global addressing of every devices, for example, sensor nodes, actuators, etc. and IP packages routing. •End to End Communications: This sublayer provides TCP and UDP protocols. Likewise, could offer point to point security communications by using the TLS protocol. – Application layer: This layer has two sublayers TCP/IP application protocols and Elementary services. Common technologies, devices and Application Layer protocols are located in this layer, which facilitate bidirectional data delivery such as MQTT, COAP, ZMQ; as well as elementary services, for example, storage, processing, authentication and message queue. Depending on the maturity of the services, composite services could be generated to obtain information for decision making and to offer services to Smart applications (Smart cities, smart transport, Smart buildings, etc.), but these services would be outside of the security model, represented by the oval at the top, and as proposed in [19]. Fig. 4. Case Study: IoT Application Architecture [20] 5 Case study A representative IoT application, with components in edge, fog and cloud, will be analyzed and the corresponding analysis and mapping will be made according to the layers of the proposed security model. The application consists of a realtime proximity notification system using IoT beacons, which are Bluetooth low energy devices that behave as a radio transmitter and connect to mobile devices through signals emitted by radio frequency to locate them, send a notification or initiate a process in an application[21]. This type of applications are generally offered to users without security, due to the fact that the information used is not considered to be sensitive, which does not mean that it does not have security risks that affect the user, for example, sending false notifications of an event of interest to the user, in order to make him/her approach a certain place with bad intentions. The application permits to detect users’ location in a given area by using beacons, in this case, in the perimeter of an university, delivering personalized messages through mobile devices, based on their preferences and location, informing them about events taking place near so that can make a decision whether or not to attend [20]. Users can interact with the application from their devices to manage their notification preferences, for example, to select categories of interest, as well as view and delete notifications. In addition, users will be able to score and write comments about the events according their feeling during the event. Based on the information received from the users, the application will be able to deliver relevant and personalized information. The application architecture is shown in Fig. 4. In this architecture it is possible to identify some components, which correspond to edge paradigm such as beacons and smartphone. On the other hand, some services could be located in the fog category, such as the API gateway and different microservices to issue and notification of events based on the information received, and other software components such as Apache Kafka and Firebase Cloud Messaging (FCM) to queuing and notify messages respectively. If a user passes near a beacon, it automatically detects the user’s mobile device and sends a notification to inform the user of a classical music concert that will take place that day at the conservatory near the user’s location, the user has the option to remove the notification and/or schedule to attend the concert. If the user attends, he/she can subsequently rate the event. Fig. 5. IoTSeMo Security model applied to the study case