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
EXPLORE BY TAGS
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.