Principal Mapper Logo

Principal Mapper

0
Free
Updated 11 March 2025
Visit Website

Principal Mapper (PMapper) is a script and library for identifying risks in the configuration of AWS Identity and Access Management (IAM) for an AWS account or an AWS organization. It models the different IAM Users and Roles in an account as a directed graph, which enables checks for privilege escalation and for alternate paths an attacker could take to gain access to a resource or action in AWS. PMapper includes a querying mechanism that uses a local simulation of AWS's authorization behavior. When running a query to determine if a principal has access to a certain action/resource, PMapper also checks if the user or role could access other users or roles that have access to that action/resource. This catches scenarios such as when a user doesn't have permission to read an S3 object, but could launch an EC2 instance that can read the S3 object. Additional information can be found in the project wiki. Installation Requirements Principal Mapper is built using the botocore library and Python 3.5+. Principal Mapper also requires pydot (available on pip), and graphviz (available on Windows, macOS, and Linux from https://graphviz.org/). Installation from Pip pip install

FEATURES

SIMILAR TOOLS

Automate AWS security checks and centralize security alerts.

Centrally Manage Cloud Firewall Rules with AWS Firewall Manager

A workload policy enforcement tool for Kubernetes with various supported policies and configuration options.

Automatically compile AWS SCPs for compliant AWS services based on preferred frameworks.

Wiz Cloud Security Platform is a cloud-native security platform that enables security, dev, and devops to work together in a self-service model, detecting and preventing cloud security threats in real-time.

Commercial

Python library for building Docker images with advanced features.

A cloud native security platform that uses behavioral fingerprinting and runtime verification to detect threats across Kubernetes environments, cloud infrastructure, and software supply chains.

Commercial

DataCop is a custom AWS framework for mitigating S3 bucket attack vectors based on customer configuration.

A small project for continuous auditing of internet-facing AWS services

CyberSecTools logoCyberSecTools

Explore the largest curated directory of cybersecurity tools and resources to enhance your security practices. Find the right solution for your domain.

Operated by:

Mandos Cyber • KVK: 97994448

Netherlands • contact@mandos.io

VAT: NL005301434B12

Copyright © 2025 - All rights reserved