Automated Remote Kernel Module Signing via MOK Matching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current secure boot systems face challenges in efficiently managing kernel module signing across distributed environments, particularly in ensuring compatibility and security through machine owner keys (MOKs), as they require manual management and lack automation for secure remote kernel module signing.

Innovation Solution

The implementation of a system where client devices and compile servers communicate to determine matching MOKs, generating new keys if necessary, and automate the process of compiling and signing kernel modules, ensuring compatibility and security through secure boot protocols.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual management of MOKs is used for kernel module signing, then security can be maintained, but the complexity of operation increases and automation is lacking

Engineering Contradiction:
ImprovesecurityVSAvoidmanual management complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system enables self-service automation where the compile server automatically performs MOK management tasks including generating new key pairs, signing kernel modules, and transmitting signed modules to client devices without requiring manual administrator intervention for each operation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary actions by pre-generating MOK key pairs on compile servers and maintaining them in readiness, so that when a client device needs kernel module signing, the infrastructure is already prepared to execute the signing operation immediately without manual setup

Inventive Principle:
Principle #10Preliminary action

2Productivity

If automated remote kernel module signing is implemented, then productivity and ease of operation improve, but the complexity of the system increases

Engineering Contradiction:
Improvesigning automation efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system segments MOK management into independent modular components: key pair generation, module compilation, digital signing, and secure transmission. Each compile server operates as an independent unit that can handle complete signing workflows autonomously, reducing overall system complexity through functional decomposition

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The compile server acts as an intermediary between client devices and the secure boot infrastructure, handling all complex MOK management operations internally and presenting a simplified interface to clients through automated workflows

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If MOK matching is performed across distributed systems, then compatibility is improved, but the time required for key management increases

Engineering Contradiction:
ImprovecompatibilityVSAvoidkey management time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary MOK matching by comparing the client device's MOK against the compile server's MOK database before initiating the signing process. This pre-matching ensures compatibility is verified in advance, preventing time-consuming failures during actual kernel module compilation and signing

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where the compile server receives the client device's MOK, automatically compares it against stored MOKs, and uses this feedback to determine compatibility and proceed with or without generating new key pairs, optimizing the workflow based on real-time matching results

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10445504B2Secure remote kernel module signing
Publication Date: 2019.10.15 RED HAT INC
  • US10445504B2 patent drawing
  • US10445504B2 patent drawing
  • US10445504B2 patent drawing

AI summary

Implementations for a secure remote kernel module signing are disclosed. In one example, the method includes receiving an indicator of a public key associated with a client computing device, determining that the public key associated with the client computing device is in common with a public key associated with a first server computing device, compiling the script, signing the compiled script with a private key that is associated with the public key that is in common with the client computing device and the first server computing device without generating a new private key, and sending the signed compiled script to the client computing device.