> 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/fr/useful-resources/forensics/steganography-steghide.md).

# Stéganographie - Steghide

Notes de stéganographie Steghide pour extraire des fichiers cachés d’images ou d’audio, tester des phrases secrètes et valider des données intégrées lors des CTF.

{% hint style="info" %}
La stéganographie est la technique qui consiste à cacher des informations sensibles dans des médias apparemment anodins, qui n’éveilleront pas les soupçons même si elles sont à la vue de tous : seul un destinataire légitime saura qu’il y a des informations pour lui.
{% endhint %}

### **Analyse de stéganographie avec Steghide**

Nous enregistrons l'image et l'analysons :

1. Vérification de la présence de données cachées dans l'image :

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-6b4ca11ae1f050ecbfcd4dd668907d447cef1326%2F%7BBF3E2B46-EBEB-41D5-AB60-F14D12C229A1%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

Vérification de la présence de données cachées dans l'image :

```bash
steghide info image.jpg
```

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-25bafbe8c5377ac368938e0bf667b9418b09be92%2F%7BB61AC2D5-D35E-4808-9E7E-C44BA34BA105%7D.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

Extraction des données cachées :

```bash
steghide extract -sf image.jpg
```

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-58db1cc7ea2d9cee8ab957d4376b054382d83e9f%2F%7B1ED250B8-3960-43F4-A11F-9FCC21581E8B%7D.png?alt=media" alt="" width="563"><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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/fr/useful-resources/forensics/steganography-steghide.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
