Container-Based HSM Management via Daemon Mediation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computer systems, managing access to cryptography Hardware Security Modules (HSMs) across multiple containers is challenging, requiring secure and privileged access to perform encryption and decryption functions while separating administrative roles and preventing unauthorized access to sensitive key materials.

Innovation Solution

Implementing a cryptography work daemon container with privileged access to the HSM, which regulates access for other containers, performs cryptographic functions, and manages key updates and diagnostics, ensuring only authorized users can access and manage the HSM, thereby maintaining security and separating application and security administrator roles.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If multiple containers directly access the cryptography HSM, then accessibility and ease of operation are improved, but security and access control are compromised

Engineering Contradiction:
Improveaccessibility to HSMVSAvoidsecurity of key materials
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent introduces a daemon container as an intermediary between application containers and the HSM. The daemon container has privileged access to the HSM and manages all cryptographic operations, while application containers communicate with it through standardized interfaces. This mediator architecture allows multiple containers to access HSM functions without directly compromising security, as the daemon container controls and monitors all access requests.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system segments access rights by separating administrative roles into different containers: application containers for cryptographic operations and a separate admin container for key management. This segmentation ensures that application containers cannot directly access or modify key materials, while the admin container has controlled access for legitimate key management tasks.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If privileged access is granted to multiple containers for HSM operations, then functionality and versatility are improved, but security risks and access control complexity increase

Engineering Contradiction:
Improvecryptographic function accessVSAvoidaccess control management
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The daemon container is designed as a universal interface that handles multiple cryptographic functions (encryption, decryption, key generation, etc.) for multiple application containers. Instead of giving each container direct HSM access with individual privileges, the single daemon container provides multi-functional access control, simplifying the system while maintaining versatility.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Productivity

If direct container access to HSM is enabled, then processing speed and productivity are improved, but security monitoring and audit capabilities deteriorate

Engineering Contradiction:
Improvecryptoperation speedVSAvoidaccess monitoring
Core Design Contradiction:
ProductivityVSDifficulty of detecting and measuring

Solution Approach 1:

The daemon container implements feedback mechanisms by logging all cryptographic operations, access requests, and key management activities. This centralized logging provides audit trails for security monitoring while maintaining efficient cryptographic processing through the daemon's direct HSM connection. The feedback loop enables security monitoring without adding latency to actual cryptographic operations.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11455429B2Container-based cryptography hardware security module management
Publication Date: 2022.09.27 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11455429B2 patent drawing
  • US11455429B2 patent drawing
  • US11455429B2 patent drawing

AI summary

Techniques for container-based cryptography hardware security module (HSM) management in a computer system are described herein. An aspect includes providing a cryptography work daemon container in a computer system, wherein the cryptography work daemon container in the computer system has privileged access to a cryptography HSM of the computer system. Another aspect includes receiving, by the cryptography work daemon container, a request for a cryptography function of the cryptography HSM from an application container in the computer system. Another aspect includes causing, by the cryptography work daemon container, the cryptography HSM to perform the cryptography function based on receiving the request.