CoAP Message Authentication via Embedded Nonce and Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Constrained Application Protocol (CoAP) messages lack authentication, which compromises communication security and does not prevent replay attacks, despite using Datagram Transport Layer Security (DTLS).

Innovation Solution

Incorporating authentication data into CoAP messages to enable message validation, allowing verification of the authenticity of the sender and integrity of the message, and using a nonce to detect and prevent replay attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If DTLS is used for CoAP messages, then communication security is improved, but authentication capability is not provided

Engineering Contradiction:
Improvecommunication securityVSAvoidauthentication capability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent merges DTLS authentication mechanism with CoAP message structure by incorporating authentication data directly into the CoAP message payload. This allows CoAP to inherit DTLS's strong authentication capabilities while maintaining its lightweight nature for constrained devices. The authentication data is appended to the CoAP message, enabling both protocols to work together seamlessly.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent introduces an intermediary authentication data structure that bridges DTLS and CoAP. This authentication data acts as a mediator, containing both DTLS authentication information and CoAP-specific message data, allowing the recipient to verify both the sender's identity and the message integrity without requiring full DTLS handshake complexity in the CoAP layer.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If authentication data is added to CoAP messages, then message validation capability is improved, but message size increases

Engineering Contradiction:
Improvemessage validation capabilityVSAvoidmessage size
Core Design Contradiction:
ReliabilityVSLength of moving object

Solution Approach 1:

The patent applies partial action by including only the necessary authentication data required for validation, rather than transmitting complete authentication certificates or full DTLS session information. The authentication data structure contains minimal sufficient information for the recipient to verify message authenticity and integrity, avoiding unnecessary data transmission overhead.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent extracts only the essential authentication information from the full DTLS protocol and incorporates it into the CoAP message. By taking out only the necessary authentication elements (such as authentication tags or condensed verification data) rather than the complete DTLS handshake, the solution provides validation capability while minimizing message size increase.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If replay attack detection mechanism is implemented, then security against replay attacks is improved, but processing complexity increases

Engineering Contradiction:
Improvesecurity against replay attacksVSAvoidprocessing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by incorporating replay detection mechanisms directly into the message structure before transmission. Nonce values or timestamps are pre-included in the authentication data, allowing the recipient to immediately detect replay attempts without requiring complex post-processing or additional verification steps after message receipt.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The authentication data structure includes self-contained replay detection capabilities, where the nonce or timestamp information enables the recipient to autonomously detect replay attacks without requiring external assistance or complex processing. The system serves itself by embedding the detection mechanism within the authentication data, simplifying the overall processing requirements.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10389714B2Increased communication security
Publication Date: 2019.08.20 FEMTOMAX INC
  • US10389714B2 patent drawing
  • US10389714B2 patent drawing
  • US10389714B2 patent drawing

AI summary

Authentication data may be generated and included in a Constrained Application Protocol (CoAP) message communicated from a first computer system to a second computer system. The authentication data may allow the second computer system to perform message validation for verifying the authenticity of the first computer system and/or the integrity of the CoAP message. And in one embodiment, where the CoAP message includes a nonce, security can be improved by allowing the second computer system to advantageously detect and/or act on a replay attack.