# Kernel Exploits

**SystemInfo**

```bash
# Enumerate Windows Version
systeminfo
```

#### What is it installed?

```bash
wmic qfe get Caption,Description,HotFixID,InstalledOn

# Specific to patches
wmic qfe get Caption,Description,HotFixID,InstalledOn | findstr /C:"KB3136041" /C:"KB4018483"
```

#### Windows Exploit Suggester

```bash
git clone https://github.com/AonCyberLabs/Windows-Exploit-Suggester.git
./windows-exploit-suggester.py --update
./windows-exploit-suggester.py --database 2019-10-15-mssb.xls --systeminfo systeminfo.txt
```

#### Sherlock

```bash
# Clone the repo with the following
git clone https://github.com/rasta-mouse/Sherlock.git

# On the command prompt run:
powershell -nop -ep bypass
Import-Module C:\path\to\Sherlock.ps1
Find-AllVulns
```


---

# Agent Instructions: 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:

```
GET https://ed4m4s.blog/privilege-escalation/windows/kernel-exploits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
