> 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/hacking-tools/windows/windows-enumeration.md).

# Énumération Windows

### Énumération Windows avec Metasploit

Pour trouver des exploits d’élévation de privilèges basés sur des vulnérabilités du noyau, nous pouvons utiliser **multi/recon/local/\_exploit/\_suggester** dans Metasploit, un module qui analyse la version du noyau afin d’identifier des exploits potentiels.

```bash
utilisez multi/recon/local_exploit_suggester 
```

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

### Énumération manuelle de Windows

{% embed url="<https://github.com/gr33nm0nk2802/Windows-Exploit-Suggester>" %}

Commencez par lister les informations système avec `systeminfo` commande :

```bash
systeminfo
```

* Copiez tous les résultats dans un fichier appelé **win.txt**.

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

Utilisez le **windows-exploit-suggester** script pour trouver des exploits correspondant à la version du système :

```bash
./windows-exploit-suggester.py --update 
```

```bash
./windows-exploit-suggester.py --database 2025-03-29-mssb.xls  --systeminfo win.txt 
```

<figure><img src="/files/7d810646255c02237f8b7a05f91f52315e0b88e0" alt=""><figcaption></figcaption></figure>

* Cela générera une liste d’exploits potentiels pour la machine cible.

### Énumération par script PowerShell

> JAWS est un script PowerShell conçu pour aider les testeurs d’intrusion (et les participants à des CTF) à identifier rapidement des vecteurs potentiels d’élévation de privilèges sur les systèmes Windows. Il est écrit en PowerShell 2.0 et devrait donc fonctionner sur toutes les versions de Windows depuis Windows 7.

{% embed url="<https://github.com/411Hall/JAWS>" %}

Ordre :

{% code overflow="wrap" %}

```
CMD C:/temp> powershell.exe -ExecutionPolicy Bypass -File ./jaws-enum.ps1 -OutputFilename JAWS-Enum.txt
```

{% endcode %}


---

# 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/fr/hacking-tools/windows/windows-enumeration.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.
