Automated Attack Pattern Testing for Multi-Party Web Applications

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Multi-party web applications (MPWAs) face security vulnerabilities due to errors in design and implementation of web-based security protocols, particularly with the misuse of OAuth 2.0 access tokens, leading to potential attacks where attackers can replay tokens to impersonate users.

Innovation Solution

A security testing framework that utilizes attack patterns to generate test cases by labeling HTTP traffic and applying structured artifacts to identify and report attacks, enabling automated execution of complex attacker strategies and penetration testing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If security protocols are implemented in MPWAs, then security is improved, but design and implementation errors can still lead to vulnerabilities

Engineering Contradiction:
ImprovesecurityVSAvoidprotocol complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by performing security testing before deployment. The system automatically generates test cases based on attack patterns and executes them against the MPWA to identify vulnerabilities in advance, allowing security issues to be detected and fixed before the application goes live, thus preventing potential security breaches.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements self-service by enabling automated security testing that does not require manual intervention. The framework automatically generates test cases, executes attack patterns, analyzes HTTP traffic, and produces security reports, allowing the MPWA to be tested and validated without continuous human involvement in the security assessment process.

Inventive Principle:
Principle #25Self-service

2Reliability

If manual security testing is performed, then security vulnerabilities can be identified, but the process is time-consuming and labor-intensive

Engineering Contradiction:
Improvesecurity testing effectivenessVSAvoidtesting time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical security testing with an automated system. The framework uses software to automatically generate test cases based on attack patterns, execute them against the MPWA, analyze HTTP traffic responses, and generate security reports. This substitution of manual processes with automated mechanisms dramatically reduces testing time while maintaining comprehensive security coverage.

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

Solution Approach 2:

The system changes the parameter of testing automation from manual to automated execution. By transforming the testing process into an automated workflow that systematically applies attack patterns and analyzes results, the system maintains thorough security testing effectiveness while significantly reducing the time required compared to manual testing approaches.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If comprehensive security testing is conducted, then security vulnerabilities are detected, but the testing framework complexity increases

Engineering Contradiction:
Improvesecurity vulnerability detectionVSAvoidtesting framework complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies segmentation by dividing the security testing framework into distinct modular components: attack pattern definitions, test case generation engine, HTTP traffic analysis module, and report generation system. Each component handles a specific aspect of security testing, allowing comprehensive vulnerability detection while managing complexity through modular architecture that enables independent development, testing, and maintenance of each segment.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9715592B2Dynamic analysis security testing of multi-party web applications via attack patterns
Publication Date: 2017.07.25 SAP SE
  • US9715592B2 patent drawing
  • US9715592B2 patent drawing
  • US9715592B2 patent drawing

AI summary

A security testing framework leverages attack patterns to generate test cases for evaluating security of Multi-Party Web Applications (MPWAs). Attack patterns comprise structured artifacts capturing key information to execute general-purpose attacker strategies. The patterns recognize commonalities between attacks, e.g., abuse of security-critical parameter(s), and the attacker's strategy relating to protocol patterns associated with those parameters. A testing environment is configured to collect several varieties of HTTP traffic. User interaction with the MPWA while running security protocols, is recorded. An inference module executes the recorded symbolic sessions, tagging elements in the HTTP traffic with labels. This labeled HTTP traffic is referenced to determine particular attack patterns that are to be applied, and corresponding specific attack test cases that are to be executed against the MPWA. Attacks are reported back to the tester for evaluation. Embodiments may be implemented with penetration testing tools, in order to automate execution of complex attacker strategies.