Audio Data Encryption via API Interception and Buffer Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems fail to effectively intercept and protect audio data transmission from microphones due to the protected process 'audiodg.exe' in modern Windows operating systems, making it difficult to control access and prevent unauthorized access.

Innovation Solution

A method and system that allocate data buffers for software processes, encrypt audio data from audio endpoint devices, and use API function call interceptors to manage access, determining process authenticity and granting access only to authorized processes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If audio data is transmitted directly from audio endpoint device to application processes without encryption, then transmission speed is maintained, but security against unauthorized access deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoidcomplexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

An intermediary module is introduced between the audio endpoint device and application processes. This module intercepts API function calls, manages encryption/decryption operations, and controls data flow through protected buffers, thereby providing security without requiring direct modification of audio hardware or core OS components

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The audio data transmission path is segmented into distinct protected buffers for different software processes. Each buffer is independently managed and encrypted, allowing selective access control while maintaining overall system security. The segmentation isolates unauthorized processes from sensitive audio data

Inventive Principle:
Principle #1Segmentation

2Reliability

If audio data is encrypted during transmission, then security is improved, but processing time increases

Engineering Contradiction:
ImprovesecurityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Encryption is performed preliminarily on audio data before it is stored in protected buffers. This preliminary encryption action ensures that data is secured at the point of capture, and subsequent decryption only needs to occur when authorized processes request the data, minimizing overall processing time delays

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates encrypted copies of audio data in protected buffers while maintaining the ability to provide decrypted copies to authorized processes. This copying mechanism allows multiple processes to access encrypted data simultaneously without requiring repeated encryption/decryption cycles, reducing processing overhead

Inventive Principle:
Principle #26Copying

3Reliability

If access control filtration is implemented in the operating system, then unauthorized access prevention is improved, but system complexity increases

Engineering Contradiction:
Improveaccess controlVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements self-service access control where the intermediary module automatically manages encryption keys, buffer allocation, and access permissions without requiring manual OS configuration. Authorized processes automatically receive decrypted data through the established interception mechanism, reducing administrative complexity

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The intermediary module serves multiple functions: it intercepts API calls, manages encryption/decryption, controls buffer access, and authenticates processes. This multi-functional approach consolidates what would otherwise require separate complex systems into a single integrated solution

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

Data Source

PatentEP3239887B1System and method for protecting transmission of audio data from microphone to application processes
Publication Date: 2018.06.06 AO KASPERSKY LAB
  • EP3239887B1 patent drawingFigure 1
  • EP3239887B1 patent drawingFigure 2
  • EP3239887B1 patent drawingFigure 3

AI summary

Disclosed are a system, a method and a computer program product 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.