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

Exploit with no backup folder bruteforce #25

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

citronneur
Copy link

Hello,
Thanks for your work. I'm always interesting to understand exploit to better detect it.

I found a way to exploit it without the backup bruteforce, and disable detection on it.
First call using RpcAddPrinterDriverEx for upload the malicious dll with APD_COPY_ALL_FILES flag and a second stage always using RpcAddPrinterDriverEx using APD_COPY_NEW_FILES flag but with a different name, and keep the evil dll path under C:\Windows\System32\spool\drivers\x64\3\.

On my test lab i was unabel to exploit because backup folder are always cleanup properly, so here a solution.

Have a nice day,

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

Successfully merging this pull request may close these issues.

1 participant