IAM Policy Attack Path Detection via Directed Graph Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In cloud environments, managing complex permissions and roles across numerous entities is challenging, leading to unseen attack paths that allow attackers to access valuable resources, known as "crown jewels".

Innovation Solution

A resource attack path detector is employed to parse Identity and Access Management (IAM) policies, build a directed graph representing entities and their permissions, analyze the graph to identify attack paths, and create security rules based on detected patterns.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If IAM policies are manually managed in cloud environments, then permission control is maintained, but attack paths remain unseen and security risks increase

Engineering Contradiction:
ImprovesecurityVSAvoidattack path detection
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces an intermediary system that acts as a mediator between IAM policies and security analysis. This system parses IAM policies, extracts entities and permissions, builds access graphs, and identifies attack paths. The intermediary translates complex permission structures into visualizable and analyzable graphs, making hidden attack paths detectable without changing the underlying IAM management approach.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces manual security analysis methods with automated computational systems. Instead of manually reviewing IAM policies and permission structures, the system uses automated parsing, graph building, and path analysis algorithms to identify attack paths. This substitution of mechanical manual processes with automated computational mechanisms enables comprehensive security analysis at scale.

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

2Adaptability or versatility

If the number of entities and permissions in cloud environment increases, then functionality and access control capabilities improve, but managing permissions and detecting attack paths becomes more complex

Engineering Contradiction:
Improveaccess control capabilityVSAvoidpermission management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the complex permission management system into distinct analytical components: entity extraction, permission extraction, graph node creation, edge creation, and attack path analysis. By dividing the monolithic IAM policy management into separable processing stages, the system can handle increasing numbers of entities and permissions without proportionally increasing management complexity. Each segment processes specific aspects independently and contributes to the overall security analysis.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the flat, text-based IAM policy structure into a multi-dimensional graph representation. Entities become nodes, permissions become edges, and relationships between entities are visualized in a structured graph format. This dimensional transformation from linear policy text to graphical structure enables easier analysis and detection of attack paths, reducing the perceived complexity despite increasing numbers of entities and permissions.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Measurement precision

If automated graph analysis is performed to identify attack paths, then security detection capability improves, but processing time and computational resources increase

Engineering Contradiction:
Improveattack path identification accuracyVSAvoidanalysis time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by pre-parsing IAM policies, pre-extracting entities and permissions, and pre-building the access graph before attack path analysis is needed. This preliminary processing organizes the data into a structured format that facilitates faster query and analysis. When attack path identification is required, the system queries the pre-built graph rather than analyzing raw policies from scratch, significantly reducing analysis time while maintaining high accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250131098A1Identity and access management informed attack path discovery
Publication Date: 2025.04.24 PALO ALTO NETWORKS INC
  • US20250131098A1 patent drawing
  • US20250131098A1 patent drawing
  • US20250131098A1 patent drawing

AI summary

A resource attack path detector parses IAM policies to identify entities and permissions relating the entities. The resource attack path detector builds a directed graph that represents the entities, which includes principals and resources, with nodes and relates nodes based on permissions. The resource attack path detector indicates properties of the nodes and edges in the graph based on information about the entities. The attack path detector assigns weights to the nodes and edges based on the properties of the nodes and edges. After the graph is complete, the attack path detector can analyze the graph to reveal attack paths. The resource attack path detector scores attack paths and then ranks and/or filters the attack paths based on the scoring. In addition, the attack path detector can extract patterns from attack paths and create security rules with the extracted patterns.