BC-SECURITY / Invoke-PrintDemon

This is a PowerShell Empire launcher PoC using PrintDemon and Faxhell.

Home Page:https://www.bc-security.org/post/event/dll-hijacking-with-invoke-printdemon/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PrintDemon

This is an PowerShell Empire launcher PoC using PrintDemon and Faxhell. The module has the Faxhell DLL already embedded which leverages CVE-2020-1048 for privilege escalation. The vulnerability allows an unprivileged user to gain system-level privileges and is based on @ionescu007 PoC.

Invoke-Demon_Demo

Note: This is a proof of concept. We have encountered some issues with printing to C:\Windows\System32\Ualapi.dll on some machines. We have not yet isolated what is causing this. You can drop the dll directly into System32 to test the launcher if you encounter issues.

Code Borrowed from

https://github.com/ionescu007/PrintDemon https://github.com/ionescu007/faxhell https://stackoverflow.com/questions/4442122/send-raw-zpl-to-zebra-printer-via-usb https://stackoverflow.com/questions/29759854/how-to-connect-to-tcp-socket-with-powershell-to-send-and-receive-data

About

This is a PowerShell Empire launcher PoC using PrintDemon and Faxhell.

https://www.bc-security.org/post/event/dll-hijacking-with-invoke-printdemon/


Languages

Language:PowerShell 100.0%