Attack Paths query catalog¶
Generated by python manage.py attack_paths_catalog from the query
registry (api/src/backend/api/attack_paths/queries/). Do not edit by hand.
9 providers, 493 queries (181 of them the shared Detection & Response queries, listed once at the end).
| Provider | Root node | Ingested | Required permissions | Queries |
|---|---|---|---|---|
| AWS | AWSAccount |
Cartography's AWS modules: IAM, EC2, ELB, S3, Lambda, RDS, EKS and more | SecurityAudit + ViewOnlyAccess (the AWS provider's IAM user or role) | 102 + 21 shared |
| Cloudflare | CloudflareAccount |
account, members, roles, zones, DNS records | API token with Account Settings, Zone and DNS read | 20 + 19 shared |
| Kubernetes | KubernetesCluster |
namespaces, nodes, pods, services, ingresses, secrets (metadata), RBAC | read-only ClusterRole incl. secrets and RBAC (not view) |
26 + 21 shared |
| GitHub | GitHubOrganization |
members, repos, collaborators, branch rules, tokens, teams, Actions, apps | read:org, repo (read), read:user; owner for 2FA, tokens, apps |
23 + 20 shared |
| Azure | AzureSubscription |
subscription, RBAC, VMs, networking, storage, Key Vault, managed identities | Reader + Microsoft.Authorization/*/read |
33 + 21 shared |
| Google Cloud | GCPProject |
project, IAM bindings and roles, compute, storage, service accounts | Viewer + iam.roles.get, resourcemanager.projects.getIamPolicy |
32 + 21 shared |
| Fly.io | FlyioOrganization |
organization, members, tokens, apps, machines, volumes, certificates, IPs | read-only org token; admin token for members and tokens | 27 + 20 shared |
| Okta | OktaOrganization |
users, groups, apps, admin roles, factors, API tokens (metadata) | OAuth service app with okta.*.read scopes and a read-only admin role | 24 + 19 shared |
| Microsoft 365 | EntraTenant |
Entra users, groups, apps, service principals, roles, consents | Directory.Read.All, Application.Read.All, RoleManagement.Read.Directory, Policy.Read.All | 25 + 19 shared |
AWS (102 queries)¶
Root node AWSAccount, provider type aws; plus 21 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
Internet-Exposed ALB/NLB Load Balancersaws-elbv2-internet-exposed |
Public exposure | Find ELBv2 (ALB/NLB) load balancers exposed to the internet with their listeners. |
Internet-Exposed Classic Load Balancersaws-classic-elb-internet-exposed |
Public exposure | Find Classic Load Balancers exposed to the internet with their listeners. |
Internet-Exposed EC2 Instancesaws-ec2-instances-internet-exposed |
Public exposure | Find EC2 instances flagged as exposed to the internet. |
Internet-Exposed EC2 with Sensitive S3 Accessaws-internet-exposed-ec2-sensitive-s3-access |
Public exposure | Find SSH-exposed EC2 instances that can assume roles to read tagged sensitive S3 buckets. Parameters: tag_key, tag_value. |
Open Security Groups on Internet-Facing Resourcesaws-security-groups-open-internet-facing |
Public exposure | Find internet-facing resources with security groups allowing inbound from 0.0.0.0/0. |
Resource Lookup by Public IPaws-public-ip-resource-lookup |
Public exposure | Find the AWS resource associated with a given public IP address. Parameters: ip. |
S3 Buckets with Anonymous Accessaws-s3-anonymous-access-buckets |
Public exposure | Find S3 buckets that allow anonymous access. |
Access Key Creation for Lateral Movement (IAM-002)aws-iam-privesc-create-access-key |
Privilege escalation | Create access keys for other IAM users to gain their permissions and move laterally across the account. |
Access Key Rotation Attack for Lateral Movement (IAM-003)aws-iam-privesc-delete-create-access-key |
Privilege escalation | Delete and recreate access keys for other IAM users to bypass the two-key limit and gain their permissions. |
CloudFormation Change Set Privilege Escalation (CLOUDFORMATION-005)aws-cloudformation-privesc-changeset |
Privilege escalation | Create and execute a change set on an existing stack to leverage its privileged service role. |
CloudFormation Stack Creation with Privileged Role (CLOUDFORMATION-001)aws-cloudformation-privesc-passrole-create-stack |
Privilege escalation | Create a CloudFormation stack with a privileged role to provision arbitrary AWS resources. |
CloudFormation Stack Update for Role Access (CLOUDFORMATION-002)aws-cloudformation-privesc-update-stack |
Privilege escalation | Update an existing CloudFormation stack to leverage its already-attached privileged service role. |
CloudFormation StackSet Creation with Privileged Role (CLOUDFORMATION-003)aws-cloudformation-privesc-passrole-create-stackset |
Privilege escalation | Create a CloudFormation StackSet with a privileged execution role to provision arbitrary resources across accounts. |
CloudFormation StackSet Update with Privileged Role (CLOUDFORMATION-004)aws-cloudformation-privesc-passrole-update-stackset |
Privilege escalation | Update an existing CloudFormation StackSet to inject malicious resources using a privileged execution role. |
Cognito Identity Pool Role Assignment with Privileged Role (COGNITOIDENTITY-001)aws-cognito-privesc-passrole-set-identity-pool-roles |
Privilege escalation | Attach a privileged role to a Cognito identity pool and assume it through federated identity to gain its permissions. |
Console Login Profile Creation for Lateral Movement (IAM-004)aws-iam-privesc-create-login-profile |
Privilege escalation | Create console login profiles for other IAM users to access the AWS Console with their permissions. |
Console Password Override for Lateral Movement (IAM-006)aws-iam-privesc-update-login-profile |
Privilege escalation | Change the console password of other IAM users to log in as them and gain their permissions. |
Cross-Account Role Trust for Privilege Escalation (STS-002)aws-sts-privesc-cross-account-trust |
Privilege escalation | Roles that trust an external account's root principal can be assumed by any principal in that account, enabling confused-deputy escalation. |
EventBridge Scheduler Target with Privileged Role (SCHEDULER-001)aws-scheduler-privesc-passrole-create-schedule |
Privilege escalation | Create an EventBridge Scheduler schedule that invokes a target using a privileged role to act as that role. |
Group Membership Hijacking for Privilege Escalation (IAM-013)aws-iam-privesc-add-user-to-group |
Privilege escalation | Add yourself to a privileged IAM group to inherit its permissions, gaining access to all policies attached to the group. |
Identity Center Inline Policy Injection (SSO-003)aws-sso-privesc-put-inline-policy-permission-set |
Privilege escalation | Inject an administrative inline policy into an existing permission set assigned to the actor to gain admin access. |
Identity Center Managed Policy Attachment (SSO-002)aws-sso-privesc-attach-managed-policy-permission-set |
Privilege escalation | Attach an administrative managed policy to an existing permission set assigned to the actor to gain admin access. |
Identity Center Permission Set Escalation (SSO-001)aws-sso-privesc-permission-set-escalation |
Privilege escalation | Create an administrative Identity Center permission set and assign it to gain organization-wide admin access. |
Inline Policy Injection for Self-Escalation (IAM-005)aws-iam-privesc-put-role-policy |
Privilege escalation | Attach an inline policy with administrative permissions to your own role, instantly escalating privileges. |
Inline Policy Injection on Group for Self-Escalation (IAM-011)aws-iam-privesc-put-group-policy |
Privilege escalation | Attach an inline policy with administrative permissions to a group you belong to, escalating privileges for all group members. |
Inline Policy Injection on User for Self-Escalation (IAM-007)aws-iam-privesc-put-user-policy |
Privilege escalation | Attach an inline policy with administrative permissions to your own IAM user, instantly escalating privileges. |
Inline Policy Injection with Access Key Creation for Lateral Movement (IAM-018)aws-iam-privesc-put-user-policy-create-access-key |
Privilege escalation | Attach an inline policy with administrative permissions to another IAM user and create access keys for them to gain programmatic access with elevated privileges. |
Inline Policy Injection with Role Assumption for Lateral Movement (IAM-017)aws-iam-privesc-put-role-policy-assume-role |
Privilege escalation | Attach an inline policy with administrative permissions to another role you can assume, then assume it to gain elevated privileges. |
Inline Policy Injection with Trust Policy Hijacking for Privilege Escalation (IAM-021)aws-iam-privesc-put-role-policy-update-assume-role |
Privilege escalation | Add an inline policy with administrative permissions to a role and modify its trust policy to allow yourself to assume it, gaining elevated privileges without prior assume-role access. |
Managed Policy Attachment on Group for Self-Escalation (IAM-010)aws-iam-privesc-attach-group-policy |
Privilege escalation | Attach existing managed policies with administrative permissions to a group you belong to, escalating privileges for all group members. |
Managed Policy Attachment on Role for Self-Escalation (IAM-009)aws-iam-privesc-attach-role-policy |
Privilege escalation | Attach existing managed policies with administrative permissions to your own IAM role, instantly escalating privileges. |
Managed Policy Attachment on User for Self-Escalation (IAM-008)aws-iam-privesc-attach-user-policy |
Privilege escalation | Attach existing managed policies with administrative permissions to your own IAM user, instantly escalating privileges. |
Managed Policy Attachment with Access Key Creation for Lateral Movement (IAM-015)aws-iam-privesc-attach-user-policy-create-access-key |
Privilege escalation | Attach administrative managed policies to another IAM user and create access keys for them to gain programmatic access with elevated privileges. |
Managed Policy Attachment with Role Assumption for Lateral Movement (IAM-014)aws-iam-privesc-attach-role-policy-assume-role |
Privilege escalation | Attach administrative managed policies to another role you can assume, then assume it to gain elevated privileges. |
Managed Policy Attachment with Trust Policy Hijacking for Privilege Escalation (IAM-019)aws-iam-privesc-attach-role-policy-update-assume-role |
Privilege escalation | Attach administrative managed policies to a role and modify its trust policy to allow yourself to assume it, gaining elevated privileges without prior assume-role access. |
Permissions Boundary Removal for Self-Escalation (IAM-022)aws-iam-privesc-delete-user-permissions-boundary |
Privilege escalation | IAM users that can remove their own permissions boundary, if one is attached. |
Policy Version Override for Self-Escalation (IAM-001)aws-iam-privesc-create-policy-version |
Privilege escalation | Create a new version of an attached policy with administrative permissions, instantly escalating the principal's own privileges. |
Policy Version Override with Role Assumption for Lateral Movement (IAM-016)aws-iam-privesc-create-policy-version-assume-role |
Privilege escalation | Create a new version of a customer-managed policy attached to another role with administrative permissions, then assume that role to gain elevated access. |
Policy Version Override with Trust Policy Hijacking for Privilege Escalation (IAM-020)aws-iam-privesc-create-policy-version-update-assume-role |
Privilege escalation | Create a new version of a customer-managed policy attached to a role with administrative permissions and modify its trust policy to assume it, without prior assume-role access. |
Potential Wildcard Role Trust (STS-003)aws-sts-privesc-wildcard-trust |
Privilege escalation | Potential wildcard role trusts that need manual review before they are treated as assumable. |
Role Assumption for Privilege Escalation (STS-001)aws-sts-privesc-assume-role |
Privilege escalation | Assume IAM roles with elevated permissions by exploiting bidirectional trust between the starting principal and the target role. |
Role Permissions Boundary Removal with Role Assumption (IAM-023)aws-iam-privesc-delete-role-boundary-assume-role |
Privilege escalation | Delete an assumable role's permissions boundary to unlock its full permissions, then assume it. |
Step Functions Existing State Machine Update (STEPFUNCTIONS-002)aws-stepfunctions-privesc-update-state-machine |
Privilege escalation | Update an existing Step Functions state machine and execute it to make API calls as its privileged role. |
Step Functions State Machine with Privileged Role (STEPFUNCTIONS-001)aws-stepfunctions-privesc-passrole-create-state-machine |
Privilege escalation | Create and execute a Step Functions state machine with a privileged role to make API calls as that role. |
Trust Policy Hijacking for Role Assumption (IAM-012)aws-iam-privesc-update-assume-role-policy |
Privilege escalation | Modify a role's trust policy to allow yourself to assume it, gaining the role's permissions. |
Amazon Braket Job Creation with Privileged Role (BRAKET-001)aws-braket-privesc-passrole-create-job |
Code execution | Create an Amazon Braket hybrid job with a privileged execution role to run arbitrary code as that role. |
App Runner Service Creation with Privileged Role (APPRUNNER-001)aws-apprunner-privesc-passrole-create-service |
Code execution | Create an App Runner service with a privileged IAM role to gain its permissions. |
App Runner Service Update for Role Access (APPRUNNER-002)aws-apprunner-privesc-update-service |
Code execution | Update an existing App Runner service to leverage its already-attached privileged role. |
AWS Batch Existing Job Definition Submission (BATCH-002)aws-batch-privesc-submit-existing-job |
Code execution | Submit an existing AWS Batch job definition bound to a privileged job role to run commands as that role. |
AWS Batch Job Submission with Privileged Role (BATCH-001)aws-batch-privesc-passrole-submit-job |
Code execution | Register and submit an AWS Batch job that runs with a privileged job-role to gain that role's permissions. |
Bedrock Code Interpreter Session Hijacking (BEDROCK-002)aws-bedrock-privesc-invoke-code-interpreter |
Code execution | Start a session on an existing Bedrock code interpreter to exfiltrate its privileged role credentials. |
Bedrock Code Interpreter with Privileged Role (BEDROCK-001)aws-bedrock-privesc-passrole-code-interpreter |
Code execution | Create a Bedrock AgentCore Code Interpreter with a privileged role attached. |
CodeBuild Batch Buildspec Override for Role Access (CODEBUILD-003)aws-codebuild-privesc-start-build-batch |
Code execution | Start a batch build on an existing CodeBuild project with a buildspec override to execute code with its privileged role. |
CodeBuild Batch Project Creation with Privileged Role (CODEBUILD-004)aws-codebuild-privesc-passrole-create-project-batch |
Code execution | Create a CodeBuild project configured for batch builds with a privileged role to execute arbitrary code via a malicious buildspec. |
CodeBuild Buildspec Override for Role Access (CODEBUILD-002)aws-codebuild-privesc-start-build |
Code execution | Start a build on an existing CodeBuild project with a buildspec override to execute code with its privileged role. |
CodeBuild Project Creation with Privileged Role (CODEBUILD-001)aws-codebuild-privesc-passrole-create-project |
Code execution | Create a CodeBuild project with a privileged role to execute arbitrary code via a malicious buildspec. |
CodeDeploy Deployment with Existing Instance Role (CODEDEPLOY-001)aws-codedeploy-privesc-create-deployment |
Code execution | Create a CodeDeploy deployment on an existing application to run lifecycle hooks with the target instances' privileged EC2 role. |
Data Pipeline Creation with Privileged Role (DATAPIPELINE-001)aws-datapipeline-privesc-passrole-create-pipeline |
Code execution | Create a Data Pipeline with a privileged role to execute arbitrary commands on provisioned infrastructure. |
EC2 Image Builder Pipeline with Privileged Role (IMAGEBUILDER-001)aws-imagebuilder-privesc-passrole-create-image |
Code execution | Build an EC2 Image Builder image whose infrastructure instance profile is a privileged role to run arbitrary code as that role. |
EC2 Instance Connect SSH Access for Role Credentials (EC2INSTANCECONNECT-003)aws-ec2instanceconnect-privesc-send-ssh-public-key |
Code execution | Push a temporary SSH key to an EC2 instance via Instance Connect to access its attached role credentials through IMDS. |
EC2 Instance Launch with Privileged Role (EC2-001)aws-ec2-privesc-passrole-iam |
Code execution | Launch EC2 instances with privileged IAM roles to gain their permissions via IMDS. |
EC2 Role Hijacking via UserData Injection (EC2-002)aws-ec2-privesc-modify-instance-attribute |
Code execution | Inject malicious scripts into EC2 instance userData to gain the attached role's permissions. |
ECS Exec Container Hijacking for Role Credentials (ECS-006)aws-ecs-privesc-execute-command |
Code execution | Shell into a running ECS container via ECS Exec to steal the attached task role's credentials. |
ECS Existing Task Launch with Privileged Role (ECS-009)aws-ecs-privesc-passrole-start-existing-task |
Code execution | Start an existing ECS task definition that has a privileged task role to run arbitrary commands as that role. |
ECS Service Creation with Privileged Role (ECS-001 - New Cluster)aws-ecs-privesc-passrole-create-service |
Code execution | Create an ECS cluster and service with a privileged Fargate task role to execute arbitrary code. |
ECS Service Creation with Privileged Role (ECS-003 - Existing Cluster)aws-ecs-privesc-passrole-create-service-existing-cluster |
Code execution | Deploy a Fargate service with a privileged role on an existing ECS cluster. |
ECS Task Execution with Privileged Role (ECS-002 - New Cluster)aws-ecs-privesc-passrole-run-task |
Code execution | Create an ECS cluster and run a one-off Fargate task with a privileged role to execute arbitrary code. |
ECS Task Execution with Privileged Role (ECS-004 - Existing Cluster)aws-ecs-privesc-passrole-run-task-existing-cluster |
Code execution | Run a one-off Fargate task with a privileged role on an existing ECS cluster. |
ECS Task Start with Privileged Role on EC2 (ECS-005 - Existing Cluster)aws-ecs-privesc-passrole-start-task-existing-cluster |
Code execution | Register a task definition with a privileged role and start it on an EC2 container instance to execute arbitrary code. |
EMR Cluster Launch with Privileged Role (EMR-001)aws-emr-privesc-passrole-run-job-flow |
Code execution | Launch an EMR cluster with a privileged EC2 instance (JobFlow) role to execute steps that use that role's permissions. |
EMR Serverless Job Execution with Privileged Role (EMRSERVERLESS-001)aws-emrserverless-privesc-passrole-start-job |
Code execution | Create an EMR Serverless application and run a job with a privileged runtime role to gain its permissions. |
GameLift Fleet Creation with Privileged Role (GAMELIFT-001)aws-gamelift-privesc-passrole-create-fleet |
Code execution | Create a GameLift build and fleet with a privileged instance role to run arbitrary code as that role. |
Glue Dev Endpoint SSH Hijacking via Update (GLUE-002)aws-glue-privesc-update-dev-endpoint |
Code execution | Update an existing Glue development endpoint to inject an SSH public key and access its attached role credentials. |
Glue Dev Endpoint with Privileged Role (GLUE-001)aws-glue-privesc-passrole-dev-endpoint |
Code execution | Create a Glue development endpoint with a privileged role attached to gain its permissions. |
Glue Interactive Session with Privileged Role (GLUE-007)aws-glue-privesc-passrole-create-session |
Code execution | Create a Glue interactive session with a privileged role and run statements that execute as that role. |
Glue Job Creation with Privileged Role (GLUE-003)aws-glue-privesc-passrole-create-job |
Code execution | Create a Glue job with a privileged role and start it to execute arbitrary code with that role's permissions. |
Glue Job Creation with Scheduled Trigger and Privileged Role (GLUE-004)aws-glue-privesc-passrole-create-job-trigger |
Code execution | Create a Glue job with a privileged role and a scheduled trigger to persistently execute arbitrary code. |
Glue Job Hijacking via Update with Privileged Role (GLUE-005)aws-glue-privesc-passrole-update-job |
Code execution | Update an existing Glue job to attach a privileged role and inject malicious code, then start it to gain that role's permissions. |
Glue Job Hijacking with Scheduled Trigger and Privileged Role (GLUE-006)aws-glue-privesc-passrole-update-job-trigger |
Code execution | Update an existing Glue job to attach a privileged role and inject malicious code, then create a scheduled trigger for persistent automated execution. |
HealthOmics Workflow Run with Privileged Role (OMICS-001)aws-omics-privesc-passrole-start-run |
Code execution | Create and start an AWS HealthOmics workflow run with a privileged role to execute as that role. |
Kinesis Data Analytics Application with Privileged Role (KINESISANALYTICS-001)aws-kinesisanalytics-privesc-passrole-create-application |
Code execution | Create and start a Kinesis Data Analytics application with a privileged role to run code as that role. |
Lambda Function Code Injection (LAMBDA-003)aws-lambda-privesc-update-function-code |
Code execution | Modify the code of an existing Lambda function to execute arbitrary commands with the function's execution role permissions. |
Lambda Function Code Injection with Direct Invocation (LAMBDA-004)aws-lambda-privesc-update-function-code-invoke |
Code execution | Modify the code of an existing Lambda function and invoke it directly to execute arbitrary commands with the function's execution role permissions. |
Lambda Function Code Injection with Resource Policy Grant (LAMBDA-005)aws-lambda-privesc-update-function-code-add-permission |
Code execution | Modify the code of an existing Lambda function and grant yourself invocation permission via its resource-based policy to execute code with the function's execution role. |
Lambda Function Creation with Event Source Trigger (LAMBDA-002)aws-lambda-privesc-passrole-create-function-event-source |
Code execution | Create a Lambda function with a privileged IAM role and an event source mapping to trigger it automatically, executing code with the role's permissions. |
Lambda Function Creation with Privileged Role (LAMBDA-001)aws-lambda-privesc-passrole-create-function |
Code execution | Create a Lambda function with a privileged IAM role and invoke it to execute code with that role's permissions. |
Lambda Function Creation with Resource Policy Invocation (LAMBDA-006)aws-lambda-privesc-passrole-create-function-add-permission |
Code execution | Create a Lambda function with a privileged IAM role and grant yourself invocation permission via its resource-based policy to execute code with the role's permissions. |
Launch Template Poisoning for Role Access (EC2-004)aws-ec2-privesc-launch-template |
Code execution | Inject malicious userData into launch templates that reference privileged roles, no PassRole needed. |
SageMaker Notebook Creation with Privileged Role (SAGEMAKER-001)aws-sagemaker-privesc-passrole-create-notebook |
Code execution | Create a SageMaker notebook instance with a privileged IAM role to execute arbitrary code with the role's permissions via the Jupyter environment. |
SageMaker Notebook Lifecycle Config Injection (SAGEMAKER-005)aws-sagemaker-privesc-lifecycle-config-notebook |
Code execution | Inject a malicious lifecycle configuration into an existing SageMaker notebook to execute code with the notebook's execution role during startup. |
SageMaker Presigned Notebook URL for Privilege Escalation (SAGEMAKER-004)aws-sagemaker-privesc-presigned-notebook-url |
Code execution | Generate a presigned URL to access an existing SageMaker notebook instance and execute code with its execution role's permissions. |
SageMaker Processing Job Creation with Privileged Role (SAGEMAKER-003)aws-sagemaker-privesc-passrole-create-processing-job |
Code execution | Create a SageMaker processing job with a privileged IAM role to execute arbitrary container code with the role's permissions. |
SageMaker Training Job Creation with Privileged Role (SAGEMAKER-002)aws-sagemaker-privesc-passrole-create-training-job |
Code execution | Create a SageMaker training job with a privileged IAM role to execute arbitrary container code with the role's permissions. |
Spot Instance Launch with Privileged Role (EC2-003)aws-ec2-privesc-passrole-spot-instances |
Code execution | Launch EC2 Spot Instances with privileged IAM roles to gain their permissions via IMDS. |
SSM Automation Document with Privileged Role (SSM-003)aws-ssm-privesc-passrole-automation |
Code execution | Create and run an SSM Automation document with a privileged automation assume-role to act as that role. |
SSM Send Command for EC2 Role Credentials (SSM-002)aws-ssm-privesc-send-command |
Code execution | Execute commands on an EC2 instance via SSM Run Command to access its attached role credentials through IMDS. |
SSM Session Access for EC2 Role Credentials (SSM-001)aws-ssm-privesc-start-session |
Code execution | Start an SSM session on an EC2 instance to access its attached role credentials through IMDS. |
IAM Statements Allowing All Actionsaws-iam-statements-allow-all-actions |
Resource inventory | Find IAM policy statements that allow all actions via wildcard (*). |
IAM Statements Allowing Create Actionsaws-iam-statements-allow-create-actions |
Resource inventory | Find IAM policy statements that allow any create action. |
IAM Statements Allowing Policy Deletionaws-iam-statements-allow-delete-policy |
Resource inventory | Find IAM policy statements that allow iam:DeletePolicy. |
RDS Instances Inventoryaws-rds-instances |
Resource inventory | List all provisioned RDS database instances in the account. |
Unencrypted RDS Instancesaws-rds-unencrypted-storage |
Resource inventory | Find RDS instances with storage encryption disabled. |
Cloudflare (20 queries)¶
Root node CloudflareAccount, provider type cloudflare; plus 19 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
DNS Record Points at an Internal IPcloudflare-record-points-to-internal-ip |
Public exposure | Find public DNS records that reveal private, loopback or reserved addresses. |
DNS Records Pointing at an IPcloudflare-records-pointing-to-ip |
Public exposure | Find every DNS record that resolves to a given IP address. Parameters: ip. |
Internet-Reachable Zone With Failing Findingscloudflare-internet-zone-failing-findings |
Public exposure | Find served zones that have failing Prowler findings. |
Internet-Reachable Zone With Universal SSL Offcloudflare-zone-universal-ssl-disabled |
Public exposure | Find served zones where Universal SSL is disabled. |
Internet-Reachable Zone Without HSTS or Secure TLScloudflare-internet-zone-weak-transport |
Public exposure | Find served zones without HSTS or with a weak minimum TLS version. |
Internet-Reachable Zone Without WAFcloudflare-internet-zone-without-waf |
Public exposure | Find served zones whose WAF or OWASP managed ruleset is off. |
Mail Zone Without SPF, DMARC or CAAcloudflare-mail-zone-spoofing |
Public exposure | Find zones that receive mail but lack SPF, DMARC or CAA protection. |
Proxiable DNS Record Served Without the Proxycloudflare-proxiable-record-not-proxied |
Public exposure | Find records Cloudflare could proxy that are served DNS-only. |
Proxied Record Whose Origin Has a Direct Recordcloudflare-proxied-record-origin-bypass |
Public exposure | Find proxied hosts whose origin IP is also published by an unproxied record. |
Unproxied DNS Record Exposes the Origin IPcloudflare-unproxied-record-exposes-origin |
Public exposure | Find DNS records that publish a public origin address without the Cloudflare proxy. |
Wildcard DNS Recordscloudflare-wildcard-records |
Public exposure | Find wildcard DNS records that answer for any subdomain. |
Zone in Development Modecloudflare-zone-development-mode |
Public exposure | Find zones with Development Mode on, which bypasses the cache. |
Zone Without DNSSEC Publishing Origin Recordscloudflare-zone-without-dnssec-unproxied |
Public exposure | Find zones without DNSSEC whose unproxied records publish origins. |
Account Where No Member Uses 2FAcloudflare-account-without-2fa-members |
Privilege escalation | Find the account when none of its members has two-factor authentication. |
Administrator Without Two-Factor Authenticationcloudflare-admin-member-without-2fa |
Privilege escalation | Find administrators without 2FA and the zones they control. |
Automation Identity With Administrator Rolecloudflare-service-member-with-admin |
Privilege escalation | Find automation-looking members that hold an administrator role. |
Administrator Memberscloudflare-admin-members |
Resource inventory | List the members that hold an administrator role. |
DNS Records Inventorycloudflare-dns-records |
Resource inventory | List all DNS records of the account's zones. |
Members and Roles Inventorycloudflare-members-and-roles |
Resource inventory | List the account members and the roles they hold. |
Zones Inventorycloudflare-zones |
Resource inventory | List all zones in the account. |
Kubernetes (26 queries)¶
Root node KubernetesCluster, provider type kubernetes; plus 21 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
Ingress Routes to Podskubernetes-internet-exposed-ingresses |
Public exposure | Find ingresses and the services and pods they publish. |
Internet-Exposed Services and Their Podskubernetes-internet-exposed-services |
Public exposure | Find LoadBalancer, NodePort and ingress-backed services and the pods behind them. |
Internet-Reachable Pod That Can Run as Rootkubernetes-exposed-pod-runs-as-root |
Public exposure | Find exposed pods whose containers run as UID 0 or do not forbid it. |
Internet-Reachable Pod With a Mounted Secretkubernetes-exposed-pod-with-secret |
Public exposure | Find exposed pods that mount secrets as volumes or environment variables. |
Internet-Reachable Pod With Failing Findingskubernetes-exposed-pod-failing-findings |
Public exposure | Find exposed pods that have failing Prowler findings. |
NodePort Serviceskubernetes-nodeport-services |
Public exposure | Find services published on a port of every node. |
Secrets Reachable From the Internetkubernetes-secrets-in-exposed-pods |
Public exposure | Find secrets mounted into at least one Internet-reachable pod. |
Services With a Public Load Balancerkubernetes-public-load-balancer-services |
Public exposure | Find LoadBalancer services that received a public IP or hostname. |
Cluster Administratorskubernetes-cluster-admin-subjects |
Privilege escalation | Find users, groups and service accounts bound to cluster-admin or an equivalent ClusterRole. |
Default Service Account Token Mounted in an Exposed Namespacekubernetes-default-service-account-automount-exposed-namespace |
Privilege escalation | Find pods using the default service account with an automounted token in namespaces that serve Internet traffic. |
Internet to Pod Running as a Cluster-Admin Service Accountkubernetes-exposed-pod-cluster-admin-service-account |
Privilege escalation | Find exposed pods whose service account is bound to cluster-admin or an equivalent role. |
Internet to Pod Whose Service Account Reads Secretskubernetes-exposed-pod-service-account-reads-secrets |
Privilege escalation | Find exposed pods whose service account can get or list secrets. |
Pods Running as a Cluster-Admin Service Accountkubernetes-pod-cluster-admin-service-account |
Privilege escalation | Find every pod whose service account holds a cluster-wide admin role. |
Service Accounts With Wildcard Permissionskubernetes-service-account-wildcard-verbs |
Privilege escalation | Find service accounts bound to roles that grant * verbs or resources. |
Subjects That Can Escalate Their Privilegeskubernetes-subject-escalation-verbs |
Privilege escalation | Find users, groups and service accounts with escalate, bind, impersonate or pod create. |
Exposed Pod Sharing a Node With an Escape-Capable Podkubernetes-node-shared-by-exposed-and-escape-pods |
Code execution | Find nodes that run both an exposed pod and a pod able to escape to the node. |
Internet to Pod Sharing Host Namespaces to Nodekubernetes-exposed-pod-host-namespace-to-node |
Code execution | Find exposed pods using hostPID, hostIPC or hostNetwork, and their node. |
Internet to Privileged Pod to Nodekubernetes-exposed-privileged-pod-to-node |
Code execution | Find exposed pods that are privileged or mount sensitive host paths, and their node. |
Pods Mounting Sensitive Host Pathskubernetes-sensitive-host-path-pods |
Code execution | Find pods that mount the node's root, /etc, the container runtime socket or kubelet data. |
Pods Sharing Host Namespaceskubernetes-host-namespace-pods |
Code execution | Find pods using hostPID, hostIPC or hostNetwork and their node. |
Privileged Pods and Their Nodeskubernetes-privileged-pods |
Code execution | Find pods with a privileged container and the node they run on. |
Cluster Role Bindings Inventorykubernetes-cluster-role-bindings |
Resource inventory | List ClusterRoleBindings with their roles and subjects. |
Nodes Inventorykubernetes-nodes |
Resource inventory | List the cluster's nodes. |
Pods With Failing Findingskubernetes-pods-with-failing-findings |
Resource inventory | List pods that have failing Prowler findings. |
Services Inventorykubernetes-services |
Resource inventory | List the cluster's services and the pods they target. |
Workloads in a Namespacekubernetes-namespace-workloads |
Resource inventory | List the pods of a namespace with their service accounts and nodes. Parameters: namespace. |
GitHub (23 queries)¶
Root node GitHubOrganization, provider type github; plus 20 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
Public Repositoriesgithub-public-repositories |
Public exposure | Find repositories anyone on the Internet can read. |
Public Repository Whose Workflows Use Secretsgithub-public-repo-with-actions-secrets |
Public exposure | Find public repositories with workflows that reference Actions secrets. |
Public Repository With Failing Findingsgithub-public-repo-failing-findings |
Public exposure | Find public repositories that have failing Prowler findings. |
Public Repository Without Default Branch Protectiongithub-public-repo-without-branch-protection |
Public exposure | Find public repositories whose default branch has no protection rule or ruleset. |
Public Repository Writable by an Outside Collaboratorgithub-public-repo-outside-collaborator-write |
Public exposure | Find public repositories where a non-member has write, maintain or admin. |
App Installed With Write Access to Every Repositorygithub-app-installation-write-all-repos |
Privilege escalation | Find GitHub Apps installed on all repositories with a write permission. |
Member With Write Access Without Two-Factor Authenticationgithub-writer-without-2fa |
Privilege escalation | Find members without 2FA and the repositories they can push to. |
Organization Owner Without Two-Factor Authenticationgithub-admin-member-without-2fa |
Privilege escalation | Find organization owners whose account has 2FA disabled. |
Organization Without Required 2FA and Its Ownersgithub-org-without-mfa-requirement-admins |
Privilege escalation | Find the organization's owners when the organization does not require 2FA. |
Outside Collaborators With Write Accessgithub-outside-collaborator-write |
Privilege escalation | Find non-members with write, maintain or admin on the organization's repositories. |
Personal Access Tokens With Write Accessgithub-personal-access-token-write-access |
Privilege escalation | Find fine-grained or SSO-authorized classic tokens that can write, and their owners. |
Team With Admin on an Unprotected Repositorygithub-team-admin-unprotected-repo |
Privilege escalation | Find teams that administer repositories without default branch protection, and their members. |
Unprotected Repository With Admin Collaboratorsgithub-unprotected-repo-admin-collaborators |
Privilege escalation | Find repositories without default branch protection and the collaborators who administer them. |
Public Repository Workflow Triggered by Outsiders With Secretsgithub-public-repo-untrusted-workflow-trigger |
Code execution | Find public repositories with pull_request_target, workflow_run or issue_comment workflows that use secrets. |
Repository With Workflow Security Findings and Secretsgithub-workflow-failing-security-scan |
Code execution | Find repositories with failing workflow security scans whose workflows reference secrets. |
Secrets Reachable Through a Workflow on an Unprotected Branchgithub-secrets-via-workflow-unprotected-branch |
Code execution | Find Actions secrets used by workflows of repositories whose default branch is unprotected. |
Write-Token Workflow on an Unprotected Repositorygithub-write-token-workflow-unprotected-branch |
Code execution | Find workflows with write permissions in repositories whose default branch is unprotected. |
App Installations Inventorygithub-app-installations |
Resource inventory | List the GitHub Apps installed on the organization. |
Organization Ownersgithub-org-admins |
Resource inventory | List the organization's owners. |
Outside Collaborators Inventorygithub-outside-collaborators |
Resource inventory | List outside collaborators and the repositories they can access. |
Repositories Inventorygithub-repositories |
Resource inventory | List the organization's repositories. |
Who Can Write to a Repositorygithub-repository-access |
Resource inventory | List the collaborators, teams, tokens and workflows of a repository. Parameters: repository. |
Workflows and the Secrets They Usegithub-workflows-and-secrets |
Resource inventory | List workflows and the Actions secrets they reference. |
Azure (33 queries)¶
Root node AzureSubscription, provider type azure; plus 21 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
AKS Cluster With a Public API Serverazure-aks-public-api-server |
Public exposure | Find AKS clusters whose Kubernetes API server is reachable from the Internet. |
Blob Container Readable Anonymouslyazure-public-blob-container |
Public exposure | Find blob containers anyone on the Internet can read without credentials. |
Container Group With a Public IPazure-public-container-group |
Public exposure | Find container instance groups with a public IP address. |
Cosmos DB Account Open to the Internetazure-cosmosdb-open-to-internet |
Public exposure | Find Cosmos DB accounts with public network access and no IP or VNet filter. |
Function App Reachable From the Internetazure-internet-function-app |
Public exposure | Find running Function Apps with a public endpoint. |
Internet-Exposed VM With Failing Findingsazure-internet-vm-failing-findings |
Public exposure | Find virtual machines reachable from the Internet that have failing Prowler findings. |
Key Vault Reachable From Any Networkazure-key-vault-public-network |
Public exposure | Find Key Vaults with public network access and no network rule. |
NSG Rule Open to the Internetazure-nsg-rule-open-to-internet |
Public exposure | Find inbound NSG allow rules whose source is any address or the Internet. |
NSG Rule Opens Every Port to the Internetazure-nsg-all-ports-open |
Public exposure | Find inbound NSG rules that allow any port from any source. |
Public App Service With Failing Findingsazure-internet-app-service-failing-findings |
Public exposure | Find running App Services reachable from the Internet that have failing Prowler findings. |
Public Load Balancer Forwards to VMsazure-public-load-balancer-to-vm |
Public exposure | Find public load balancers and the VMs in their backend pools. |
SQL Server Firewall Open to the Internetazure-sql-server-open-to-internet |
Public exposure | Find SQL servers whose firewall allows every IPv4 address. |
Storage Account Allows Public Blob Accessazure-storage-public-blob-access-enabled |
Public exposure | Find storage accounts where containers may be made public. |
VM With Admin Ports Open to the Internetazure-internet-vm-admin-ports |
Public exposure | Find VMs with a public IP whose network security groups allow SSH, RDP or WinRM from anywhere. |
Custom Role That Can Grant Accessazure-custom-role-privilege-escalation |
Privilege escalation | Find identities holding a custom role that can write role assignments or definitions. |
Exposed Workload Identity Can Read Key Vault Secretsazure-exposed-identity-key-vault-access |
Privilege escalation | Find Internet-exposed workloads whose identity can read Key Vault secrets. |
Identities That Can Grant Themselves Ownerazure-access-administrator-assignments |
Privilege escalation | Find identities with User Access Administrator or RBAC Administrator. |
Internet-Exposed VM With a Privileged Managed Identityazure-internet-vm-privileged-identity |
Privilege escalation | Find exposed VMs whose managed identity holds Owner, Contributor or an escalation role. |
Public AKS Cluster With Privileged Node or Cluster Identityazure-aks-public-privileged-identity |
Privilege escalation | Find public AKS clusters whose kubelet or cluster identity holds a privileged role. |
Public App or Function With a Privileged Managed Identityazure-internet-app-privileged-identity |
Privilege escalation | Find public App Services and Function Apps whose identity holds a privileged role. |
Role Assignments Spanning Subscriptionsazure-cross-subscription-role-assignments |
Privilege escalation | Find role assignments inherited from a management group, the tenant root or another subscription. |
VM With Failing Findings Can Reach a Databaseazure-vm-failing-finding-reaches-database |
Privilege escalation | Find VMs with failing findings that can connect to a SQL server or Cosmos DB account. |
Workload Identity Is Subscription Ownerazure-managed-identity-subscription-owner |
Privilege escalation | Find VMs, apps and clusters whose managed identity is Owner of the subscription. |
Exposed VM Identity Can Run Commands on VMsazure-internet-vm-identity-run-command |
Code execution | Find exposed VMs whose identity can run commands on virtual machines. |
VM With Open Admin Ports and Failing Findingsazure-internet-vm-admin-port-failing-findings |
Code execution | Find VMs with SSH, RDP or WinRM open to the Internet that also have failing findings. |
AKS Clusters Inventoryazure-aks-clusters |
Resource inventory | List AKS clusters and their node pools. |
Key Vaults and Secret Readersazure-key-vaults |
Resource inventory | List Key Vaults and the identities that can read their secrets. |
Managed Identitiesazure-managed-identities |
Resource inventory | List workloads and the managed identities they run as. |
Network Security Groups Inventoryazure-network-security-groups |
Resource inventory | List network security groups and their rules. |
Privileged Role Assignmentsazure-privileged-role-assignments |
Resource inventory | List assignments of Owner, Contributor, access administrator and escalation roles. |
Storage Accounts Inventoryazure-storage-accounts |
Resource inventory | List storage accounts and their blob containers. |
Subscription Ownersazure-subscription-owners |
Resource inventory | List the identities with Owner at the subscription or above. |
Virtual Machines Inventoryazure-virtual-machines |
Resource inventory | List the subscription's VMs with their network interfaces and public IPs. |
Google Cloud (32 queries)¶
Root node GCPProject, provider type gcp; plus 21 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
Bucket Readable by Anyonegcp-public-bucket |
Public exposure | Find Cloud Storage buckets open to allUsers or allAuthenticatedUsers. |
Cloud Function Invokable by Anyonegcp-cloud-function-public-invoker |
Public exposure | Find HTTP Cloud Functions that allUsers can invoke. |
Cloud Run Service Invokable by Anyonegcp-cloud-run-public-invoker |
Public exposure | Find Cloud Run services that allUsers can invoke from the Internet. |
Cloud SQL Instance With a Public IPgcp-cloud-sql-public-ip |
Public exposure | Find Cloud SQL instances with a public IPv4 address. |
Cloud SQL Open to 0.0.0.0/0gcp-cloud-sql-open-authorized-network |
Public exposure | Find Cloud SQL instances whose authorized networks include 0.0.0.0/0. |
External Load Balancer Frontendsgcp-external-forwarding-rules |
Public exposure | Find forwarding rules of external load balancers. |
Firewall Rule Open to the Internetgcp-firewall-open-to-internet |
Public exposure | Find ingress firewall rules that allow traffic from 0.0.0.0/0. |
GKE Cluster With a Public Endpointgcp-gke-public-endpoint |
Public exposure | Find GKE clusters whose control plane has a public endpoint. |
IAM Bindings to allUsers or allAuthenticatedUsersgcp-public-policy-bindings |
Public exposure | Find IAM policy bindings that grant a role to everyone. |
Instance With Admin Ports Open to the Internetgcp-internet-instance-admin-ports |
Public exposure | Find instances with an external IP that a firewall opens to SSH, RDP or WinRM from anywhere. |
Internet-Exposed Instance With Failing Findingsgcp-internet-instance-failing-findings |
Public exposure | Find Compute Engine instances with an external IP that have failing Prowler findings. |
Cross-Project IAM Bindingsgcp-cross-project-bindings |
Privilege escalation | Find bindings inherited from the organization or a folder, or granted to other projects' service accounts. |
Custom Role With Escalation Permissionsgcp-custom-role-privilege-escalation |
Privilege escalation | Find principals granted a custom role that can set IAM policies or act as service accounts. |
Exposed Workload Can Read Secret Manager Secretsgcp-exposed-workload-secret-access |
Privilege escalation | Find Internet-exposed workloads whose service account can read secrets. |
Instance Uses the Default Service Account With Full API Accessgcp-instance-default-sa-full-scope |
Privilege escalation | Find instances running as the Compute default service account with the cloud-platform scope. |
Instance With Failing Findings Can Reach Cloud SQLgcp-instance-failing-finding-reaches-cloud-sql |
Privilege escalation | Find instances with failing findings that can connect to a Cloud SQL instance. |
Internet-Exposed Instance Runs as a Privileged Service Accountgcp-internet-instance-privileged-sa |
Privilege escalation | Find exposed instances whose service account holds Owner, Editor or an IAM admin role. |
Principals Who Can Impersonate Every Service Accountgcp-service-account-impersonation |
Privilege escalation | Find principals with Token Creator, Service Account User or key admin roles at project level. |
Privileged Service Account With User-Managed Keysgcp-privileged-sa-user-managed-keys |
Privilege escalation | Find privileged service accounts that have active user-managed keys. |
Public GKE Cluster With a Privileged Node Service Accountgcp-gke-public-privileged-node-sa |
Privilege escalation | Find public GKE clusters whose node pools run as a privileged service account. |
Public Serverless Workload Runs as a Privileged Service Accountgcp-public-workload-privileged-sa |
Privilege escalation | Find public Cloud Run services and Cloud Functions running as a privileged service account. |
Exposed Instance Can Run Code on Every Instancegcp-internet-instance-sa-compute-admin |
Code execution | Find exposed instances whose service account can change instance metadata project-wide. |
Exposed Instance With Interactive Serial Consolegcp-internet-instance-serial-port |
Code execution | Find instances with an external IP that enable the interactive serial port. |
Instance With Open Admin Ports and Failing Findingsgcp-internet-instance-admin-port-failing-findings |
Code execution | Find instances with SSH, RDP or WinRM open to the Internet that also have failing findings. |
Buckets Inventorygcp-buckets |
Resource inventory | List Cloud Storage buckets and the bindings that apply to them. |
Cloud SQL Instances Inventorygcp-cloud-sql-instances |
Resource inventory | List Cloud SQL instances with their authorized networks. |
Compute Instances Inventorygcp-compute-instances |
Resource inventory | List instances with their network interfaces and service accounts. |
Firewall Rules Inventorygcp-firewall-rules |
Resource inventory | List VPC firewall rules with their IP rules and ranges. |
GKE Clusters Inventorygcp-gke-clusters |
Resource inventory | List GKE clusters and their node service accounts. |
Privileged IAM Bindingsgcp-privileged-bindings |
Resource inventory | List bindings of Owner, Editor, IAM admin and escalation roles. |
Project Ownersgcp-project-owners |
Resource inventory | List the principals with the Owner role on the project, its folders or organization. |
Service Accounts and Keys Inventorygcp-service-accounts-and-keys |
Resource inventory | List service accounts and their user-managed keys. |
Fly.io (27 queries)¶
Root node FlyioOrganization, provider type flyio; plus 20 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
Exposed App with an Expiring Certificateflyio-exposed-app-expiring-certificate |
Public exposure | Find internet-exposed apps whose custom-domain certificate expired or expires soon. |
Exposed App with Failing Findingsflyio-exposed-app-failing-findings |
Public exposure | Find internet-exposed apps that have failing Prowler findings. |
Exposed App with Secrets in Plain Environmentflyio-exposed-app-plain-secrets |
Public exposure | Find internet-exposed apps that set secret-like variables in plain env. |
Exposed App without Health Checksflyio-exposed-app-without-health-checks |
Public exposure | Find internet-exposed apps whose machines have no health checks. |
Exposed App without Redundancyflyio-exposed-single-machine-app |
Public exposure | Find internet-exposed apps that run a single machine in a process group. |
Exposed Machine Mounts an Unencrypted Volumeflyio-exposed-machine-unencrypted-volume |
Public exposure | Find internet-exposed machines that mount a volume without encryption at rest. |
Exposed Machines on an Outdated Managed Imageflyio-exposed-outdated-managed-image |
Public exposure | Find internet-exposed machines whose Fly-managed image has an upgrade available. |
Exposed Machines Serving Plain HTTPflyio-exposed-plain-http |
Public exposure | Find internet-exposed machines that serve HTTP without TLS or a forced redirect. |
Internet-Exposed Appsflyio-internet-exposed-apps |
Public exposure | Find apps that publish services on a public IP address. |
Internet-Exposed Machinesflyio-internet-exposed-machines |
Public exposure | Find machines the Internet reaches through their app's public services. |
Sensitive Port Exposed to the Internetflyio-exposed-sensitive-port |
Public exposure | Find exposed machines that publish SSH, database or admin ports. |
Sensitive Port to an Unencrypted Volumeflyio-exposed-sensitive-port-unencrypted-volume |
Public exposure | Find exposed machines with a sensitive port that mount an unencrypted volume. |
Admin Members Control Exposed Appsflyio-admin-members-to-exposed-apps |
Privilege escalation | Find organization admins and the internet-exposed apps they control. |
Long-Lived Access Tokensflyio-long-lived-tokens |
Privilege escalation | Find active access tokens that never expire or outlive the lifetime limit. |
Long-Lived Deploy Token to Its Appflyio-long-lived-deploy-token-to-app |
Privilege escalation | Find long-lived app deploy tokens and the app they deploy. |
Long-Lived Organization Token Reaches Every Appflyio-long-lived-org-token-to-apps |
Privilege escalation | Find long-lived or non-expiring organization-wide tokens and the apps they reach. |
Organization with Too Many Adminsflyio-too-many-admins |
Privilege escalation | Find the admins of an organization that fails the admin limit. |
Admins Can Open a Console on Machines with Volumesflyio-admin-console-to-volumes |
Code execution | Find admins and the machines with mounted volumes they can open a shell on. |
Deploy Token Reads App Secretsflyio-deploy-token-to-app-secrets |
Code execution | Find long-lived deploy tokens whose app holds Fly secrets. |
Long-Lived Token Can Deploy to Exposed Machinesflyio-org-token-deploys-exposed-machines |
Code execution | Find long-lived organization tokens that can run code on internet-exposed machines. |
Access Tokens Inventoryflyio-tokens |
Resource inventory | List the organization's active access tokens. |
Apps Inventoryflyio-apps |
Resource inventory | List the organization's apps and their machines. |
Certificates Inventoryflyio-certificates |
Resource inventory | List the custom-domain certificates of every app. |
IP Addresses Inventoryflyio-ip-addresses |
Resource inventory | List the IP addresses allocated to every app. |
Machines Inventoryflyio-machines |
Resource inventory | List every machine with its app. |
Members Inventoryflyio-members |
Resource inventory | List the organization's members and their roles. |
Volumes Inventoryflyio-volumes |
Resource inventory | List every volume with its app and the machine that mounts it. |
Okta (24 queries)¶
Root node OktaOrganization, provider type okta; plus 19 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
Active Users Without MFAokta-active-users-without-mfa |
Public exposure | Find active users whose factors were read and none is active. |
API Token Usable From Any Networkokta-api-token-any-network |
Public exposure | Find API tokens not restricted to a network zone, held by admins. |
App for Everyone Federates to a Cloudokta-everyone-app-federates-to-cloud |
Public exposure | Find apps assigned to the Everyone group that sign into a cloud provider. |
App for Everyone Reaches a Graphed Cloudokta-everyone-app-federates-to-graphed-cloud |
Public exposure | Find SSO apps open to every user that sign into a cloud account graphed in this tenant. |
Apps Assigned to Everyoneokta-apps-assigned-to-everyone |
Public exposure | Find active apps assigned to the built-in Everyone group. |
Apps With Failing Findings and Their Adminsokta-apps-failing-findings |
Public exposure | Find applications with failing Prowler findings and the admins assigned to them. |
Admin Assigned to a Cloud Federation Appokta-admin-federated-cloud-app |
Privilege escalation | Find administrators who are assigned to an app that signs into AWS, Azure, Google Cloud or GitHub. |
Admin Role Through Group Membershipokta-admin-via-group-membership |
Privilege escalation | Find users who are administrators because a group they belong to holds an admin role. |
API Token Held by a Privileged Adminokta-api-token-privileged-owner |
Privilege escalation | Find API tokens created by Super, Org or App Administrators. |
Group Granting Super Administratorokta-group-grants-super-admin |
Privilege escalation | Find groups that hold the Super Administrator role, with their members. |
Okta Admin Without MFA Is a Cloud Adminokta-admin-without-mfa-same-person-cloud-admin |
Privilege escalation | Find Okta administrators without MFA whose AWS, Azure, Google Cloud or GitHub account is privileged. |
Okta User Without MFA Is a Cloud Adminokta-user-without-mfa-same-person-cloud-admin |
Privilege escalation | Find Okta users without MFA whose account in another provider is privileged. |
Person With a Privileged Cloud Accountokta-same-person-privileged-cloud-account |
Privilege escalation | Find Okta users whose AWS, Azure, Google Cloud or GitHub account is privileged. |
Privileged Admin Without MFAokta-admin-without-mfa |
Privilege escalation | Find Super, Org or App Administrators with no active MFA factor. |
Service Account With an Admin Roleokta-service-like-admin |
Privilege escalation | Find automation-looking accounts (svc, api, bot, integration...) holding an admin role. |
Stale Administratorokta-stale-admin |
Privilege escalation | Find administrators who have not signed in for 90 days. |
Super Admin Without MFAokta-super-admin-without-mfa |
Privilege escalation | Find Super Administrators with no active MFA factor. |
Suspended or Deprovisioned User Keeps an Admin Roleokta-inactive-admin-keeps-role |
Privilege escalation | Find users that are not active but still hold an admin role. |
User Without MFA Reaches a Cloud Federation Appokta-user-without-mfa-federated-cloud-app |
Privilege escalation | Find users with no active MFA factor assigned to an app federating to a cloud provider. |
Admin Role Holdersokta-admin-role-holders |
Resource inventory | List every user and group holding an Okta admin role. |
API Tokensokta-api-tokens |
Resource inventory | List API tokens and the users who created them. |
Applications and Assignmentsokta-applications |
Resource inventory | List active applications with their assigned groups. |
Cloud Federation Appsokta-federated-apps |
Resource inventory | List SSO apps that sign into AWS, Azure, Google Cloud or GitHub. |
Linked Cloud Accountsokta-linked-cloud-accounts |
Resource inventory | List Okta users and their accounts in the tenant's other graphs. |
Microsoft 365 (25 queries)¶
Root node EntraTenant, provider type m365; plus 19 shared Detection & Response queries.
| Query | Outcome | Description |
|---|---|---|
App for Everyone Reaches a Graphed Cloudm365-everyone-app-federates-to-graphed-cloud |
Public exposure | Find SSO apps open to every user that sign into a cloud account graphed in this tenant. |
Tenant-Wide Consent to Mail or Filesm365-tenant-wide-consent-mail-files |
Public exposure | Find apps consented for all users to read mail, files or sites. |
User Consent to Mail or Filesm365-user-consent-mail-files |
Public exposure | Find apps users consented to read their mail or files. |
Admins in a Tenant Without an MFA Policym365-admins-without-mfa-policy |
Privilege escalation | Find privileged users in a tenant with no enabled conditional access policy requiring MFA. |
App Can Grant Itself Any Rolem365-sp-tenant-takeover-permission |
Privilege escalation | Find service principals holding a permission that grants roles or app permissions. |
App in a Privileged Directory Role With a Credentialm365-sp-privileged-role-with-credential |
Privilege escalation | Find service principals with a secret or certificate holding a privileged directory role. |
App With a Credential and a High Graph Permissionm365-sp-credential-high-graph-permission |
Privilege escalation | Find service principals with a secret or certificate holding a high-risk application permission. |
Entra Admin Without MFA Is a Cloud Adminm365-admin-without-mfa-same-person-cloud-admin |
Privilege escalation | Find Entra administrators without MFA whose AWS, Azure, Google Cloud or GitHub account is privileged. |
Entra User Without MFA Is a Cloud Adminm365-user-without-mfa-same-person-cloud-admin |
Privilege escalation | Find Entra users without MFA whose account in another provider is privileged. |
Global Administrator Without MFAm365-global-admin-without-mfa |
Privilege escalation | Find Global Administrators without MFA (registration report or failing Prowler MFA finding). |
Guest in a Privileged Rolem365-guest-in-privileged-role |
Privilege escalation | Find guest (B2B) users holding a privileged directory role. |
Owner of a Privileged Groupm365-privileged-group-owner |
Privilege escalation | Find users and apps that own a group holding a privileged directory role. |
Person With a Privileged Cloud Accountm365-same-person-privileged-cloud-account |
Privilege escalation | Find Entra users whose AWS, Azure, Google Cloud or GitHub account is privileged. |
Privileged Admin Without MFAm365-privileged-user-without-mfa |
Privilege escalation | Find users in privileged directory roles without MFA. |
Privileged App Credential Expired or Expiringm365-privileged-sp-credential-expired-or-expiring |
Privilege escalation | Find privileged service principals with an expired credential or one expiring within 30 days. |
Privileged Group Owned by a Guestm365-role-assignable-group-external-owner |
Privilege escalation | Find role-assignable groups holding a privileged role whose owner is a guest. |
Stale Privileged Userm365-stale-privileged-user |
Privilege escalation | Find users in privileged roles with no sign-in for 90 days. |
Third-Party App With a High Permissionm365-third-party-app-high-permission |
Privilege escalation | Find apps owned by another tenant holding a high-risk permission or consent. |
Application Permissionsm365-app-permissions |
Resource inventory | List service principals and the application permissions they hold. |
Cloud Federation Appsm365-federated-apps |
Resource inventory | List enterprise apps that sign into AWS, Google Cloud or GitHub. |
Global Administratorsm365-global-admins |
Resource inventory | List every principal holding Global Administrator. |
Guest Users and Their Groupsm365-guest-users |
Resource inventory | List guest (B2B) users and the groups they belong to. |
Linked Cloud Accountsm365-linked-cloud-accounts |
Resource inventory | List Entra users and their accounts in the tenant's other graphs. |
OAuth2 Consentsm365-oauth-consents |
Resource inventory | List delegated permission grants and the apps they were given to. |
Privileged Role Assignmentsm365-privileged-role-assignments |
Resource inventory | List privileged directory role assignments and their principals. |
Shared Detection & Response queries (21 kinds)¶
Registered for every provider as <provider>-xdr-<kind> and tagged
Detection & Response in the query selector. They read the detection and
response layer (incidents, alerts, assets, indicators, attackers and risk
on the provider's graph; see
cnap/README.md, "The XDR layer").
| Query | Outcome | Description | Providers |
|---|---|---|---|
Exposed Resource With an Open Incident and a Failing Finding<provider>-xdr-exposed-incident-failing-finding |
Public exposure | Find Internet-exposed resources with an open incident and a failing Prowler finding. | all |
Exposed Resource With an Open Incident<provider>-xdr-exposed-open-incident |
Public exposure | Find Internet-exposed resources with an open incident. | all |
Exposed Resource With a Recent Alert<provider>-xdr-exposed-open-alert |
Public exposure | Find Internet-exposed resources with an open alert of the last 30 days. | all |
Attacker IP on an Exposed Resource<provider>-xdr-attacker-exposed-resource |
Public exposure | Find Internet-exposed resources targeted by an attacker IP (active indicator or open alert). | all |
Indicator Sighted on an Exposed Resource<provider>-xdr-indicator-on-exposed-resource |
Public exposure | Find active threat intel indicators sighted on resources the Internet reaches. | all |
Critical Asset on an Attack Path<provider>-xdr-critical-asset-exposure-path |
Public exposure | Find high or critical assets the Internet reaches directly or within two hops. | all |
Incident Chain Across Connected Resources<provider>-xdr-incident-chain |
Privilege escalation | Find open incidents on two resources connected by a path of up to three hops. | all |
High-Risk Resource Exposed to the Internet<provider>-xdr-high-risk-exposed |
Public exposure | Find Internet-exposed resources whose risk score reaches a threshold. Parameters: min_risk. |
all |
Resources Above a Risk Score<provider>-xdr-high-risk-resources |
Resource inventory | List resources whose risk score reaches a threshold. Parameters: min_risk. |
all |
Resources With Open Incidents<provider>-xdr-assets-open-incidents |
Resource inventory | List the resources open incidents affect. | all |
Critical Asset With an Open Incident<provider>-xdr-critical-asset-open-incident |
Resource inventory | Find high or critical assets with an open incident. | all |
Alerted Resource With a Critical Finding<provider>-xdr-alerted-resource-failing-finding |
Resource inventory | Find resources with an open alert and a failing critical or high finding. | all |
Indicators Sighted on Resources<provider>-xdr-indicator-sightings |
Resource inventory | List active threat intel indicators sighted on this graph's resources. | all |
Attacker IPs and Their Targets<provider>-xdr-attacker-targets |
Resource inventory | List attacker IPs and the resources they target. | all |
Privileged Identity With an Open Incident<provider>-xdr-privileged-identity-open-incident |
Privilege escalation | Find privileged identities an open incident affects. | all |
Privileged Identity With a Recent Alert<provider>-xdr-privileged-identity-recent-alert |
Privilege escalation | Find privileged identities with an open alert of the last 30 days. | all |
Attack Paths of an Incident<provider>-xdr-incident-paths |
Resource inventory | Show the resources an incident affects, their exposure and what they reach. Parameters: incident_id. |
all |
Attack Paths of an Asset<provider>-xdr-asset-paths |
Resource inventory | Show the resource a host or identity is, its exposure and what it reaches. Parameters: asset_id. |
all |
Attack Paths of an Indicator<provider>-xdr-indicator-paths |
Resource inventory | Show the resources a threat intel indicator was sighted on, their exposure and what they reach. Parameters: indicator_id. |
all |
Privileged Identity With an Alert Reaches a Sensitive Store<provider>-xdr-privileged-identity-alert-sensitive-store |
Privilege escalation | Find privileged identities with a recent alert that can reach the provider's sensitive stores (S3 and Secrets Manager, Key Vault, Secret Manager, Kubernetes and Actions secrets, Fly.io volumes). | AWS, Kubernetes, GitHub, Azure, Google Cloud, Fly.io |
Attacker IP on an Exposed Host That Can Escalate<provider>-xdr-attacker-exposed-host-escalation |
Privilege escalation | Find exposed resources an attacker IP targets that hold an identity: an assumable IAM role, a managed identity, a service account. | AWS, Kubernetes, Azure, Google Cloud |