Next Article in Journal
Applying a 6 DoF Robotic Arm and Digital Twin to Automate Fan-Blade Reconditioning for Aerospace Maintenance, Repair, and Overhaul
Next Article in Special Issue
A Secure and Lightweight Fine-Grained Data Sharing Scheme for Mobile Cloud Computing
Previous Article in Journal
A Polynomial-Exponent Model for Calibrating the Frequency Response of Photoluminescence-Based Sensors
Previous Article in Special Issue
Blockchain Evaluation Approaches: State-of-the-Art and Future Perspective
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

BlockSIEM: Protecting Smart City Services through a Blockchain-based and Distributed SIEM

by
Juan Velandia Botello
1,*,
Andrés Pardo Mesa
1,
Fabián Ardila Rodríguez
1,
Daniel Díaz-López
2,*,
Pantaleone Nespoli
3 and
Félix Gómez Mármol
3
1
Escuela Colombiana de Ingeniería Julio Garavito, Bogotá 111166, Colombia
2
Universidad del Rosario, School of Engineering, Science and Technology, Bogotá, 111711, Colombia
3
Faculty of Computer Science, University of Murcia, 30100 Murcia, Spain
*
Authors to whom correspondence should be addressed.
Sensors 2020, 20(16), 4636; https://doi.org/10.3390/s20164636
Submission received: 12 June 2020 / Revised: 29 July 2020 / Accepted: 29 July 2020 / Published: 18 August 2020
(This article belongs to the Special Issue Blockchain Security and Privacy for the Internet of Things)

Abstract

:
The Internet of Things (IoT) paradigm has revolutionized several industries (e.g., manufacturing, health, transport, education, among others) by allowing objects to connect to the Internet and, thus, enabling a variety of novel applications. In this sense, IoT devices have become an essential component of smart cities, allowing many novel and useful services, but, at the same time, bringing numerous cybersecurity threats. The paper at hand proposes BlockSIEM, a blockchain-based and distributed Security Information and Event Management (SIEM) solution framework for the protection of the aforementioned smart city services. The proposed SIEM relies on blockchain technology to securely store and access security events. Such security events are generated by IoT sentinels that are in charge of shielding groups of IoT devices. The IoT sentinels may be deployed in smart city scenarios, such as smart hospitals, smart transport systems, smart airports, among others, ensuring a satisfactory level of protection. The blockchain guarantees the non-repudiation and traceability of the registry of security events due to its features. To demonstrate the feasibility of the proposed approach, our proposal is implemented using Ethereum and validated through different use cases and experiments.

1. Introduction

A smart city aims to solve challenges that are caused by population growth in urban areas, e.g., physical security, residual management, and transportation systems, using technology to interconnect governmental organizations and allowing citizens access to multiple services, which supports a way to efficiently and transparently manage different public resources [1]. The Internet of Things (IoT) technology offers low cost and effective solutions for the development of smart cities due to its high applicability in an uncountable number of scenarios [2,3]. In particular, the intelligent IoT devices can continuously collaborate in various sectors of a smart city scenario, exchanging a constant flow of information to offer quality services to citizens as an ultimate goal [4,5]. We refer to the IoT devices as intelligent, in the sense that they are able to autonomously communicate, requiring little or no human intervention [6].
While IoT devices have been able to provide uncountable useful services, the popularization of IoT solutions imposes several security risks, given the lack of supervision and the limitation of computational resources in IoT devices [7]. Several works have focused their attention on discovering the weaknesses of IoT ecosystems, and, consequently, proposing effective solutions to address them [8].
In this sense, as an IoT environment incorporates more devices and components, its attack surface increases, augmenting the possibility of suffering an attack. Particularly, one of the significant risks of disclosing a vulnerable IoT ecosystem is the possibility to expose a large number of IoT devices to infection, which may become members of a botnet capable to execute a distributed attack. A clear example of this situation can be described by looking at the Mirai Distributed Denial of Service (DDoS) attack that infected around 50K IoT devices in 164 different countries, and then used those infected devices to launch further DDoS attacks [9]. In particular, Mirai malware spreads by first infecting IoT devices, such as webcams, Digital Video Recorders (DVRs), and routers. It then guesses the admin credentials of other IoT devices employing brute force, relying on a small dictionary of potential username–password pairs [10].
To solve the security challenges presented by an IoT ecosystem, BlockSIEM proposes a blockchain-based and distributed Security Information and Event Management (SIEM) framework to detect, store, and analyze IoT security events in a trustworthy way, while maintaining their integrity and non-repudiation attributes [11]. In this sense, thanks to blockchain technology, BlockSIEM features several security properties, being non-repudiation, and traceability among the most notable ones. On the one hand, non-repudiation means that the blocks are immutable, and an entity cannot deny that it generated a transaction request, while the traceability of the information recorded in the blocks allows one to know the trail of a specific security event. In addition, BlockSIEM can be deployed in different use cases scenarios, guaranteeing the resilience, trustworthiness, auditability, and scalability of the system. This paper is an extension of [12], where B SIEM-IoT, a blockchain-based SIEM solution that was suitable for IoT environments, was proposed, generating security events thanks to the effort of IoT devices called Sentinels, and reporting these through blockchain to be read and analyzed by SIEM miners having internal and external threat intelligence capabilities.
The main contributions of [12] were the initial proposal of B SIEM-IoT as a blockchain-based SIEM, enclosing a smart contract used to handle blocks of security events to prevent and detect attacks over IoT scenarios. B SIEM-IoT used external and internal Threat Intelligence with the aim of detecting distributed attacks. The evaluation of one use case was also included in [12] as an initial validation of the viability of B SIEM-IoT.
In the paper at hand, the following additional contributions are provided:
  • An extension of the state of the art, including a deeper analysis of similar solutions, arguing their pros and cons.
  • An adaptation of the architecture of B SIEM-IoT to make it applicable to smart cities scenarios.
  • The addition of the capacity of B SIEM-IoT of handling IoT security events, according to the priority and the event types, to guarantee security awareness about the state of the IoT devices being protected and the potential threats detected from the security events.
  • An extension of the applicability of B SIEM-IoT to smart cities environments that are composed of different IoT scenarios with features of serverless operations, integrity, non-repudiation, and resiliency. This includes a deeper description of use cases.
  • The implementation of several use cases, such as the detection of distributed attacks, the ability of B SIEM-IoT to continue working under hostile conditions, the B SIEM-IoT capabilities to audit security incidents and scale almost effortlessly.
  • The above-mentioned use cases were evaluated through exhaustive experiments, which in turn confirmed, and proved the feasibility of the presented solution in real use case scenarios.
The remainder of this paper is structured, as follows: a brief explanation of the main concepts surrounding the blockchain technology is given in Section 2, while Section 3 analyzes some of the key works proposed in the field, highlighting their pros and cons. In Section 4, the novel blockchain-based and distributed SIEM architecture is presented. Next, Section 5 shows several operational use cases describing, in detail, the capabilities of BlockSIEM. Subsequently, in Section 6, we demonstrate the feasibility of employing the innovative proposal through exhaustive experiments. Finally, Section 7 concludes the work, summarizing the main results and highlighting future research directions.

2. Background

Blockchain is a decentralized P2P network where all generated transactions are validated by the registered nodes and recorded in a distributed and immutable ledger [13]. In this context, the consensus algorithm is the core of the blockchain technology, as it guarantees the reliability of the network. Specifically, as no central authority is present to verify the produced events, each transaction needs to be validated by the blockchain nodes through a mutual agreement (i.e., consensus) [14]. In the following, some of the most common consensus types are presented [15]:
  • Proof of Work (PoW): a transaction is approved if at least half plus one of the nodes accept it in the P2P network.
  • Proof of Stake (PoS): the node who has more wealth has greater probability to participate in the consensus and create a block.
  • Proof of Importance (PoI): the nodes that can create a block are the ones with the greatest number of transactions in the network.
  • Proof of Authority (PoA): only some nodes are explicitly allowed to create new blocks and secure the blockchain.
It has to be perceived that each of the above-mentioned algorithms features possible advantages and potential drawbacks, mainly depending on the underlying P2P network structure [16]. Explicitly, PoW and PoS can be depicted as the most used algorithms to reach the consensus among the P2P nodes. Nevertheless, it has been demonstrated that PoW requires higher computational resources, while PoS is more exposed to attacks, since the mining cost is nearly zero [15]. PoI and PoA represent two valid alternatives, as they are energy-friendly and have a better performance. However, their merits have been questioned, especially in terms of availability and consistency [17,18]. In the context of this research, our proposal leverages the capabilities of the PoW implemented by the Ethereum protocol, as we will see later.
Furthermore, blockchain proposes two ways to build a network [19], namely, permissioned and permissionless blockchains, the main difference being the level of governance of each node. In particular, permissionless blockchains (i.e., public blockchains) allow any possible candidate to become a node and belong to the network. Nodes on this blockchain can perform any task as long as they possess the physical capability (e.g., mine blocks, validate transactions, etc.). In turn, permissioned blockchains (i.e., private blockchains) restrict the access of the nodes that belong to the network and performing tasks. A relevant feature of this kind of blockchain is that it is possible to choose the level of decentralization on the network, i.e., fully centralized or partially decentralized [20]. Concretely, open permissioned blockchains are partially decentralized, since each entity can read the stored data, while closed permissioned blockchains are fully centralized since the stored data are only visible to the participant nodes [21].
By leveraging blockchain technology, one can develop Decentralized Applications or DApps [22], which is, an application which is able to run on a distributed network in a trustworthy fashion. To do so, a Dapp requires a back-end component to correctly assist the transactions and, in this regard, blockchains implement smart contracts ( S C ) to support any operation required by the application logic. In this direction, Ethereum [23] is an example of an open-source platform to create and manage smart contracts. As we will see later with further detail, BlockSIEM is a closed permissioned blockchain composed by selected nodes supporting a DApp for the management of IoT security events, which also has an S C deployed on a private instance of Ethereum.

3. State of The Art

Several proposals have arisen in the last years aiming at protecting IoT ecosystems [24]. Thus, for instance, [40] proposes a security architecture that is based on the use of security events. Such architecture relies on a multi-relation between these attack-related elements: (i) security events categories, providing information about the impact of an attack over a given IoT device; (ii) vulnerabilities, to explain the causes of the attack; and (iii) attack surfaces, yielding information on how the attack was conducted.
On the other hand, several blockchain-based solutions have been proposed with the aim of leveraging the security attributes of the distributed ledgers within IoT scenarios. In this direction, the authors in [25] propose an IoT security framework for a smart home scenario. This framework applies a novel instance of blockchain by eliminating the concept of PoW and the need for coins. This work relies on a hierarchical structure that coordinates methods over the blockchain network to keep the security and privacy benefits offered by this technology. Such a hierarchical structure is more suitable for the specific requirements of IoT, since tasks on the network are performed in a different and adjusted manner than a common blockchain such as Bitcoin [26]. The framework proposes to manage the network, and the belonging devices with the methods store, access, monitor, genesis, and remove. This framework was exemplified in the context of a smart home, but the application is open to be used to other IoT contexts.
A blockchain-based framework to support access control in IoT is introduced in [27], implementing multiple smart contracts: (i) Access Control Contract (ACCs) to manage the authorization of users over an IoT device, next (ii) Judge Contract (JC) to implement a misbehavior-judging method to facilitate the dynamic validation of the ACCs, and (iii) Register Contract (RC) to register the information of the access control, and misbehavior-judging methods as well as their smart contracts. When an access request arrives to the framework, different validations are done with the smart contracts (i.e., ACC, RC, and JC) before resolving such request. The potentiality of the entire framework is demonstrated with a prototype implemented over a desktop computer, a laptop, and two Raspberry Pi 3.
In addition, [28] investigates the applicability of a blockchain to develop the next-generation SIEM 3.0 systems, designed to detect information security incidents in a modern and fully interconnected organization network environment. This work brings the next generation of SIEM to a qualitatively new and higher level by proposing a methodology for its evaluation based on the B method, the most popular formal method to be used in industry projects and safety-critical system applications [29]. This method allows for highly accurate expressions of the properties required by specifications and models systems in their environment.
Likewise, [30] shows a secure smart surveillance system based on microservices architecture and blockchain technology. This proposal uses microservices in order to decouple complicated video analysis functions and blockchain to keep the data in a safer state while implementing common surveillance functions, like real-time behavioral analysis of subjects, license plate recognition, face recognition, and gesture analysis over smart-contracts deployed in a blockchain network.
Another approach is proposed in [31], where a hybrid network architecture for a smart city is presented by leveraging the strength of emerging Software Defined Networks (SDNs) and blockchain technologies. This proposal presents a model based on two different groups: (i) the core network consisting of miners with high computational and storage resources and (ii) the edge network that is built with nodes with limited storage and computational capacity. The flow in this proposal works, as follows: IoT devices collect data from the real-world, then edge nodes filter the data, and core nodes perform the processing and analysis of information.
Another related work that is based on a smart home scenario is described in [32], where a proof-of-concept prototype is presented to simulate smart home applications, specifically, to measure humidity and temperature. In particular, authors leverage the use of blockchain to mine a smart-contract, which will be able to store both threshold and temperature values in the network that are collected every 15 s. When a measured value exceeds the threshold, a red LED will turn on, whereas a green LED will activate when the measured value is under the specified threshold.
Furthermore, in [33], the authors present a security solution called CitySense, a blockchain-oriented smart city solution. The proposal aims to monitor the quality of life within a smart city. Because IoT devices collect relevant data from the surroundings through their sensors, CitySense implements several types of smart contracts to receive and store data, which are analyzed under the Scrum methodology [34] to build smart services for citizens. Concretely, the Acquisition and Sorting Contract (ASC) receives measurements coming from IoT devices, validates where the measurement is coming from, and re-sends them, according to the location, to a specific and specialized smart contract, called a Geographic Contract (GC).
Additionally, a security proposal applying blockchain to smart cities is described in [1], which provides a secure communication platform for smart cities by integrating blockchain with smart devices. The proposed security framework is built on four layers: (i) Physical Layer, (ii) Communication Layer, (iii) Database Layer, and (iv) Interface Layer. Particularly, blockchain impacts the layers (ii) and (iii) by encrypting packages for the Communication Layer and storing records of packages in blocks for the Database Layer.
Another related work is presented in [35], which proposes BiiMED, as a blockchain framework for enhancing data interoperability and integrity regarding sharing of Electronic Health Records (EHR). That solution proposes the implementation of two components: (i) the Health Information System (HIS) and (ii) the BiiMED blockchain framework. The first component mainly provides a friendly interface to allow interaction with the blockchain framework, whereas the BiiMED component holds: (i) the Medical Facility access management contract, responsible for executing access control functions and (ii) the Trusted Third Party Auditor (TTPA) access management contract, responsible for validating the shared data and ensure its integrity.
For a quick reference, Table 1 shows a comparison of the previously analyzed proposals providing security for IoT environments while using blockchain. The comparison criteria were chosen based on the differences in the implementation strategy and the main purpose of each proposal.
As observed in Table 1, half of the related works integrate IoT scenarios, such as smart cities and blockchain, to tackle different security challenges. In particular, we found out that blockchain has been applied to support a variety of IoT operations like data synchronization, communication, or access control. In the paper at hand, we propose BlockSIEM, which, in contrast to all previous proposals, is specifically focused on the management of security events. Our proposal brings the main security features of blockchain to a regular SIEM to build a security solution that is specifically focused on IoT environments, in particular smart cities, being resilient, trust-oriented, auditable, and scalable. To the best of our knowledge, none of the presented security solutions applicable to smart cities holds those fundamental attributes with verifiable functionality.

4. BlockSIEM

This section describes the main aspects of BlockSIEM, our proposal for a blockchain-based and distributed SIEM to protect smart cities. BlockSIEM gathers security events coming from different IoT service providers, storing them in a distributed ledger of a blockchain that keeps them completely secure against any kind of unexpected modification. Additionally, our solution uses both internal and external threat intelligence to detect and prevent cyber attacks against the smart city services and intelligent devices, promptly warning about an in-progress attack. To this end, BlockSIEM satisfies the following goals:
  • Resilient: in order to offer highly reliable security services, the solution should have the capability of ensuring protection of smart city services and attack detection, even if BlockSIEM is in a hostile situation.
  • Trust-oriented: only trusted nodes belonging to the IoT service providers should be allowed to create transactions containing security events, avoiding any type of data pollution in BlockSIEM. In this sense, BlockSIEM features non-reputation and traceability.
  • Auditable: BlockSIEM must be able to audit the block of security events to identify traces that refer to an incident response procedure, such as detecting the node that reported an event, the affected IoT devices, or discovering the causality relationship between events.
  • Scalable: BlockSIEM should be able to effortlessly integrate new trusted nodes and miners into the blockchain network without impacting the operation adversely.
The architecture of BlockSIEM = { D , S , SG , M , T } is shown in Figure 1. Specifically, it encompasses the following elements: IoT devices ( D ), IoT sentinels ( S ), sentinels enabled as gateways ( SG ), SIEMs enabled as miners ( M ), and external Threat Intelligence providers ( T ). Each of these element acts in a different stage of the security events management process and is described in more detail next. Because BlockSIEM is based on blockchain technology, it is composed of P2P network nodes. In particular, BlockSIEM features two types of blockchain nodes, IoT sentinels and SIEMs enabled as miners.

4.1. Iot Devices

A Smart city involves the deployment of different services offered in scenarios, like smart hospitals, smart transportation systems, smart airports, and so forth [36]. Each scenario is supported by IoT devices ( D = { D 1 , , D n D } ), which have the capacity of exchanging data with local or remote devices located in the Internet. IoT devices may be used for different purposes as they contribute to automated processes due to their capability to capture and process information in real-time [37]. Nonetheless, in some scenarios it is required to share information processed by IoT devices (e.g., sensed values) with a software or hardware component deployed in another scenario, which may use such information to trigger a process (e.g., activate an actuator).
In this context, IoT devices represent a vulnerable point of attack due to their massive presence in smart cities, but reduced ability to react against a cyber attack [38]. When considering the impact that a cyber attack would have on IoT devices and, consequently, on smart city services, one could easily say that these devices and their infrastructure should be protected. Moreover, the protection should guarantee that any attacker trying to make an unauthorized action over IoT devices may be correctly traced back.

4.2. Iot Sentinels

An IoT sentinel ( S i S = { S 1 , , S n S } ) is in charge of protecting a set of IoT devices ( D m D ) in its proximity against cyber attacks. Specifically, an IoT sentinel S i , can detect attacks that are threatening the surrounding IoT devices D = { D 1 , , D n D } using multiple protection rings, as demonstrated in [24]. In this regard, whenever an intrusion attempt happens, an IoT sentinel ( S i ) generates security events s e and builds a transaction request that is sent to the set of SIEMs enabled as miners ( M n M ). Those SIEMs will mine the transaction and add it to the blockchain in the form of blocks. In the context of a smart city, different IoT sentinels ( S k S ) may be simultaneously deployed in one scenario in order to protect service-related IoT devices, depending on the number of devices and the generated network traffic.
A gateway strategy may be adopted, where only a chosen IoT sentinel reports security events to the set of SIEMs enabled as miners, in order to avoid multiple IoT sentinels generating transaction requests in the same scenario. By doing this, the IoT sentinel enabled as gateway ( S G i SG = { S G 1 , , S G n S G } ) would gather all security events generated by other IoT sentinels. In this regard, one may naturally argue that a sentinel enabled as gateway ( S G i ) should be endowed with top-level features to capture, store and share information, leading to expensive acquisition and maintenance costs. However, thanks to the benefits offered by the blockchain network, a sentinel enabled as gateway ( S G i ) here is only required to gather and keep a small portion of security events ( s e ) before creating an actual transaction. Thus, a sentinel enabled as gateway ( S G i ) just needs to run a lightweight blockchain client, turning it into a new node of the blockchain. The lightweight blockchain client allows for a sentinel enabled as gateway ( S G i ) to use the smart contract to format security events and add them to a transaction when a given threshold of events is reached. Likewise, a sentinel enabled as gateway ( S G i ) can use the smart contract to delete specific security events from an already created transaction to avoid storing trash data in BlockSIEM. To avoid that the sentinel enabled as gateway ( S G i ) becomes a single point of failure, it is important to implement an effective redundancy and availability strategy, such as allowing that other IoT sentinels ( S i ) may eventually behave as a gateway or controlling the functionality of sentinels according to their reputation. An example of the last one is presented in [39], which proposes a CIDN (Collaborative Instruction Detection Network) with the capability of finding and avoiding false or bogus alarms that are based on a reputation model, which selects nodes with the best reputation according to its previous interactions, removing nodes that expose a malicious behavior.

4.3. Siems Enabled As Miners

A SIEM enabled as a miner ( M i M = { M 1 , , M n M } ) has mining and security functions. Regarding the mining functions, a SIEM enabled as a miner is in charge of receiving transactions requests, participating in the consensus algorithm and mining new blocks to be added to the blockchain. Therefore, a SIEM enabled as a miner ( M i ) must have higher hardware capabilities to be able to solve a challenge in the blockchain network. In a deployment of such as SIEM in a smart city that is composed of multiple services, security events would be reported by a set of IoT sentinels enabled as gateways ( S G o SG ). They generate multiple transaction requests that would be processed by a set of SIEMs enabled as miners ( M n M ), which would mine blocks to feed the blockchain. By leveraging the use of blockchain technology, the mined transactions acquire advantageous security attributes, e.g., traceability and non-repudiation, in addition to the traditional features of SIEM systems.
Regarding the security functions, a SIEM enabled as a miner ( M i ) analyzes all of the security events contained in the distributed ledger of the blockchain with the purpose of detecting or preventing cyber-attacks. In order to do so, each SIEM enabled as a miner ( M i ) has embedded internal Threat Intelligence which is composed of security policies, correlation rules, malware signatures, or any valuable information that allows the SIEM to prevent, detect, and respond to security incidents. Such internal Threat Intelligence is, in practice, a local database hosted by the SIEM and built through the experience of the local security team. When an attack is detected, different actions could be followed, depending on the type of incident and affected service. For example, a notification may be generated when a non-critical alarm is registered, or a sequence of batch commands may be launched over a controlled asset if a critical alarm is detected [38]. It is worth noting since each SIEM is fully synchronized on the blockchain current status, the mined events are simultaneously monitored by all of the miners. This feature permits, for example, to efficiently detect distributed attacks targeting different subsets of IoT devices.
It is worth mentioning that SIEMs enabled as miners could be hosted by different security providers at different levels, like (i) Internet Service Providers (ISP), which can be interested in providing security for residential customers, (ii) National Computer Emergency Response Teams (CERTs), monitoring security incidents with a possible massive impact, or (iii) Security vendors, which can offer IoT security protection under a specific subscription. In this context, even if all blockchain nodes are identified, not all nodes are necessarily trusted for sharing security events. Security events are fundamental to detect and prevent attacks through the use of Threat Intelligence

4.4. External Threat Intelligence

The external Threat Intelligence ( T ) is provided by a third-party service which is focused on detecting attacks against IoT infrastructures, such as, (i) identification of malicious websites being consumed by an IoT device, (ii) identification of bots attempting to connect to IoT devices, (iii) detection of spam data being transmitted between IoT devices, and (iv) recognition of advanced threats and malware campaigns, among others. In contrast with internal Threat Intelligence, the external one is commonly received in the way of feeds by subscription with some security provider, and it may be very valuable in the detection of attacks as security providers may have global visibility of incidents and use that information to warn their customer about potential attacks.
These detection tasks may conclude with the generation of Indicators of Compromise (IoC) and Indicators of Attack (IoA) that are used by BlockSIEM in the detection of an ongoing attack or to investigate a past attack sharing some common features with a known attack. External Threat Intelligence can also provide useful countermeasures for organizations to apply in the implementation of its cyber defense strategies, like Yara rules (https://github.com/Yara-Rules), correlation rules, security policies, and statistics model [40,41,42]. Intelligence information (security feeds) delivered by an external Threat Intelligence provider is useful for BlockSIEM, as it could use them to analyze security events that exist in the blockchain and, consequently, detect IoT attacks. BlockSIEM is also able to incorporate intelligence information from a third-party into its local Threat Intelligence database, so it can be usable later in the attack detection.
In addition, a smart city may be composed of several smart city scenarios, which share similarities, say, in the type of assets to protect. For example, a set of smart hospitals located in a smart city may be part of BlockSIEM, with each one configuring an IoT sentinel enabled as a gateway ( S G i ) that reports security events. The reported security events from those similar scenarios may be extremely useful to gain insights about incidents per sector, to detect addressed attacks, and consequently to generate threat intelligence to protect specific assets. Other examples of smart city scenarios with some similarities that could also be integrated with BlockSIEM are set of governmental organizations or airports.
Thus, BlockSIEM may be seen as a security solution for smart cities that may gather security events coming from both similar and heterogeneous scenarios, which gives the opportunity to have a SIEM enabled as a miner with specific security functions per sector. In this case, each SIEM enabled as a miner ( M i ) may be specialized in defending IoT devices from specific threats per sector, requiring to be connected to different per-sector Threat Intelligence providers. For example, a specific SIEM enabled as a miner ( M i ) could consume feeds specialized in transport, health, or governmental sector, being reliable and efficient in each case.

5. Use Cases

In this section, we introduce five different use cases describing the main operations that the proposed BlockSIEM framework is able to carry out, namely: (i) adding blocks of security events to the blockchain, (ii) consuming the blockchain to detect distributed attacks, (iii) scaling up BlockSIEM, (iv) detecting attacks under hostile scenarios, and (v) auditing a security incident. Throughout this Section, we demonstrate that BlockSIEM can efficiently and effectively handle security events in each use case, preserving the blockchain’s relevant features.

5.1. Adding Blocks of Security Events to The Blockchain

As previously mentioned, IoT sentinels ( S k S ) are in charge of protecting IoT devices ( D m D ) in a specific scenario, like smart hospitals, smart transportation systems, smart airports, and so forth. IoT sentinels ( S k S ) are the only nodes in BlockSIEM that are able to create security events ( s e m ) whenever an unusual behavior is detected [24]. This action should only be guaranteed when IoT sentinels ( S k S ) are sufficiently reliable. Hence, the BlockSIEM implementation works strategically to control the information that is added to the blockchain, thus ensuring only the entry of reliable data.
Moreover, an IoT sentinel ( S i ) can group security events in the same transaction in order to optimize the reporting of anomalies. This optimization generates a single block of clustered security events, which positively impacts the performance of the blockchain, as it avoids creating a block for each single event ( s e i ). To this end, the Threshold of Security Events ( λ s e > 0 ) is defined as the number of events that must be grouped to create a transaction and set in the configuration of each IoT sentinel ( S i ).
Finally, when an IoT sentinel ( S i ) creates a transaction request, it will be processed by a SIEM enabled as a miner ( M i ), which is in charge of adding blocks to the blockchain. After a transaction is sent, the threshold of Security Events is reset to 0 to count another set of security events and generate a new transaction. Once the block is mined, all of the SIEMs enabled as miners ( M ) in BlockSIEM are synchronized and receive a copy of the block that was just mined, concluding the addition of security events to the blockchain. In the context of this research, the synchronization of the SIEMs enabled as miners ( M ) is achieved because of the underlying Ethereum protocol, which guarantees the successful functioning of this operation.

5.2. Consuming the Blockchain to Detect Distributed Attacks

The process of cyber-attack detection from the security events starts once a block with clustered security events is mined, and all of the SIEMs enabled as miners ( M ) of the blockchain become synchronized. Explicitly, once the block with security events has been successfully mined within the blockchain, each SIEM enabled as miner ( M i ) checks the distributed ledger looking for potential events of interests. Here, each SIEM enabled as a miner ( M i ) in the BlockSIEM framework uses the internal and external Threat Intelligence ( T ) to analyze the received information and leverage the security rules and policies to correlate the security events and, consequently, detect attacks against IoT devices. Once an intrusion detection has been carried out, the SIEMs enabled as miners ( M ) can counteract the ongoing threat by enforcing appropriate countermeasures.
A security solution, such as BlockSIEM raises awareness over the security events stemming from different scenarios, provides a great opportunity to detect distributed attacks. In a distributed attack, two or more IoT sentinels could notify different security events, which are apparently not related. However, the SIEMs enabled as miners would be able to correlate such security events and realize that they refer to the same security incident (e.g., they refer to the same threat source or the same attack technique). After a distributed attack is correctly detected, an alarm will be generated, which will be composed of individual security events.
Figure 2 illustrates this use case in BlockSIEM, where a distributed attack in a smart city is detected. It shows an attacker compromising an IoT device ( D 1 ) that belongs to the smart hospital 1, which is protected by a sentinel ( S 1 ). The attacker also jeopardizes an IoT device ( D 2 ) in the smart hospital 3, which is monitored by another IoT sentinel ( S 2 ). Each sentinel ( S 1 and S 2 ) sends their corresponding security events toward the SIEMs enabled as miners ( M ) of the blockchain, which then process the transaction request and mine blocks of security events. Subsequently, the SIEMs enabled as miners ( M ) use external threat intelligence to detect the attack.

5.3. Scaling up BlockSIEM

By leveraging the scalability properties of the blockchain network, BlockSIEM allows for effortless integration of IoT sentinels as well as SIEMs enabled as miners. It is worth noting that each new node of the network (either an IoT sentinel or a SIEM enabled as a miner) must be authorized previously, before their actual functioning, to prevent potential impersonation attacks [43].
Let us say that a set of SIEMs enabled as miners ( M 1 , M 2 , and M 3 ), as shown in Figure 3, are the only nodes in BlockSIEM that are mining blocks. We want to enable a fourth miner within the P2P network to improve the overall performance of BlockSIEM. To do so, M 4 is added to the blockchain, which gets synchronized with the blocks of the BlockSIEM and includes the deployed S C . M4 starts mining smoothly due to BlockSIEM scalability property. Since the BlockSIEM network features a private blockchain, each node that would like to join must already be registered and known by the other nodes. Finally, all the SIEMs enabled as miners ( M 1 , M 2 , M 3 , and M 4 ) split the mining tasks between them, thus reducing each one’s single computational overhead.

5.4. Detecting Attacks under Hostile Scenarios

The BlockSIEM solution is resilient to unexpected situations, including attacks targeting the nodes that compose BlockSIEM without affecting security performance. This means that, if a SIEM enabled as a miner ( M i ) is under attack, the IoT sentinels ( S k ) will continue generating blocks of security events, and the remaining SIEMs enabled as miners ( { M } M i ) in the blockchain network will take care of mining transactions, so BlockSIEM operations are maintained.
Figure 3 shows a situation where SIEMs enabled as miners ( M 1 , M 2 , M 3 , and M 4 ) are mining blocks. M 1 fails down because of an attack. However, all other SIEMs enabled as miners ( M 2 , M 3 , and M 4 ) continue mining all of the blocks. Hence, the attack does not affect the performance of BlockSIEM.

5.5. Auditing a Security Incident

As already mentioned, blockchain technology features several security properties, being non-repudiation and traceability among the most notable ones. Thanks to these properties, all registered information in BlockSIEM is permanently available and can be consumed in the future by any SIEM enabled as a miner ( M i ).
Besides the security events, each block also contains metadata, such as the ID of the IoT sentinel ( S e n t i n e l i ) that created the security events, the creation date of the security events, and any other information that may be useful in the auditing process of a security incident. This approach allows BlockSIEM to guarantee a fully auditable system usable even for forensic processes.
The auditing of a security incident may start when a SIEM enabled as a miner ( M i ) sets off an alarm. Then, the BlockSIEM administrator reviews the alarm details and starts a process of investigation and auditory to identify the source of the threat. The administrator inspects the security events that triggered the alarm and, additionally, reviews the sentinel(s) that reported the security events. The information about the IoT sentinel ID that detects the threat and reports the security events (together with all other available information regarding the security event report) may be consulted from the blockchain in a secure and trustworthy way, since such information is protected against modification, making it useful for forensic purposes.

6. Experiments

Several thorough experiments were conducted on the proposed solution to prove its suitability within a smart city ecosystem. Because BlockSIEM is composed of different elements, as shown in Figure 1, the experiments developed in this paper comprised the following infrastructure:
  • IoT sentinels ( S i ): Each sentinel has been deployed on a Raspberry Pi 3 Model B, equipped with a quad-core 1.2GHz CPU, 1GB RAM, 16GB SD Card, and OS Ubuntu Mate 16.1.
  • SIEMs enabled as miners ( M i ): Three identical virtual machines (VMs) have been deployed to host the SIEMs. Specifically, each VM features a total of 16 cores at 2.2 GHz and 16 GB of DDR4 memory at 2400 MHz. All SIEMs have been implemented using Alienvault OSSIM (https://www.alienvault.com/products/ossim) (Open Source SIEM) version 5.5.1 with an All-in-one installation.
For the ease of reading, the settings of the experiments are reported in Section 6.1, while a significant analysis of the results is carried out in Section 6.2.

6.1. Settings

The experiments were conducted by running one Ethereum [23] node on each physical component, i.e., the IoT sentinels and the SIEMs (miners). The SIEMs (miners) were able to create mined blocks thanks to their computational capabilities, whereas the IoT sentinels were only able to create transactions and send them to the correspondent SIEM.
Each mined block in BlockSIEM is composed of a block header and a transaction, as illustrated in Figure 4. The header contains regular Ethereum header data (timestamp, difficulty, gas limit, uncles hash, gas used, among others), and the transaction includes the security events that were generated by IoT sentinels in the body field.
As mentioned in Section 5.1, BlockSIEM is based on a permissioned blockchain that only allows known nodes (IoT sentinels and SIEMs enabled as miners) to be part of the network. It is worth mentioning that the component nodes have been set as static nodes, disabling the discovery functionality of Ethereum. The consensus mechanism was the one currently supported by Ethereum, i.e., PoW; however, as Ethereum evolves, a more efficient consensus mechanism, e.g., PoS, could be used instead, reducing the time and effort that are currently required for the mining process.
Blockchain generally uses a reward system to encourage the participation of the nodes that mine the blocks, being the Ether in a public blockchain network the token paid to the miner nodes. The reward system of BlockSIEM defines its own token, similar to Ether, but only valid internally. In a real scenario, users interested in protecting their own IoT devices could host an IoT sentinel connected to BlockSIEM to share security events.
The experiments were carried out using several clients that ease the implementation of BlockSIEM, namely: (i) A Remix (https://remix.ethereum.org/) client for the IoT sentinel, which groupes and encodes security events to be added to a new transaction, (ii) a JavaScript (JS) client for the SIEM (miner), running in the desktop computer, and responsible for listening and capturing new transactions of the blockchain, in order to decode security events and make them understandable for the OSSIM server, and (iii) a JavaScript (JS) client, running in Raspberry Pi and emulating the monitoring action that an IoT sentinel performs to generate a set of security events. An illustration of the scenario prepared for the experiments may be found in Figure 5.

6.2. Analysis Of Results

This Section offers an in-depth analysis of the outcomes from the experiments that were conducted over the BlockSIEM. The obtained results will be organized around two types of metrics (performance and blockchain, respectively), as shown in Table 2.
As observed in Table 2, metrics from the performance category refer to the computational performance of BlockSIEM which focus on the consumption of resources for the considered use cases. On the hand, metrics of the blockchain category refer to the own behavior of BlockSIEM in terms of number of blocks and the number of events.
To validate the capabilities of BlockSIEM, three scenarios have been considered and tested, which are strongly connected to the use cases presented in Section 5:
  • Adding blocks of security events to the blockchain: IoT sentinels communicate or send security events to the distributed SIEMs using different thresholds of security events λ s e
  • Consuming the blockchain to detect distributed attacks: the distributed SIEMs use correlation rules to detect distributed attacks stemming from the received Sentinels’ events.
  • Detecting attacks under hostile scenarios-Scaling up BlockSIEM: even in adverse scenarios, BlockSIEM is capable of offering beneficial blockchain services, relying on SIEMs failures and subsequent reactivations.
Note that, during the experiments, all if the metrics have been measured over the SIEMs (miners) through a python script set on a dedicated CPU to avoid conflicts due to possible context switches. In particular, one of the cores of the VM hosting the SIEM has been assigned to the measuring python script to avoid that, during the experiments runs, other processes may interfere by asking for the same CPU and, thus, generating a context switch. Such phenomenon may adulterate the correctness of the results.

6.2.1. Scenario 1: Adding Blocks of Security Events to The Blockchain

In this experiment, the IoT Sentinels were set up in order to generate and send events to the three SIEMs enabled as miners with a fixed frequency (i.e., every 5 s). This regular generation of security events was selected for the experiments since it represents the prevailing state of operation of BlockSIEM where the integrity of security events is critical to detect complex attacks like Advanced Persistent Threats (APT). In those cases, the external and internal threat intelligence is fundamental to warn the SIEM administrator about such anomalous behaviors (within an apparent normality), which otherwise would not be easily noted in a manual inspection. On the other hand, situations with burst of security events would not actually require advanced threat intelligence, because bursts would be easily noticeable by the SIEM administrator. However, in this last situation, our proposal (BlockSIEM) would be able to protect security events in terms of integrity and non-repudiation too. Specifically, two rounds of execution were performed as follows:
  • Round 1: no critical security events (e.g., informational Syslog messages) are communicated from the IoT sentinel to the SIEMs enabled as miners, which can be retained in the sentinel until reaching a threshold of security events ( λ s e = 5 ), and then be grouped in one transaction. Thus, a transaction is generated every 30 s.
  • Round 2: critical security events (e.g., emergency Syslog messages) need to be communicated in a short time from the IoT sentinel to the SIEMs enabled as miners, incorporating 1 security event per transaction ( λ s e = 1 ). Thus, a transaction is generated every 5 s.
The combined outcome of this experiment (rounds 1 and 2) is depicted in Figure 6. In both cases, the time execution was about 8 h for each round, so we decided to combine both of them in a single graphical representation. Specifically, Figure 6 compares the trend of the blocks and the progression of the transactions mined by the SIEMs enabled as miners with both thresholds. It is worth noticing here the difference between block and transaction: that is, even if no security events are generated by the Sentinels, the SIEMs continue to mine blocks in order to maintain the correct operation of the blockchain following the Ethereum protocol. Those blocks (e.g., communication and/or synchronization blocks) contain an empty data field. On the other side, instead, the transactions are generated by the Sentinels and contain data that are related to the detected intrusion(s). Note that Figure 6 has been depicted with a double y-axis.
A salient aspect in Figure 6 is represented by the curves’ shapes. That is, the trend of the mined blocks is exponential, since the mining process for the SIEMs becomes computationally more expensive as the number of blocks of the blockchain increases (i.e., the mathematical challenge for the miners is harder to solve). Surprisingly, this trend is independent from the assigned threshold, so the number of blocks remains constant over a fixed time window. Oppositely, the trend of the curves representing the mined transactions is quite linear since, as already mentioned, the frequency of the generated Sentinels’ events is fixed. Consequently, due to the different thresholds, the number of total transactions mined is distinct, i.e., almost 3000 transactions for λ s e = 1 and 700 for λ s e = 5 . As for the mined block curve, transaction curves are also affected by the increasing complexity, so they lose their linearity in the last part of the experiment (i.e., starting from 6 h of run duration).
All in all, the findings of this experiment demonstrated that the proposed BlockSIEM framework is able to manage a high number of events during a considerable time window, preserving the beneficial features offered by the blockchain technology.

6.2.2. Scenario 2: Consuming the Blockchain to Detect Distributed Attacks

In this experiment, the main objective is to test the capabilities of the BlockSIEM framework to detect distributed attacks and, consequently, to enforce the appropriate reaction. The procedure executed during this experiment is reported in Algorithm 1.
In detail, Algorithm 1 requires one or more Sentinels, one or more Miners, a threshold of security events λ s e set, and a certain quantity of SIEM directives containing the correlation rules and actions. When the experiments starts, the Sentinels, which are in charge of monitoring the surrounding IoT devices, generate security events containing data referring to possible threats (lines 1–3). Then, when the number of generated events is equal to the assigned threshold λ s e (line 4), a transaction is sent to the corresponding miner (i.e., SIEM, line 5), which we assume to be fixed for each Sentinel. Based on the Ethereum protocol, one of the miner nodes within the Ethereum private network mines the transaction into the blockchain, spending a certain amount of time which is measured (lines 9–10). Once the transaction is effectively mined, the miners are in charge of consuming such transaction in order to incorporate it into their local database of security events (lines 11–12). If during the incorporation process a correlation rule inside a directive is triggered, then the miner automatically fires an action δ i (lines 13–14). The time spent between the incorporation into the local database and the fired action, which is referred to as response time, is also measured (line 15).
Algorithm 1 Scenario 2 Experiment λ s e , S , M , Δ , A .
Require: S , M null                  ▹ Number of Sentinels and Miners
Require: | λ s e | > 0              ▹ Threshold for security events per transaction
Require: | Δ | > 0             ▹ SIEM directives containing the correlation rules
Require: | A | > 0                  ▹ SIEM actions when a rule is triggered
1:
for all s S do                   ▹ Sentinels monitoring IoT devices
2:
    Generate security event s e i SE
3:
     X s e i                       ▹ Accumulate security events
4:
    if | X | = λ s e then                       ▹ Threshold is reached
5:
        Send transaction to the corresponding miner m M
6:
         X                          ▹ Empty the accumulator
7:
    end if
8:
end for
9:
Transaction is eventually mined by a miner m M     ▹ Based on Ethereum protocol
10:
Measure mining time of M
11:
for all m M do                  ▹ SIEMs consuming the blockchain
12:
    Incorporate the blockchain event in the local DB
13:
    if δ i Δ is activated then                ▹ Correlation rule triggered
14:
        Enforce the action a i A
15:
        Measure the response time
16:
    end if
17:
end for
Thus, the results of these experiments are shown in Figure 7. Note that, in this case, the duration of the experiment is about 7 h, and the chosen threshold λ s e = 5 . In particular, the trends of the SIEM mining time and response time during the chosen time window is plotted in logarithmic scale. It is worth mentioning that the depicted time measurements are the arithmetic means of the three miners measured time. To this extent, it is possible to notice that the mining time increases over time, spanning from a few milliseconds to 70 s. The main reason behind this outcome is the increasing mining complexity which forces the miners to solve computationally expensive mathematical challenges to mine a block. Nonetheless, the mean of the SIEM mining time shown in Figure 7 sticks between 1 and 10 s, which one could argue to be reasonable for the proposed scenario. Regarding the SIEM response time, instead, the curve floats between a hundred and a thousand milliseconds, which is more than acceptable when considering the computational effort required for the SIEMs to perform their duties together with the blockchain-related processes.
Overall, the results of this experiment show that the proposed BlockSIEM framework is capable of managing the security events coming from different data sources (from the reception to the reaction) in an acceptable time, even in a stressed scenario. In this sense, BlockSIEM is able to handle distributed attack scenarios.

6.2.3. Scenario 3: Detecting Attacks under Hostile Scenarios-Scaling up BlockSIEM

Throughout this experiment, our goal is to test the reliability of the BlockSIEM framework against possible adverse situations (i.e., those in which the SIEMs are the target(s) of an attack) and subsequent SIEM reactivations, which simulates the joining of a miner within the Ethereum private network. More specifically, the SIEM mining processes were shut down for a fixed time (i.e., about 10 min), and then switched on. In literature, a plethora of possible attacks targeting critical monitoring infrastructures have been analyzed. The main objective of those attacks is to threaten the availability of the monitoring services (in our case, the SIEMs enabled as miners). In the proposed experiment, we decided to simulate a quite effective attack that is able to completely stop the SIEMs services, which are later reactivated. In this sense, we believe that we chose to simulate the worst scenario, since the effectiveness of such attacks in real conditions may be considerably lower, e.g., compromising a single service and not the entire system. The total duration of the experiment was almost 6 h.
In Figure 8, the CPU consumption of the SIEMs is depicted. Globally, the CPUs curves of the SIEMs reach stability after the first increasing trend (i.e., around 50 min from the beginning of the experiment). Subsequently, they are constantly above 80% of utilization, that is, they are highly stimulated in order to mine new blocks. Such an outcome may be explained by looking at the detail of the Ethereum protocol: in fact, the version of geth (https://geth.ethereum.org/) used in the performed tests leverages only the CPU mining, without considering the possibility of performing GPU mining. To this extent, one could easily argue that GPU features the most appropriate hardware components to mine blocks into the blockchain, since they are optimized to compute mathematical operations. Additionally, it is possible to observe that, according to the alternating deactivations of the SIEM mining processes, the affected SIEM significantly decreases the CPU utilization, while the other SIEMs need to further stress their computational capabilities, even if the spike is not remarkable. Later, when the mining process for the dormant SIEM is reactivated, the trend for all the miners goes back again to a stable value.
Moreover, in Figure 9, the RAM utilization of the SIEMs is shown. As in the case of CPU consumption, the RAM of the corresponding SIEM is also affected by the drop of the mining process, which costs a negative spike of around 600 MB. After the reactivation, the RAM values turn back to a stable state. Different from the CPU utilization of Figure 8, the RAM consumption does not present any additional spike for the other SIEMs linked to the deactivation of the affected one. This evidence is also justifiable by considering the Ethereum CPU mining, which does not affect the RAM consumption once the private network is up.
All in all, the outcomes of this experiment indicate that the designed BlockSIEM framework is reliable against possible adverse situations, in which the SIEMs are targets of attack and, thus, are not able to provide their services. Thanks to the reliability of the blockchain protocol of the private network, the unaffected nodes can effortlessly manage the computational overload.
Currently, Ethereum uses Proof of Work (PoW) as the consensus mechanism which is dependable on the number of nodes that accept a transaction. This consensus mechanism is vulnerable to situations where the majority of nodes get infected, since such compromised nodes could approve a forged or invalid transaction. The aforementioned situation may provoke that data stored in the blockchain loses its integrity and non-repudiation attributes. Even if experiments were implemented in Ethereum, our proposal BlockSIEM is agnostic of the consensus mechanism, allowing the use of another mechanism such as PoS, PoI, or PoA as long as the blockchain framework supports it.

7. Conclusions and Future Work

Smart cities are increasingly becoming a reality nowadays, and their advanced services towards citizens often rely on IoT devices. Unfortunately, such IoT devices, are frequently poorly secured, leading to an optimal playground for cyber criminals, constituting a non-neglectable risk for the wide deployment and success of such Smart cities.
By leveraging the benefits of blockchains, this paper presented BlockSIEM as a tool to contribute directly to the safety of IoT ecosystems by strictly managing the security events stemming from the IoT Sentinels shielding a given group of IoT devices and therefore preserving integrity and non-repudiation. Additionally, BlockSIEM offers desirable features for a sturdy security system such as resilience, trust-orientation, auditability and scalability. Thoroughly conducted experiments have shown that BlockSIEM performs desirably with low transaction times, being mainly affected by the Threshold of Security Events ( λ s e ) and the consensus method.
As for future works, we plan to allow for new types of transactions in our solution according to the type of security event detected by the IoT sentinel, bypassing the threshold ( λ s e ), e.g., more critical security events could be added to the blockchain with a higher priority, whereas medium or low priority events could wait to be grouped. Finally, we will study the feasibility of building a new generation of IoT devices that can be blockchain-capable, qualified to report internal security events to the blockchain.

Author Contributions

Conceptualization, D.D.-L.; Data curation, J.V.B., A.P.M., F.A.R.; Funding acquisition, D.D.-L., F.G.M.; Investigation, J.V.B., A.P.M., F.A.R., D.D.-L., P.N., F.G.M.; Methodology, J.V.B., A.P.M., F.A.R., D.D.-L., P.N., F.G.M.; Software, J.V.B., A.P.M., F.A.R., P.N.; Supervision, D.D.-L., F.G.M.; Writing—original draft, J.V.B., A.P.M., F.A.R., P.N.; Writing—review and editing, D.D.-L., F.G.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was partially funded by the Escuela Colombiana de Ingeniería Julio Garavito (Colombia), by the Universidad del Rosario (Colombia), by an FPU predoctoral contract granted by the University of Murcia (Spain), as well as by a Ramón y Cajal research contract (RYC-2015-18210) granted by the MINECO (Spain) and co-funded by the European Social Fund.

Conflicts of Interest

The authors declare no conflict of interest. The funding sponsors had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

References

  1. Biswas, K.; Muthukkumarasamy, V. Securing Smart Cities Using Blockchain Technology. In Proceedings of the 2016 IEEE 18th International Conference on High Performance Computing and Communications; IEEE 14th International Conference on Smart City; IEEE 2nd International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Sydney, NSW, Australia, 12–14 December 2016; pp. 1392–1393. [Google Scholar] [CrossRef] [Green Version]
  2. Nespoli, P.; Zago, M.; Huertas Celdrán, A.; Gil Pérez, M.; Gómez Mármol, F.; García Clemente, F.J. A Dynamic Continuous Authentication Framework in IoT-Enabled Environments. In Proceedings of the Fifth International Conference on Internet of Things: Systems, Management and Security (IoTSMS 2018), Valencia, Spain, 15–18 October 2018. [Google Scholar]
  3. Díaz López, D.O.; Blanco Uribe, M.A.; Santiago Cely, C.P.; Tarquino Murgueitio, D.F.; García García, E.S.; Nespoli, P.; Gómez Mármol, F. Developing secure IoT services? A security-oriented review of IoT platforms. Symmetry 2018, 10, 669. [Google Scholar] [CrossRef] [Green Version]
  4. Ismagilova, E.; Hughes, L.; Dwivedi, Y.K.; Raman, K.R. Smart cities: Advances in research—An information systems perspective. Int. J. Inf. Manag. 2019, 47, 88–100. [Google Scholar] [CrossRef]
  5. Nespoli, P.; Zago, M.; Huertas Celdrán, A.; Gil Pérez, M.; Gómez Mármol, F.; García Clemente, F.J. PALOT: Profiling and Authenticating users Leveraging internet of Things. Sensors 2019, 19, 2832. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Yang, Y. Multi-tier computing networks for intelligent IoT. Nat. Electron. 2019, 2, 4–5. [Google Scholar] [CrossRef]
  7. Deogirikar, J.; Vidhate, A. Security attacks in IoT: A survey. In Proceedings of the 2017 International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, India, 10–11 February 2017; pp. 32–37. [Google Scholar] [CrossRef]
  8. Neshenko, N.; Bou-Harb, E.; Crichigno, J.; Kaddoum, G.; Ghani, N. Demystifying IoT Security: An Exhaustive Survey on IoT Vulnerabilities and a First Empirical Look on Internet-Scale IoT Exploitations. IEEE Commun. Surv. Tutorials 2019, 21, 2702–2733. [Google Scholar] [CrossRef]
  9. Bekerman, D.; Zeifman, I.; Herzberg, B. Breaking Down Mirai: An IoT DDoS Botnet Analysis; Imperva: Redwood City, CA, USA, 2016. [Google Scholar]
  10. Kolias, C.; Kambourakis, G.; Stavrou, A.; Voas, J. DDoS in the IoT: Mirai and other botnets. Computer 2017, 50, 80–84. [Google Scholar] [CrossRef]
  11. Nam, K.; Dutt, C.S.; Chathoth, P.; Khan, M.S. Blockchain technology for smart city and smart tourism: Latest trends and challenges. Asia Pac. J. Tour. Res. 2019, 1–15. [Google Scholar] [CrossRef]
  12. Pardo Mesa, A.; Ardila Rodríguez, F.; Díaz López, D.O.; Gómez Mármol, F. BSIEM-IoT: A blockchain-based and distributed SIEM for the Internet of Things. In Proceedings of the Applied Cryptography and Network Security Workshops, Bogota, Colombia, 5–7 June 2019; pp. 108–121._6. [Google Scholar] [CrossRef]
  13. Xie, J.; Tang, H.; Huang, T.; Yu, F.R.; Xie, R.; Liu, J.; Liu, Y. A Survey of Blockchain Technology Applied to Smart Cities: Research Issues and Challenges. IEEE Commun. Surv. Tutor. 2019, 21, 2794–2830. [Google Scholar] [CrossRef]
  14. Hakak, S.; Khan, W.Z.; Gilkar, G.A.; Imran, M.; Guizani, N. Securing Smart Cities through Blockchain Technology: Architecture, Requirements, and Challenges. IEEE Netw. 2020, 34, 8–14. [Google Scholar] [CrossRef]
  15. Zheng, Z.; Xie, S.; Dai, H.; Chen, X.; Wang, H. An Overview of Blockchain Technology: Architecture, Consensus, and Future Trends. In Proceedings of the 2017 IEEE International Congress on Big Data (BigData Congress), Honolulu, HI, USA, 25–30 June 2017; pp. 557–564. [Google Scholar]
  16. Xiao, Y.; Zhang, N.; Lou, W.; Hou, Y.T. A Survey of Distributed Consensus Protocols for Blockchain Networks. IEEE Commun. Surv. Tutorials 2020, 22, 1432–1465. [Google Scholar] [CrossRef] [Green Version]
  17. Bach, L.M.; Mihaljevic, B.; Zagar, M. Comparative analysis of blockchain consensus algorithms. In Proceedings of the 2018 41st International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia, 21–25 May 2018; pp. 1545–1550. [Google Scholar]
  18. De Angelis, S.; Aniello, L.; Baldoni, R.; Lombardi, F.; Margheri, A.; Sassone, V. Pbft vs proof-of-authority: Applying the cap theorem to permissioned blockchain. In Proceedings of the 2018 Italian Conference on Cyber Security (ITASEC), Milan, Italy, 6 February 2018. [Google Scholar]
  19. Wust, K.; Gervais, A. Do you Need a Blockchain? In Proceedings of the 2018 Crypto Valley Conference on Blockchain Technology (CVCBT), Zug, Switzerland, 20–22 June 2018; pp. 45–54. [Google Scholar]
  20. Pop, C.; Cioara, T.; Antal, M.; Anghel, I.; Salomie, I.; Bertoncini, M. Blockchain based decentralized management of demand response programs in smart energy grids. Sensors 2018, 18, 162. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. Gamage, H.T.M.; Weerasinghe, H.D.; Dias, N.G.J. A Survey on Blockchain Technology Concepts, Applications, and Issues. Comput. Sci. 2020, 1, 1–15. [Google Scholar] [CrossRef] [Green Version]
  22. Cai, W.; Wang, Z.; Ernst, J.B.; Hong, Z.; Feng, C.; Leung, V.C.M. Decentralized Applications: The Blockchain-Empowered Software System. IEEE Access 2018, 6, 53019–53033. [Google Scholar] [CrossRef]
  23. Antonopoulos, A.; Wood, G. Mastering Ethereum: Building Smart Contracts and DApps; O’Reilly Media: Sebastopol, CA, USA, 2018. [Google Scholar]
  24. Nespoli, P.; Useche Peláez, D.; Díaz López, D.; Gómez Mármol, F. COSMOS: Collaborative, Seamless and Adaptive Sentinel for the Internet of Things. Sensors 2019, 19, 1492. [Google Scholar] [CrossRef] [Green Version]
  25. Dorri, A.; Kanhere, S.; Jurdak, R.; Gauravaram, P. Blockchain for IoT Security and Privacy: The Case Study of a Smart Home. In Proceedings of the 2017 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops), Kona, HI, USA, 13–17 March 2017. [Google Scholar]
  26. Dorri, A.; Kanhere, S.S.; Jurdak, R. Blockchain in Internet of Things: Challenges and Solutions. arXiv 2016, arXiv:1608.05187. [Google Scholar]
  27. Zhang, Y.; Kasahara, S.; Shen, Y.; Jiang, X.; Wan, J. Smart Contract-Based Access Control for the Internet of Things. arXiv 2018, arXiv:1802.04410. [Google Scholar] [CrossRef] [Green Version]
  28. Miloslavskaya, N. Designing blockchain-based SIEM 3.0 system. Inf. Comput. Secur. 2018, 26, 491–512. [Google Scholar] [CrossRef]
  29. Lano, K. The B Language and Method: A Guide to Practical Formal Development; Springer: Secaucus, NJ, USA, 1996. [Google Scholar]
  30. Nagothu, D.; Xu, R.; Nikouei, S.Y.; Chen, Y. A Microservice-enabled Architecture for Smart Surveillance using Blockchain Technology. In Proceedings of the 2018 IEEE International Smart Cities Conference (ISC2), Kansas City, MO, USA, 16–19 September 2018; pp. 1–4. [Google Scholar] [CrossRef] [Green Version]
  31. Sharma, P.K.; Park, J.H. Blockchain based hybrid network architecture for the smart city. Future Gener. Comput. Syst. 2018, 86, 650–655. [Google Scholar] [CrossRef]
  32. Xu, Q.; He, Z.; Li, Z.; Xiao, M. Building an Ethereum-Based Decentralized Smart Home System. In Proceedings of the 2018 IEEE 24th International Conference on Parallel and Distributed Systems (ICPADS), Singapore, 11–13 December 2018; pp. 1004–1009. [Google Scholar] [CrossRef]
  33. Ibba, S.; Pinna, A.; Seu, M.; Pani, F.E. CitySense: Blockchain-Oriented Smart Cities. In Proceedings of the XP2017 Scientific Workshops (XP ’17), Cologne, Germany, 22–26 May 2017; Association for Computing Machinery: New York, NY, USA, 2017. [Google Scholar] [CrossRef]
  34. Kuhrmann, M.; Diebold, P.; Münch, J.; Tell, P.; Garousi, V.; Felderer, M.; Trektere, K.; McCaffery, F.; Linssen, O.; Hanser, E.; et al. Hybrid Software and System Development in Practice: Waterfall, Scrum, and Beyond. In Proceedings of the 2017 International Conference on Software and System Process (ICSSP 2017), Paris, France, 5–7 July 2017; Association for Computing Machinery: New York, NY, USA, 2017; pp. 30–39. [Google Scholar] [CrossRef]
  35. Jabbar, R.; Fetais, N.; Krichen, M.; Barkaoui, K. Blockchain technology for healthcare: Enhancing shared electronic health record interoperability and integrity. In Proceedings of the 2020 IEEE International Conference on Informatics, IoT, and Enabling Technologies (ICIoT), Doha, Qatar, 2–5 February 2020; pp. 310–317. [Google Scholar]
  36. Evans, J.; Karvonen, A.; Luque-Ayala, A.; Martin, C.; McCormick, K.; Raven, R.; Palgan, Y.V. Smart and sustainable cities? Pipedreams, practicalities and possibilities. Local Environ. 2019, 24, 557–564. [Google Scholar] [CrossRef] [Green Version]
  37. Shah, S.A.; Seker, D.Z.; Rathore, M.M.; Hameed, S.; Ben Yahia, S.; Draheim, D. Towards Disaster Resilient Smart Cities: Can Internet of Things and Big Data Analytics Be the Game Changers? IEEE Access 2019, 7, 91885–91903. [Google Scholar] [CrossRef]
  38. Nespoli, P.; Papamartzivanos, D.; Mármol, F.G.; Kambourakis, G. Optimal Countermeasures Selection Against Cyber Attacks: A Comprehensive Survey on Reaction Frameworks. IEEE Commun. Surv. Tutor. 2018, 20, 1361–1396. [Google Scholar] [CrossRef]
  39. Gil Pérez, M.; Gómez Mármol, F.; Martínez Pérez, G.; Skarmeta Gómez, A.F. RepCIDN: A reputation-based collaborative intrusion detection network to lessen the impact of malicious alarms. J. Netw. Syst. Manag. 2013, 21, 128–167. [Google Scholar] [CrossRef]
  40. Díaz López, D.; Blanco Uribe, M.; Santiago Cely, C.; Vega Torres, A.; Moreno Guataquira, N.; Morón Castro, S.; Nespoli, P.; Gómez Mármol, F. Shielding IoT against cyber-attacks: An event-based approach using SIEM. Wirel. Commun. Mob. Comput. 2018, 2018, 18. [Google Scholar] [CrossRef]
  41. Gonzalez-Granadillo, G.; Dubus, S.; Motzek, A.; Garcia-Alfaro, J.; Alvarez, E.; Merialdo, M.; Papillon, S.; Debar, H. Dynamic risk management response system to handle cyber threats. Future Gener. Comput. Syst. 2018, 83, 535–552. [Google Scholar] [CrossRef]
  42. Llansó, T.; McNeil, M.; Noteboom, C. Multi-Criteria Selection of Capability-Based Cybersecurity Solutions. In Proceedings of the 52nd Hawaii International Conference on System Sciences, Grand Wailea, Maui, HI, USA, 8–11 January 2019; Hamilton Library: Honolulu, HI, USA, 2019; pp. 11–20. [Google Scholar]
  43. Akatyev, N.; James, J.I. Evidence identification in IoT networks based on threat assessment. Future Gener. Comput. Syst. 2019, 93, 814–821. [Google Scholar] [CrossRef]
Figure 1. Architecture of a blockchain-based and distributed Security Information and Event Management (SIEM), BlockSIEM.
Figure 1. Architecture of a blockchain-based and distributed Security Information and Event Management (SIEM), BlockSIEM.
Sensors 20 04636 g001
Figure 2. Detection of a distributed attack from security events coming from different sentinels.
Figure 2. Detection of a distributed attack from security events coming from different sentinels.
Sensors 20 04636 g002
Figure 3. Reduction and increase of SIEMs enabled as miners in BlockSIEM.
Figure 3. Reduction and increase of SIEMs enabled as miners in BlockSIEM.
Sensors 20 04636 g003
Figure 4. Block structure.
Figure 4. Block structure.
Sensors 20 04636 g004
Figure 5. Scenario for the execution of experiments.
Figure 5. Scenario for the execution of experiments.
Sensors 20 04636 g005
Figure 6. Mined blocks and transactions of the SIEMs enabled as miners with different thresholds.
Figure 6. Mined blocks and transactions of the SIEMs enabled as miners with different thresholds.
Sensors 20 04636 g006
Figure 7. SIEM mining and response times in logarithmic scale.
Figure 7. SIEM mining and response times in logarithmic scale.
Sensors 20 04636 g007
Figure 8. CPU utilization for the different SIEMs during drops and successive reactivations.
Figure 8. CPU utilization for the different SIEMs during drops and successive reactivations.
Sensors 20 04636 g008
Figure 9. RAM utilization for the different SIEMs during drops and successive reactivations.
Figure 9. RAM utilization for the different SIEMs during drops and successive reactivations.
Sensors 20 04636 g009
Table 1. Comparative table of the analyzed related works.
Table 1. Comparative table of the analyzed related works.
Related WorkBlockchain TypeConsensus AlgorithmBlockchain PlatformAsset to ProtectUse-Case Scenario
Dorri et al. [25]PermissionedN/AN/APolicies and transactionsSmart Home
Zhang et al. [27]N/APoWEthereumAccess control policiesN/A
Miloslavskaya et al. [28]PermissionedN/AN/ASecurity eventsSmart Office/ Organization
Nagothu et al. [30]N/APoWN/AVideo analysis dataSmart City
Sharma et al. [31]PermissionedPoWEthereumGeneral dataSmart City
Xu et al. [32]PermissionedPoWEthereumTemperature and humidity measurementsSmart Home
Ibba et al. [33]PermissionlessPoWEthereumEnvironmental measurementsSmart City
Biswas et al. [1]PermissionedN/AN/AData communication (messages)Smart City
Jabbar et al. [35]PermissionedN/AEthereumElectronic Health Records (EHR)Healthcare Field
Pardo et al. [12]PermissionedPoWEthereumSecurity eventsSmart Home
Table 2. Performance and blockchain metrics for BlockSIEM.
Table 2. Performance and blockchain metrics for BlockSIEM.
CategoryNameDescription
PerformanceCPUSIEM (miner) CPU usage along an experiment time lapse
RAMSIEM (miner) RAM usage along an experiment time lapse
BlockchainNumber of blocksBlocks added to the blockchain
Number of eventsSecurity events added to the blockchain

Share and Cite

MDPI and ACS Style

Botello, J.V.; Mesa, A.P.; Rodríguez, F.A.; Díaz-López, D.; Nespoli, P.; Mármol, F.G. BlockSIEM: Protecting Smart City Services through a Blockchain-based and Distributed SIEM. Sensors 2020, 20, 4636. https://doi.org/10.3390/s20164636

AMA Style

Botello JV, Mesa AP, Rodríguez FA, Díaz-López D, Nespoli P, Mármol FG. BlockSIEM: Protecting Smart City Services through a Blockchain-based and Distributed SIEM. Sensors. 2020; 20(16):4636. https://doi.org/10.3390/s20164636

Chicago/Turabian Style

Botello, Juan Velandia, Andrés Pardo Mesa, Fabián Ardila Rodríguez, Daniel Díaz-López, Pantaleone Nespoli, and Félix Gómez Mármol. 2020. "BlockSIEM: Protecting Smart City Services through a Blockchain-based and Distributed SIEM" Sensors 20, no. 16: 4636. https://doi.org/10.3390/s20164636

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop