Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-21768 PoC — Microsoft Windows Ancillary Function Driver for WinSock 安全漏洞

Source
Associated Vulnerability
Title:Microsoft Windows Ancillary Function Driver for WinSock 安全漏洞 (CVE-2023-21768)
Description:Microsoft Windows Ancillary Function Driver for WinSock是美国微软(Microsoft)公司的Winsock 的辅助功能驱动程序。 Microsoft Windows Ancillary Function Driver for WinSock存在安全漏洞。攻击者利用该漏洞可以提升权限。
Description
Windows 11 System Permission Elevation
Readme
# CVE-2023-21768 Local Privilege Escalation POC

authors: [chompie](https://twitter.com/chompie1337) & [b33f](https://twitter.com/FuzzySec)

复现文章:[hlingxbm](https://hlingxbm.blog.csdn.net/article/details/129686960?spm=1001.2014.3001.5502)

For demonstration purposes only. Complete exploit works on vulnerable Windows 11 22H2 systems. 
Write primitive works on all vulnerable systems.

Usage:

```
Windows_AFD_LPE_CVE-2023-21768.exe <pid>
```

where `<pid>` is the process ID (in decimal) of the process to elevate.

Should result in the target process being elevated to SYSTEM



The I/O Ring LPE primitive code is based on the I/ORing R/W [PoC](https://github.com/yardenshafir/IoRingReadWritePrimitive) by [Yarden Shafir](https://twitter.com/yarden_shafir)

Blog post soon, will update repo when it's released.

![image](https://img-blog.csdnimg.cn/75596bd32cb44e3c8673c040015a27de.png)
File Snapshot

[4.0K] /data/pocs/bc58b7495b41debd209ed052fab02576711dabe2 ├── [ 896] README.md ├── [4.0K] Windows_AFD_LPE_CVE-2023-21768 │   ├── [5.9K] exploit.c │   ├── [2.3K] ioring.h │   ├── [8.0K] ioring_lpe.c │   ├── [7.0K] win_defs.h │   ├── [6.7K] Windows_AFD_LPE_CVE-2023-21768.vcxproj │   └── [1.3K] Windows_AFD_LPE_CVE-2023-21768.vcxproj.filters ├── [1.5K] Windows_AFD_LPE_CVE-2023-21768.sln ├── [140K] Windows_AFD_LPE_CVE-2023-21768_x64.exe └── [114K] Windows_AFD_LPE_CVE-2023-21768_x86.exe 1 directory, 10 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.