Smart Contract Privilege Checker for IoT Security

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The main weakness of IoT devices, their network connectivity, makes them vulnerable to cyberattacks, as any computer with an account on the blockchain can execute functions of smart contracts, potentially allowing malicious modifications.

Innovation Solution

Implementing smart contracts with a privilege checker on edge computers paired with IoT devices, deployed in a blockchain, to ensure only the designated owner can initiate modifications, preventing unauthorized access and data manipulation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If smart contracts are deployed in a blockchain to enable automated machine-to-machine communication for IoT devices, then productivity and automation are improved, but security and reliability deteriorate because any computer with an account can execute functions and potentially modify data maliciously

Engineering Contradiction:
Improveautomation of machine-to-machine communicationVSAvoidsecurity of smart contract data
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies local quality by implementing role-based access control where different entities (owners, administrators, users) have different permission levels. The privilege checker examines the sender's role and applies appropriate access rules, allowing automated execution for authorized entities while blocking unauthorized modifications, thus resolving the contradiction between automation and security.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The privilege checker acts as an intermediary between message senders and smart contract function execution. It interceptors messages, verifies sender privileges against the designated owner, and either allows or blocks execution accordingly. This mediator layer enables automated communication while preventing malicious modifications by unauthorized parties.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If any computer can execute smart contract functions to enable decentralized automation, then ease of operation is improved, but security deteriorates due to vulnerability to cyberattacks and unauthorized modifications

Engineering Contradiction:
Improvedecentralized access to smart contractsVSAvoidcyberattack vulnerability
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The patent implements preliminary anti-action by pre-configuring the smart contract with a privilege checker and designated owner information before deployment. This preliminary security measure proactively prevents unauthorized executions by checking sender privileges before allowing any function execution, thus countering potential cyberattacks before they can succeed while maintaining decentralized access for authorized users.

Inventive Principle:
Principle #9Preliminary anti-action

3Device complexity

If smart contracts allow automated execution without privilege checks to maintain simplicity, then device complexity is reduced, but security deteriorates due to unauthorized access

Engineering Contradiction:
Improvesmart contract structureVSAvoidprotection against unauthorized modifications
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The privilege checker and owner designation are configured in advance during smart contract deployment, not during execution. This preliminary action embeds security rules into the contract's initial structure, allowing the contract to automatically enforce access control without adding complex runtime decision-making logic. The security mechanism becomes an inherent part of the contract's simple automated execution flow.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11349926B1Protected smart contracts for managing internet of things devices
Publication Date: 2022.05.31 TREND MICRO INC
  • US11349926B1 patent drawing
  • US11349926B1 patent drawing
  • US11349926B1 patent drawing

AI summary

A system includes Internet of things (IOT) devices that are paired with corresponding edge computers. Smart contracts are generated for edge computers, and deployed in a blockchain. Upon receipt of a message, a smart contract compares a sender of the message to a designated owner of the smart contract. The smart contract has a privilege checker that allows a message from the owner of the smart contract to initiate execution of a function that modifies a variable of the smart contract, but prevents messages from non-owners from initiating execution of the function.