Audio Data Protection via API Interception and Encryption

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The protection of audio data transmission from microphones to application processes is compromised in modern operating systems, particularly with the advent of Windows Vista, as the Windows Kernel Streaming technology becomes unsuitable due to audio traffic being routed through private COM interfaces and Direct Access Memory, making it difficult to intercept and filter unauthorized access.

Innovation Solution

A method involving a processor that allocates data buffers for software processes, encrypts audio data from audio endpoint devices, and uses API function call interceptors to manage access, determining process authenticity through identifiers and databases of known viruses, ensuring only authorized processes access encrypted audio data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If audio traffic is routed through private COM interfaces and Direct Access Memory in Windows Vista and later, then audio transmission speed and efficiency are improved, but the ability to intercept and filter unauthorized access is lost

Engineering Contradiction:
Improveaudio transmission speedVSAvoidaccess control reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent introduces an intermediary component that intercepts API function calls between applications and the audio subsystem. This mediator monitors and controls access to audio data without disrupting the direct memory access path, allowing both high-speed transmission and reliable access control to coexist.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the audio data access path into multiple controlled points. By dividing the monolithic audio subsystem into separable components with distinct access control mechanisms, it enables independent optimization of speed and security without compromising either aspect.

Inventive Principle:
Principle #1Segmentation

2Reliability

If a filter is installed in the Windows Kernel Streaming technology region, then unauthorized access can be blocked, but the filter becomes absolutely unsuitable for Windows Vista and later systems

Engineering Contradiction:
Improveaccess control reliabilityVSAvoidoperating system compatibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements a dynamic access control mechanism that adapts to different operating system architectures. Rather than using a static filter that only works with Kernel Streaming, the system dynamically intercepts API calls at the appropriate layer, making it compatible with both older and newer Windows versions including Vista and later.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the operational parameters of access control from kernel-level streaming interception to user-mode API function call interception. This parameter change allows the same access control logic to function across different operating system versions and audio architectures without requiring modification.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If audio data is placed in a protected process buffer without interception, then direct access memory efficiency is improved, but security against eavesdropping is compromised

Engineering Contradiction:
Improveaudio data processing efficiencyVSAvoidunauthorized access vulnerability
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The patent performs preliminary encryption of audio data before it is placed in the protected process buffer. By encrypting the data in advance, the system maintains direct memory access efficiency while ensuring that even if unauthorized access occurs, the stolen data remains encrypted and unusable.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces physical/mechanical access control (filters and interceptors in the audio stream) with cryptographic protection. Instead of trying to physically prevent access to memory buffers, the system uses encryption to protect the confidentiality of audio data, allowing efficient direct memory access while maintaining security.

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

Data Source

PatentUS9866539B2System and method for protecting transmission of audio data from microphone to application processes
Publication Date: 2018.01.09 AO KASPERSKY LAB
  • US9866539B2 patent drawing
  • US9866539B2 patent drawing
  • US9866539B2 patent drawing

AI summary

Disclosed are systems and methods for protecting transmission of audio data from microphone to application process. An exemplary method includes receiving a request from a software process to obtain an audio stream from an audio endpoint device; allocating a data buffer for the software process; processing and encrypting audio data received from the audio endpoint device by audio processing objects; storing the encrypted audio data in the allocated data buffer; installing an interceptor of a API function call for the software process; and decrypting the encrypted audio data from the allocated data buffer by the software process using the interceptor of the API function call.