> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/es/active-directory/credentials/token-observation-with-process-explorer.md).

# Observación de tokens con Process Explorer

#### Iniciar Process Explorer

Iniciamos Process Explorer en una sesión de PowerShell de administrador:

```powershell
./procexp64.exe
```

Luego, también abrimos un `cmd` sin privilegios de administrador.

Esto nos permite comparar:

* proceso elevado;
* un proceso no elevado;
* los tokens asociados;
* los privilegios disponibles.

<figure><img src="/files/bb8c3c6bb8d8367cd7f1c8788fc859c825451632" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/a5f740e0ab0b112de9edd7372d9eeac5e19c122b" alt=""><figcaption></figcaption></figure>

#### Comprobar el token de un proceso

En Process Explorer:

```bash
Proceso -> Propiedades -> Seguridad
```

En esta pestaña, puedes ver:

* el usuario asociado al proceso;
* grupos;
* privilegios;
* el nivel de integridad;
* la sesión de inicio de sesión.

#### Ejemplo en el laboratorio

Ejemplos de sesiones de inicio de sesión observadas:

```bash
Administrador : Sesión de inicio de sesión 9d72b1
user1          : Sesión de inicio de sesión 955ec3
```

Esto muestra que cada sesión tiene su propio contexto de seguridad.

<figure><img src="/files/b09fa42fde99538b1c1d31b31542aa782aab2a97" alt=""><figcaption></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/es/active-directory/credentials/token-observation-with-process-explorer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
