Keylogger Detection via Hidden Window Data Pattern

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional anti-spyware programs are ineffective in quickly and effectively detecting keyloggers, which can compromise user privacy by secretly recording and sending sensitive information without user knowledge or permission.

Innovation Solution

A method and system that generates a unique, unpredictable data pattern mimicking user keyboard input, scans running processes for interception, and performs a secondary scan using heuristic techniques to confirm suspect processes as keyloggers, employing a hidden window and specific APIs to mimic keyboard input and identify keylogger activity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional anti-spyware programs are used to detect keyloggers, then the detection process is simple to implement, but the detection speed and effectiveness are insufficient

Engineering Contradiction:
Improvedetection speedVSAvoiddetection system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by creating a hidden window and generating a unique data pattern before actual keylogger detection begins. This setup allows the system to proactively test for keylogger presence rather than reactively analyzing existing behavior, significantly improving detection speed while maintaining manageable complexity through structured preprocessing steps

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary hidden window that acts as a mediator between the system and potential keyloggers. This window receives simulated keyboard input and allows indirect observation of keylogger behavior without directly confronting or alerting the malware, enabling faster and more effective detection while keeping the detection mechanism relatively simple

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If keyloggers are designed to be difficult to detect, then they can better protect malicious functionality, but conventional detection methods become increasingly ineffective

Engineering Contradiction:
Improvedetection accuracyVSAvoidkeylogger detection difficulty
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system changes detection parameters by using a unique, unpredictable data pattern instead of conventional detection signatures. This parameter change allows the system to adapt to different keylogger implementations and maintain high detection accuracy even as keyloggers become more sophisticated and difficult to detect using traditional methods

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements feedback mechanisms by scanning running processes for the unique data pattern and performing secondary scans of suspect processes. This feedback loop allows the system to iteratively refine detection accuracy, confirming keylogger presence through multiple verification steps while maintaining reliability even against sophisticated malware

Inventive Principle:
Principle #23Feedback

3Measurement precision

If a unique unpredictable data pattern is generated and scanned across all running processes, then keylogger detection accuracy improves, but system resource consumption increases

Engineering Contradiction:
Improvekeylogger detection precisionVSAvoidsystem resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The detection process is segmented into distinct phases: first scanning all running processes for the unique data pattern, then performing secondary scans only on suspect processes that contain the pattern. This segmentation reduces overall system resource consumption by limiting intensive analysis to only those processes that show signs of keylogger activity, while maintaining high detection precision

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies partial action by performing a comprehensive initial scan of all processes, then applying more intensive secondary scanning only to suspect processes. This approach uses excessive action selectively where needed (high precision scanning of suspects) while conserving resources for the majority of benign processes, achieving both high measurement precision and reasonable resource usage

Inventive Principle:
Principle #16Partial or excessive action

4Reliability

If secondary scan of suspect processes is performed, then false positives are reduced, but detection time increases

Engineering Contradiction:
Improvefalse positive rateVSAvoidtotal detection time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The secondary scan of suspect processes serves as a preliminary verification step that confirms keylogger presence before final detection is reported. This preliminary action reduces false positives by requiring multiple confirmations, while the structured two-stage approach limits time loss by quickly eliminating non-suspect processes through the initial scan

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system skips detailed analysis of non-suspect processes by using the unique data pattern as a quick filter. Once the initial scan identifies suspect processes containing the pattern, the system rushes through verification of these specific targets with secondary scans, reducing overall detection time while maintaining reliability through focused verification of only relevant cases

Inventive Principle:
Principle #21Skipping (Rushing through)

Data Source

PatentUS7721333B2Method and system for detecting a keylogger on a computer
Publication Date: 2010.05.18 OPEN TEXT CORPORATION
  • US7721333B2 patent drawing
  • US7721333B2 patent drawing
  • US7721333B2 patent drawing

AI summary

A method and system for detecting a keylogger on a computer is described. One illustrative embodiment creates, in a memory of the computer, a hidden window; generates a unique, unpredictable data pattern; inputs, to the hidden window, the unique, unpredictable data pattern in a manner that mimics keyboard input from a user; scans running processes in the memory other than a keylogger detection process for the unique, unpredictable data pattern; and performs a secondary scan of a suspect process, the suspect process having an associated buffer that contains the unique, unpredictable data pattern.