> For the complete documentation index, see [llms.txt](https://writeups.ayweth20.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://writeups.ayweth20.com/2025/404ctf-2025/analyse-forensique/usb-51.md).

# USB 51

**Catégorie:** Analyse forensique - **Difficulté:** Intro

{% file src="/files/1sdGqGnafLOnk62A3piW" %}

**Description:**

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

Solution:

Pour ce challenge de forensic, nous avons à disposition une capture USB avec de nombreuses données échangées (152 paquets au total).

Comme nous ne savons pas exactement ce que nous cherchons, nous allons faire une analyse rapide de cette capture. Tous les paquets ont approximativement la même taille, hormis 6, dont 1 qui est bien plus volumineux :&#x20;

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

Nous allons donc nous pencher sur ce dernier paquet, et comme nous pouvons le voir (ou le trouver dans des docs sur internet), une partie de ce paquet contient la donnée qui nous intéresse : Leftover Capture Data.\
Si nous exportons cette partie, et que nous la mettons dans Cyberchef, voici ce que nous obtenons :&#x20;

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

Nous allons donc exporter ces données et les enregistrer sous le format .PDF :&#x20;

{% file src="/files/wIDuiy8rVtqrdhyC2YL1" %}

Une partie du PDF nous intrigue particulièrement, donc nous allons la passer dans CyberChef :&#x20;

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

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

<details>

<summary>🚩FLAG</summary>

`404CTF{W3_c0ME_IN_p3aC3}`

</details>


---

# 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://writeups.ayweth20.com/2025/404ctf-2025/analyse-forensique/usb-51.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.
