Realizing Open and Decentralized Marketplace for Exchanging Data of Expected IoT Behaviors

Song Guo, Minzhao Lyu, Hassan Habibi Gharakheili

Abstract

With rising concerns about the security of IoT devices, network operators need better ways to handle potential risks. Luckily, IoT devices show consistent patterns in how they communicate. But despite previous efforts, it remains unclear how knowledge of these patterns can be made available. As data marketplaces become popular in different domains, this paper proposes creating a special marketplace focused on IoT cybersecurity. The goal is to openly share knowledge about IoT devices' behavior, using structured data formats like Manufacturer Usage Description (MUD) files. To make this work, we employ technologies like blockchain and smart contracts to build a practical and secure foundation for sharing and accessing important information about how IoT devices should behave on the network. Our contributions are two-fold: (1) We identify the essential features of an effective marketplace for sharing data related to the expected behaviors of IoT devices and develop a smart contract on the Ethereum blockchain with five concrete functions; and, (2) We implement a prototype of our marketplace in a private chain environment. We demonstrate how effectively our marketplace functions through experiments involving MUD files from consumer IoT devices. Our marketplace enables suppliers and consumers to share MUD data on the Ethereum blockchain for under a hundred dollars, promoting accessibility and participation.

Introduction

The Internet of Things (IoT) is notoriously insecure, with many devices lacking basic security features and becoming easy targets for attackers. A powerful defense is the Manufacturer Usage Description (MUD) standard, which acts like a "network nutrition label," defining exactly which communications a device is allowed to have. However, MUD adoption faces a significant hurdle: manufacturers lack incentives to create these files, and network operators lack a trusted, central repository to find them. Existing data marketplaces are often centralized and profit-driven, lacking the transparency needed for security applications. This paper addresses these challenges by proposing an open, decentralized platform where researchers, manufacturers, and operators can request, trade, and rate MUD data.

System Architecture and Methodology

The proposed architecture balances transparency with cost-efficiency through a hybrid storage strategy. Storing large JSON-formatted MUD files directly on a blockchain is prohibitively expensive. Instead, the system utilizes the InterPlanetary File System (IPFS) for off-chain storage. The blockchain records only the IPFS hash (a small index), ensuring data immutability without high "gas" costs.

System architecture showing the interaction between Consumers, Suppliers, the Ethereum Blockchain, and IPFS storage.

A specialized Ethereum smart contract manages the marketplace through five core functions:

  1. Request: A consumer specifies device metadata (make, model, firmware) and sets a budget.
  2. Offer: Suppliers propose their MUD data with pricing and metadata.
  3. Select: The consumer chooses the most suitable offers.
  4. Submit (Share): The supplier uploads the file to IPFS and posts the hash to the blockchain.
  5. Rate: The consumer provides a quality score, establishing a reputation system.

To evaluate the prototype, researchers used MUD files for popular consumer IoT devices (Amazon Echo, LIFX lightbulb, and Samsung smart camera) sourced from a public dataset. Four quality tiers were created to simulate realistic market conditions and test selection mechanisms.

Implementation and Results

The authors implemented a functional prototype using Ganache (a private Ethereum environment). The system successfully handled 11 distinct testing scenarios, including successful trades, expired deadlines, and cases with no suitable offers.

Screenshots of the prototype environment showing transaction logs and function calls for a successful trade.

Key results include:

  • Economic Viability: A full cycle of the five functions costs approximately $55.84 USD (based on August 2023 Ethereum prices). The `request` function is the most expensive (~$28.02) due to initial metadata storage requirements.
  • Transparency: Every step of the process—from the initial request to the final rating—is recorded on-chain and is fully auditable.
  • Reputation System: In a permissionless marketplace, the rating system serves as a critical "immune system," allowing the community to identify high-quality providers without a central authority.

Discussion and Future Work

While the cost of transactions provides some protection against spam, future work will focus on more robust anti-sybil measures to prevent malicious actors from manipulating ratings. Additionally, as the marketplace scales, automated selection algorithms could help consumers navigate large volumes of offers based on price, quality, and supplier reputation. The current 100-point rating system may also be expanded to allow for more descriptive feedback, providing better context for future participants.

Summary updated

Abstract

With rising concerns about the security of IoT devices, network operators need better ways to handle potential risks. Luckily, IoT devices show consistent patterns in how they communicate. But despite previous efforts, it remains unclear how knowledge of these patterns can be made available. As data marketplaces become popular in different domains, this paper1 proposes creating a special marketplace focused on IoT cybersecurity. The goal is to openly share knowledge about IoT devices' behavior, using structured data formats like Manufacturer Usage Description (MUD) files. To make this work, we employ technologies like blockchain and smart contracts to build a practical and secure foundation for sharing and accessing important information about how IoT devices should behave on the network. Our contributions are two-fold. (1) We identify the essential features of an effective marketplace for sharing data related to the expected behaviors of IoT devices. We develop a smart contract on the Ethereum blockchain with five concrete functions; and, (2) We implement a prototype of our marketplace in a private chain environment-our codes are publicly released. We demonstrate how effectively our marketplace functions through experiments involving MUD files from consumer IoT devices. Our marketplace enables suppliers and consumers to share MUD data on the Ethereum blockchain for under a hundred dollars, promoting accessibility and participation.
BibTeX
@misc{guo2023realizing,
  author = {Song Guo and Minzhao Lyu and Hassan Habibi Gharakheili},
  title = {{Realizing Open and Decentralized Marketplace for Exchanging Data of Expected IoT Behaviors}},
  year = {2023},
  eprint = {2401.00141},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.00141},
}
Figure