- Home
- Cloud Security
- Cloud Security Posture Management
- Principal Mapper
Principal Mapper
Principal Mapper is a Python tool that models AWS IAM configurations as directed graphs to identify privilege escalation risks and alternative attack paths in AWS environments.

Principal Mapper
Principal Mapper is a Python tool that models AWS IAM configurations as directed graphs to identify privilege escalation risks and alternative attack paths in AWS environments.
Principal Mapper Description
Principal Mapper (PMapper) is a Python-based script and library designed to analyze AWS Identity and Access Management (IAM) configurations for security risks within AWS accounts or organizations. The tool creates a directed graph model of IAM Users and Roles, enabling security professionals to identify potential privilege escalation paths and alternative attack vectors that could lead to unauthorized resource access. PMapper includes a local simulation engine that mimics AWS authorization behavior, allowing users to query whether principals have access to specific actions or resources. The tool goes beyond direct permission checks by analyzing indirect access paths, such as scenarios where a user might launch an EC2 instance with permissions to access resources they cannot directly reach. The solution supports both individual AWS accounts and AWS organizations, providing comprehensive IAM risk assessment capabilities. It requires Python 3.5+, botocore library, pydot, and graphviz for full functionality. PMapper serves as a security assessment tool for identifying misconfigurations and potential security gaps in AWS IAM implementations.
FEATURED
Password manager with end-to-end encryption and identity protection features
VPN service providing encrypted internet connections and privacy protection
Fractional CISO services for B2B companies to accelerate sales and compliance
Stay Updated with Mandos Brief
Get the latest cybersecurity updates in your inbox
TRENDING CATEGORIES
POPULAR
Security platform that provides protection, monitoring and governance for enterprise generative AI applications and LLMs against various threats including prompt injection and data poisoning.
A threat intelligence aggregation service that consolidates and summarizes security updates from multiple sources to provide comprehensive cybersecurity situational awareness.
Fabric Platform is a cybersecurity reporting solution that automates and standardizes report generation, offering a private-cloud platform, open-source tools, and community-supported templates.
A weekly newsletter providing cybersecurity leadership insights, industry updates, and strategic guidance for security professionals advancing to management positions.