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

# Перечисление Windows

### Перечисление Windows с помощью Metasploit

Чтобы найти эксплойты повышения привилегий, основанные на уязвимостях ядра, можно использовать **multi/recon/local/\_exploit/\_suggester** в Metasploit — модуль, который анализирует версию ядра, чтобы выявить возможные эксплойты.

```bash
use multi/recon/local_exploit_suggester 
```

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

### Ручное перечисление Windows

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

Начните с вывода сведений о системе с помощью `systeminfo` команды:

```bash
systeminfo
```

* Скопируйте все результаты в файл с именем **win.txt**.

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

Используйте **windows-exploit-suggester** скрипт, чтобы найти эксплойты, соответствующие версии системы:

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

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

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

* Это сгенерирует список возможных эксплойтов для целевой машины.

### Перечисление с помощью PowerShell-скрипта

> JAWS — это PowerShell-скрипт, предназначенный для того, чтобы помочь специалистам по тестированию на проникновение (и участникам CTF) быстро выявлять возможные векторы повышения привилегий в системах Windows. Он написан на PowerShell 2.0 и поэтому должен работать во всех версиях Windows начиная с Windows 7.

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

Порядок:

{% 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/ru/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.
