Principal Mapper Logo

Principal Mapper

0
Free
1,521
03 Feb 2022
10 September 2025
Visit Website

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.

FEATURES

SIMILAR TOOLS

LambdaGuard is an AWS Lambda auditing tool that provides security configuration checks, statistical analysis, and service dependency mapping for serverless functions.

A Docker security vulnerability where disabling inter-container communication (ICC) fails to block raw ethernet frames, allowing unexpected data transfer between containers via raw sockets.

A tutorial demonstrating how to implement Kubernetes Engine security features to control application privileges through host access controls and network access policies.

CloudSploit by Aqua is an open-source multi-cloud security scanning tool that detects security risks and compliance issues across AWS, Azure, GCP, OCI, and GitHub platforms.

A community-driven repository of pre-built security analytics queries and rules for monitoring and detecting threats in Google Cloud environments across various log sources and activity types.

A command-line security auditing tool that performs Lynis-based security assessments across AWS, GCP, Azure, and DigitalOcean cloud platforms.

Collection of Kubernetes manifests creating pods with elevated privileges for security testing.

A framework for analyzing container images, running scripts inside containers, and gathering information for static analysis and policy enforcement.

AWS Vault securely stores AWS IAM credentials in the operating system's keystore and generates temporary credentials for development environments.

PINNED

RoboShadow Logo

A cybersecurity platform that offers vulnerability scanning, Windows Defender and 3rd party AV management, and MFA compliance reporting, among other features.

Vulnerability Management
Proton Pass Logo

Proton Pass is a cross-platform password manager that provides encrypted storage, password generation, and security monitoring features with integrated 2FA and dark web monitoring capabilities.

Data Protection
NordVPN Logo

NordVPN is a commercial VPN service that encrypts internet connections and hides IP addresses through a global network of servers, featuring integrated threat protection and multi-device support.

Network Security
Mandos Logo

Fractional CISO service that helps B2B companies implement security leadership to win enterprise deals, achieve compliance, and develop strategic security programs.

Consulting
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