Dynamic Firewall Misconfiguration Detection via API Interrogation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In shared-resource environments like cloud computing, it is challenging for resource providers to ensure proper firewall configurations across allocated resources, as differences between firewall and host port settings can indicate misconfigurations, which may lead to unintended access or exposure, and customers may not provide necessary information for detection.

Innovation Solution

A scanning service is configured to interrogate APIs for firewall and host port states, sending test packets to determine mismatches in port configurations, and reporting potential misconfigurations, allowing for proactive notification and remediation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Difficulty of detecting and measuring

If a scanning service sends test packets to detect port mismatches, then detection capability is improved, but system complexity increases

Engineering Contradiction:
Improvefirewall misconfiguration detectionVSAvoidscanning service complexity
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The patent introduces a scanning service as an intermediary component that mediates between the firewall and host machine to detect misconfigurations. This intermediary sends test packets through the firewall to the host machine and compares port states, thereby improving detection capability while managing complexity through a dedicated detection module rather than requiring complex customer-side solutions

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The scanning service performs self-service detection by autonomously sending test packets and analyzing results without requiring customer intervention or direct access to customer resources. The service independently interrogates APIs, determines port states, and generates misconfiguration reports, thereby improving detection while maintaining operational simplicity

Inventive Principle:
Principle #25Self-service

2Measurement precision

If the scanning service interrogates APIs to determine port states, then measurement precision is improved, but loss of information increases due to customer privacy constraints

Engineering Contradiction:
Improveport state detection accuracyVSAvoidcustomer configuration information
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The scanning service acts as an intermediary that obtains port state information through API interrogation without requiring direct access to customer resources or sensitive configuration data. The service mediates the information flow by querying available APIs and comparing port states, thereby achieving precise detection while preserving customer information privacy

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The scanning service creates a virtual representation of port states by interrogating APIs and comparing firewall ports with corresponding host ports. Instead of requiring direct access to customer configuration information, the service copies and analyzes port state data through available interfaces, achieving accurate detection while minimizing information loss

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10798120B2Dynamic detection of firewall misconfigurations
Publication Date: 2020.10.06 AMAZON TECH INC
  • US10798120B2 patent drawing
  • US10798120B2 patent drawing
  • US10798120B2 patent drawing

AI summary

An automated scanning service can be configured to dynamically determine potential firewall misconfigurations in a shared resource environment. The scanning service can interrogate one or more application programming interfaces (APIs) to determine the state of the relevant firewall ports. For each firewall port in a permitted state, a test or trace can be run to determine whether the corresponding host port is open. Similarly, information can be obtained indicating which host ports for the allocation are open, and a determination can be made as to whether the corresponding firewall ports are permitted. Once the determinations are made, any mismatch in port state can be reported as a potential misconfiguration.