# EoP - Kernel Exploitation

#### Kernel Vulnerability List

<table><thead><tr><th width="285">Security Bulletin</th><th width="100">KB</th><th>Description</th><th>Affected Operating Systems</th></tr></thead><tbody><tr><td>MS17-017</td><td>[KB4013081]</td><td>GDI Palette Objects Local Privilege Escalation</td><td>Windows 7, Windows 8</td></tr><tr><td>CVE-2017-8464</td><td></td><td>LNK Remote Code Execution Vulnerability</td><td>Windows 10, Windows 8.1, Windows 7, Windows Server 2016, 2010, 2008</td></tr><tr><td>CVE-2017-0213</td><td></td><td>Windows COM Elevation of Privilege Vulnerability</td><td>Windows 10, Windows 8.1, Windows 7, Windows Server 2016, 2010, 2008</td></tr><tr><td>CVE-2018-0833</td><td></td><td>SMBv3 Null Pointer Dereference Denial of Service</td><td>Windows 8.1, Windows Server 2012 R2</td></tr><tr><td>CVE-2018-8120</td><td></td><td>Win32k Elevation of Privilege Vulnerability</td><td>Windows 7 SP1, Windows Server 2008 SP2, Windows Server 2008 R2 SP1</td></tr><tr><td>MS17-010</td><td>[KB4013389]</td><td>Windows Kernel Mode Drivers</td><td>Windows 7, Windows Server 2008, Windows Server 2003, Windows XP</td></tr><tr><td>MS16-135</td><td>[KB3199135]</td><td>Windows Kernel Mode Drivers</td><td>Windows 10 (various versions)</td></tr><tr><td>MS16-111</td><td>[KB3186973]</td><td>Kernel API Vulnerability</td><td>Windows 10 (Build 10586, 32/64-bit), Windows 8.1</td></tr><tr><td>MS16-098</td><td>[KB3178466]</td><td>Kernel Driver Vulnerability</td><td>Windows 8.1</td></tr><tr><td>MS16-075</td><td>[KB3164038]</td><td>Hot Potato (Local Privilege Escalation)</td><td>Windows Server 2003, Windows Server 2008, Windows 7, Windows 8, Windows Server 2012</td></tr><tr><td>MS16-034</td><td>[KB3143145]</td><td>Kernel Driver Vulnerability</td><td>Windows Server 2008, Windows 7, Windows 8, Windows 10, Windows Server 2012</td></tr><tr><td>MS16-032</td><td>[KB3143141]</td><td>Secondary Logon Handle Vulnerability</td><td>Windows Server 2008, Windows 7, Windows 8, Windows 10, Windows Server 2012</td></tr><tr><td>MS16-016</td><td>[KB3136041]</td><td>WebDAV Vulnerability</td><td>Windows Server 2008, Windows Vista, Windows 7</td></tr><tr><td>MS16-014</td><td>[KB3134228]</td><td>Remote Code Execution Vulnerability</td><td>Windows Server 2008, Windows Vista, Windows 7</td></tr><tr><td>MS03-026</td><td>[KB823980]</td><td>Buffer Overrun In RPC Interface</td><td>Windows NT, Windows 2000, Windows XP, Windows Server 2003</td></tr></tbody></table>

#### Cross-Compiling Example

To cross-compile a Windows program from a Kali Linux environment, you can use the following command:

```bash
i586-mingw32msvc-gcc -o adduser.exe useradd.c
```

**Explanation of the Command**:

* `i586-mingw32msvc-gcc`: This is the cross-compiler for building Windows executables on a Linux platform.
* `-o adduser.exe`: This option specifies the output filename for the compiled executable.
* `useradd.c`: This is the source file that contains the code to be compiled.

