> 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/windows-vulnerabilities/binary-analysis/userinfo-exe-binary-analysis.md).

# Análisis binario de UserInfo.exe

Esta nota muestra un simple Windows `.NET` flujo de trabajo de análisis binario: ejecución controlada, observación del comportamiento e inspección en dnSpy para recuperar información sensible.

## Preparación

Prepara el entorno de laboratorio, transfiere el archivo y configura la resolución de nombres si es necesario.

<figure><img src="/files/c6dfbc6dab47bb103f47ec801901591c1e5cdcbe" alt="UserInfo.exe lab preparation"><figcaption></figcaption></figure>

<figure><img src="/files/f64371346144ca45183ead3dac452d674a3bb8be" alt="UserInfo.exe archive transferred"><figcaption></figcaption></figure>

## Ejecución controlada

```powershell
./UserInfo.exe find -first * -last *
```

<figure><img src="/files/a0b3778e255b4df9e58bfbdbc578774c25d2dcb0" alt="UserInfo.exe controlled execution"><figcaption></figcaption></figure>

## Analizar con dnSpy

{% embed url="<https://github.com/dnSpy/dnSpy>" %}

<figure><img src="/files/9c979690d66d690ef4a053c73e7c92474ab8da53" alt="UserInfo.exe opened in dnSpy"><figcaption></figcaption></figure>

Busca cadenas, funciones de autenticación, endpoints y secretos codificados.

<figure><img src="/files/3dae5b9df4db93fdd3b23319e34834ebef75c2b8" alt="Searching UserInfo.exe code in dnSpy"><figcaption></figcaption></figure>

Establece un punto de interrupción cerca de la ruta de código donde el secreto se vuelve legible.

<figure><img src="/files/0434c9aab3106134cff1cf9dc272f65a603839c2" alt="Breakpoint set in dnSpy"><figcaption></figcaption></figure>

<figure><img src="/files/18a0efe18fc927f7faf47ad166d3fa3e5b547878" alt="Recovered runtime secret in dnSpy"><figcaption></figcaption></figure>

## Puntos clave

* `.NET` Los binarios suelen ser fáciles de descompilar.
* Los secretos codificados deben considerarse comprometidos.
* El análisis estático debe combinarse con la ejecución controlada en un laboratorio.


---

# 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/windows-vulnerabilities/binary-analysis/userinfo-exe-binary-analysis.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.
