Webserver Instance Segmentation for Logic Defect Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional software development tools are inadequate in detecting logic errors in software code, leading to undetected security defects that can result in security breaches and significant financial losses, as they primarily focus on syntax errors and struggle with complex web-based applications.

Innovation Solution

A method and apparatus for identifying logic defects in webserver applications through dynamic analysis, where a webserver device establishes instances for each client, detects permission violations, and visualizes the affected webserver functions to mitigate and remediate potential attacks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional software development tools are used to identify errors in code, then syntax errors can be visually identified, but logic errors and security defects remain undetected

Engineering Contradiction:
Improveerror detection capabilityVSAvoidtool functionality limitation
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the monolithic webserver into multiple isolated instances, each handling a specific client device. This segmentation allows independent analysis of each instance's behavior and permission handling, enabling detection of logic errors that would be difficult to identify in a unified system. The isolation ensures that defects in one instance do not affect others, facilitating precise error localization.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces an intermediary analysis layer that monitors and records the behavior of webserver instances. This intermediary component captures permission violations and logic errors without interfering with normal operation, enabling post-analysis of system behavior. The intermediary records detailed information about function calls, permission checks, and security events for later examination.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If webserver instances are established for each client device to improve security analysis, then permission violations can be detected, but system complexity increases

Engineering Contradiction:
Improvesecurity defect detectionVSAvoidwebserver instance management
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The webserver is divided into multiple independent instances, each dedicated to a specific client device. This segmentation creates isolated environments where permission violations can be detected without affecting other clients. Each instance maintains its own state and permission context, enabling precise security analysis while preventing cross-contamination of security defects.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each webserver instance is configured with specific local qualities tailored to its assigned client device, including client-specific permission sets and access controls. This local customization allows each instance to enforce appropriate security policies for its designated client, improving overall system security while maintaining manageable complexity through specialization.

Inventive Principle:
Principle #3Local quality

3Reliability

If dynamic analysis is performed to identify logic defects, then security breaches can be prevented, but incident response time increases

Engineering Contradiction:
Improvesecurity breach preventionVSAvoidincident response time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary dynamic analysis by establishing webserver instances and monitoring their behavior before actual security breaches occur. Permission violations and logic errors are detected and recorded during normal operation, allowing security issues to be identified and remediated before they can be exploited by adversaries. This proactive approach prevents breaches rather than responding to them after occurrence.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements continuous feedback loops where the behavior of webserver instances is monitored, analyzed, and used to update security models. Permission violations and logic errors trigger immediate feedback that alerts security personnel and enables rapid response. The feedback mechanism provides real-time information about system state, allowing quick identification and remediation of security defects.

Inventive Principle:
Principle #23Feedback

4Difficulty of detecting and measuring

If comprehensive logging and analysis of webserver behavior is implemented, then logic errors can be identified, but data processing complexity increases

Engineering Contradiction:
Improvelogic error detectionVSAvoidlog analysis system
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The system extracts only the most relevant information from webserver operations for analysis, focusing specifically on permission violations, function call sequences, and security-critical events. Rather than analyzing all logged data, the system selectively extracts and prioritizes information most likely to reveal logic errors and security defects, reducing processing complexity while maintaining detection effectiveness.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system changes the parameters of analysis by focusing on specific behavioral patterns and permission states rather than attempting to analyze all possible system states. By adjusting analysis parameters to concentrate on high-risk areas such as permission violations and unauthorized access attempts, the system reduces computational complexity while improving detection of logic errors in permission handling.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20230083977A1Method and apparatus for identifying a logic defect in an application
Publication Date: 2023.03.16 WORCESTER POLYTECHNIC INSTITUTE
  • US20230083977A1 patent drawing
  • US20230083977A1 patent drawing
  • US20230083977A1 patent drawing

AI summary

Embodiments of the innovation relate to, in a webserver device, a method for identifying a logic defect in an application. The method comprises establishing a webserver instance of the webserver device with a client device, the webserver instance of the webserver device having a corresponding set of client device permissions; receiving a content request from the client device associated with the webserver instance of the webserver device; detecting a violation of a permission of the set of client device permissions associated with the webserver instance of the webserver device; identifying at least one webserver function associated with the violation of the permission of the set of client device permissions; and displaying a visual identification of the at least one webserver function associated with the violation of the permission of the set of client device permissions.