Decentralised Trustworthy Collaborative Intrusion Detection System for IoT

Guntur Dharma Putra, Volkan Dedeoglu, Abhinav Pathak, Salil S. Kanhere, Raja Jurdak

Abstract

The proliferation of IoT devices has increased the surface area for cyberattacks, necessitating robust security measures. Traditional Intrusion Detection Systems (IDS) often operate in isolation, leaving devices vulnerable to novel threats. This paper proposes a decentralized, blockchain-based Collaborative IDS (CIDS) that allows nodes to share verified detection rules securely. By integrating a Trust and Reputation Management (TRM) system into smart contracts and utilizing off-chain storage via IPFS, the architecture ensures scalability and resilience against malicious rule poisoning, even in resource-constrained environments.

Introduction

As IoT deployments expand, they become primary targets for cyberattacks. While Collaborative IDS (CIDS) allows nodes to share "expertise" or detection rules to improve collective defense, existing models often assume node honesty. In real-world scenarios, compromised nodes can inject "poisoned" rules to degrade network security. Furthermore, the high computational overhead and storage requirements of sharing rules across large networks pose significant scalability challenges for small IoT devices. This research addresses these issues by building a system that is both trustworthy—filtering out bad actors—and scalable—minimizing the load on individual devices.

System Architecture

The proposed architecture utilizes a three-tier node structure combined with Ethereum blockchain and InterPlanetary File System (IPFS) for decentralized storage.

Node Roles

  • Contributors ($cc_a$): Nodes that submit new detection rules.
  • Validators ($cv_n$): Trusted nodes that verify submitted rules against local databases and vote on their validity.
  • Regular Nodes ($cr_k$): Passive participants that download and deploy verified rules.

Decentralized Trust and Storage

To maintain efficiency, the system separates metadata from actual rule content. Detection rules, formatted using the IDMEF standard, are stored on IPFS. Only cryptographic hashes and trust metadata are recorded on the blockchain. The core logic resides in two smart contracts: the Trust and Reputation Management (TRM) contract ($SC_{trm}$), which calculates trust scores for rules and nodes, and the Storage contract ($SC_{str}$), which manages rule links.

Figure 5: Detailed interaction workflow between contributors, validators, regular nodes, the blockchain, and decentralized storage.

The system employs a weighted consensus mechanism where validator influence is adjusted based on their reputation. This "trust offloading" allows low-power devices to benefit from complex reputation calculations performed by the smart contracts.

Experimental Evaluation

The system was evaluated using a physical lab-scale testbed consisting of 15 Raspberry Pis and a central PC. Interactions were simulated among 16 virtualized nodes using Docker and Snort, a signature-based IDS.

Performance and Trust Evolution

Experiments demonstrated effective filtering of malicious actors. Trust scores for honest nodes converged to approximately 0.75, while scores for malicious nodes attempting poisoning attacks dropped to 0.1.

Figure 6: Performance metrics showing average latency (seconds) and gas consumption for different transaction types.

As shown in Figure 6, the average latency for rule processing ranges between 3 and 5 seconds. While not instantaneous, this is sufficient for distributing new signatures across a global network. Rule validation ($Tx_c$) represents the highest gas consumption due to the complexity of the consensus logic, whereas rule confirmation ($Tx_f$) is the most economical operation.

Conclusion

This decentralized CIDS provides a scalable and trustworthy framework for IoT security. By offloading trust calculations to smart contracts and rule storage to IPFS, the system protects resource-constrained devices from malicious rule injection. Future work will explore economic incentive models to further encourage honest participation and apply game theory to model sophisticated adversarial behaviors. Additionally, larger-scale testing is required to evaluate performance in networks with thousands of nodes.

Summary updated

BibTeX
@inproceedings{putra2021decentralised,
  author = {Guntur Dharma Putra and Volkan Dedeoglu and Abhinav Pathak and Salil S. Kanhere and Raja Jurdak},
  title = {{Decentralised Trustworthy Collaborative Intrusion Detection System for IoT}},
  booktitle = {Blockchain},
  year = {2021},
  url = {https://openreview.net/forum?id=64_47JbNAuLR},
}
Figure