Capacitance-Matrix Keyboard Readout Against Keypress Hacking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing keyboard systems are vulnerable to hacking attacks that allow unauthorized parties to recognize and manipulate input confidential information, such as PIN codes, by monitoring voltage changes on interface lines.

Innovation Solution

A keyboard system with capacitive matrix technology, where each key connects to different capacitances in two positions, using a stimulation waveform to detect key presses by sensing electrical current through interface lines, making it difficult for attackers to identify key presses or determine which key is pressed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional voltage monitoring method is used to detect key presses, then the detection is simple and direct, but the system becomes vulnerable to hacking attacks that can recognize and manipulate confidential information

Engineering Contradiction:
Improvekeyboard securityVSAvoiddetection system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent changes the detection parameter from voltage to current. By stimulating the interface line with a waveform and measuring the current draw instead of voltage, the system detects key presses through changes in electrical current caused by capacitance changes. This parameter transformation makes the system secure against traditional voltage monitoring attacks while maintaining detection capability.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If capacitance-based detection is implemented to prevent attacks, then security is improved, but the measurement and detection become more complex

Engineering Contradiction:
Improveattack detection capabilityVSAvoidcurrent sensing complexity
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent replaces complex capacitance measurement circuits with a simpler current sensing approach. Instead of directly measuring capacitance changes through complex electronics, the system stimulates the interface line and measures the resulting current draw, which naturally reflects capacitance changes. This substitution simplifies the measurement process while maintaining security.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Measurement precision

If multiple capacitive elements are used to detect key presses, then detection accuracy is improved, but the system becomes more susceptible to manipulation attempts

Engineering Contradiction:
Improvekey press detection accuracyVSAvoidmanipulation vulnerability
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent introduces current as an intermediary measurement parameter between the capacitive elements and the detection system. Instead of directly measuring capacitance (which can be manipulated), the system measures current draw during stimulation, which indirectly reflects capacitance changes but is much harder to manipulate. This intermediary measurement protects against manipulation while maintaining detection accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

Applied Scientific Principles

This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.

Function Achieved in This Case

The system effectively prevents unauthorized access by ensuring that a pressed key cannot be identified by monitoring voltage over interface lines, making it harder for attackers to illegitimately sense current, and allowing easy detection of potential attacks through resistance changes.

Implementation Method 1

The key is configured to connect the interface line to first and second different capacitances when positioned in first and second positions, respectively

Methodology Applied
Scientific EffectCapacitance: Capacitance

Implementation Method 2

sensing electrical current flowing on the interface line in response to a stimulation waveform

Methodology Applied
Scientific EffectElectrical current sensing: Conduction (electrical)

Implementation Method 3

The circuitry is configured to sense the electrical current by integrating a voltage across a resistance that the electrical current flows through, over a predefined time interval

Methodology Applied
Scientific EffectOhm's Law: Ohm's Law

Implementation Method 4

the waveform generator is configured to produce the stimulation waveform with rise and fall times that are longer than a Resistance-Capacitance (RC) time constant of the interface line and the first or second capacitances

Methodology Applied
Scientific EffectRC time constant: Capacitance

Data Source

PatentUS9698777B1Secured keyboard readout using capacitance matrix
Publication Date: 2017.07.04 NUVOTON
  • US9698777B1 patent drawing
  • US9698777B1 patent drawing
  • US9698777B1 patent drawing

AI summary

An apparatus includes a keyboard and circuitry. The keyboard includes at least an interface line and a key. The key is configured to connect the interface line to first and second different capacitances when positioned in first and second positions, respectively. The circuitry is connected to the interface line and is configured to detect whether the key is in the first position or in the second position, by sensing electrical current flowing on the interface line in response to a stimulation waveform.