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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-34527 PoC — Microsoft Windows Print Spooler Components 安全漏洞

Source
Associated Vulnerability
Title:Microsoft Windows Print Spooler Components 安全漏洞 (CVE-2021-34527)
Description:Microsoft Windows Print Spooler Components是美国微软(Microsoft)公司的一个打印后台处理程序组件。 Microsoft Windows Print Spooler Components 存在安全漏洞,攻击者可以通过该漏洞绕过PfcAddPrinterDriver的安全验证,并在打印服务器中安装恶意的驱动程序。以下产品和版本受到影响:Windows 10 Version 1809 for 32-bit Systems,Windows 10 Version 1
Description
Fix for PrintNightmare CVE-2021-34527
Readme
# Printnightmare
Fix for PrintNightmare CVE-2021-34527

![Printnightmare](https://raw.githubusercontent.com/Eutectico/Printnightmare/main/PrintNightmare.png)


## Run disable-spooler.ps1 file as administrator to disable spooler  
```
powershell.exe -executionpolicy bypass -file .\disable-spooler.ps1
```

## For batch disabling, make a server list with the names of all your servers (e.g. serverlist.txt) and run the file disable-spooler.cmd as administrator to disable the spooler on all your servers  
```
powershell.exe -executionpolicy bypass -file .\disable-spooler.cmd
```


## Run deny-drivers.ps1 file as administrator to prevent exploits from being installed
```
powershell.exe -executionpolicy bypass -file .\deny-drivers.ps1
```

## Run the allow-drivers.ps1 file as administrator to reactivate driver installation
```
powershell.exe -executionpolicy bypass -file .\allow-drivers.ps1
```
File Snapshot

[4.0K] /data/pocs/bc324c248a60d6d77704d68ab1da7a15cdbb3a40 ├── [ 285] allow-drivers.ps1 ├── [ 282] deny-drivers.ps1 ├── [ 574] disable-spooler.cmd ├── [ 148] disable-spooler.ps1 ├── [1.0K] LICENSE ├── [138K] PrintNightmare.png ├── [ 900] README.md └── [ 36] serverlist.txt 0 directories, 8 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.