Keystroke Cipher Segments for Plaintext Keylogger Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Software-based keyloggers can intercept and read plaintext keystroke data, compromising user privacy and security.

Innovation Solution

Implementing a keystroke encryptor at the device driver level to encrypt key identifiers within the keystroke I/O message channel and a decryptor at the window event handler to decrypt the cipher segment, ensuring only plaintext keystroke data is passed to applications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If keystroke data is transmitted in plaintext through the I/O message channel, then applications can easily access and process keystroke information, but keyloggers can intercept and steal sensitive data

Engineering Contradiction:
Improvekeystroke data securityVSAvoidencryption system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

An encryption module is introduced as an intermediary component between the keyboard device driver and the window event handler. This module encrypts keystroke data before transmission and decrypts it at the destination, preventing keyloggers from intercepting plaintext data while maintaining the existing I/O message channel architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The keystroke data parameter is transformed from plaintext to encrypted ciphertext form during transmission. The encryption module modifies the data state by applying encryption algorithms, changing the parameter representation while preserving the underlying keystroke information for authorized access.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If encryption is implemented at the device driver level, then keystroke data is protected during transmission, but the system requires additional encryption and decryption operations

Engineering Contradiction:
Improvedata protection against keyloggersVSAvoidkeystroke processing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

Encryption is performed preliminarily at the device driver level before keystroke data enters the I/O message channel. This preliminary encryption action ensures data is protected from the moment of generation, preventing keylogger interception without requiring repeated encryption operations throughout the data flow.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The encryption module operates autonomously within the existing driver architecture, performing encryption and decryption operations independently. The module manages its own cryptographic keys and operations without requiring external intervention, minimizing system overhead while maintaining security.

Inventive Principle:
Principle #25Self-service

3Reliability

If the encryption module modifies the I/O message channel structure, then security is enhanced, but compatibility with existing operating systems may be compromised

Engineering Contradiction:
Improvekeystroke data confidentialityVSAvoidoperating system compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The encryption module is designed with universal compatibility, working within the existing I/O message channel framework of various operating systems without requiring fundamental structural changes. It performs multiple functions including encryption, decryption, and data validation while maintaining compatibility with standard operating system interfaces.

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

Solution Approach 2:

The encryption modifications are applied locally at specific points in the I/O message channel (at the driver level and window handler level) rather than requiring global restructuring of the operating system. This localized approach enhances security while preserving the overall system architecture and compatibility.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12413407B2Ciphers to protect keystrokes
Publication Date: 2025.09.09 OMNISSA LLC
  • US12413407B2 patent drawing
  • US12413407B2 patent drawing
  • US12413407B2 patent drawing

AI summary

Encrypting keystroke data on a computing device involves receiving a key identifier (ID) from a keyboard device, creating a keystroke cipher segment comprising a primary authentication code and the key ID, and encrypting the keystroke cipher segment to generate an encrypted keystroke cipher segment. The keystroke cipher segment is included within a keystroke message and transmitted from the keyboard device driver to a window event handler via an input/output (I/O) message channel native to an operating system running on the computing device. The encrypted keystroke cipher segment is decrypted to identify the key ID, which is transmitted to a first application for further processing.