> For the complete documentation index, see [llms.txt](https://books.spartan-cybersec.com/cpna/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://books.spartan-cybersec.com/cpna/tecnicas-ofensivas-contra-ec2/vectores-de-escalacion-de-privilegios.md).

# Vectores de escalacion de privilegios

Bienvenidos al módulo dedicado a explorar y comprender los vectores de escalación de privilegios en Amazon EC2, enfocándonos específicamente en el uso y riesgos asociados con el privilegio `iam:PassRole`. Este módulo está diseñado para pentesters, auditores de seguridad, y profesionales de la ciberseguridad que buscan profundizar su conocimiento sobre las sutilezas de la seguridad en la nube y cómo las configuraciones de IAM pueden ser explotadas para escalar privilegios dentro de la infraestructura de AWS.

[CreateEC2WithExistingIP](/cpna/tecnicas-ofensivas-contra-ec2/vectores-de-escalacion-de-privilegios/createec2withexistingip.md)

[PassExistingRoleToNewGlueDevEndpoint](/cpna/tecnicas-ofensivas-contra-ec2/vectores-de-escalacion-de-privilegios/passexistingroletonewgluedevendpoint.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://books.spartan-cybersec.com/cpna/tecnicas-ofensivas-contra-ec2/vectores-de-escalacion-de-privilegios.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
