Comments (5)
@chvryT you are supposed to get that error. You have to restart the computer for this to work. The privesc works based on the fact that the .shd file (your print job that's in error) loses user attribution when spooler is restarted and impersonates SYSTEM when that attribution is lost
from invoke-printdemon.
from invoke-printdemon.
i read the .ps1,maybe i found the reason why i got failed,the target machine seems cannot print bytes to c:\windows\sysytem\ualapi.dll.so it cannot start Fax service.but i donot know why.if i copy the ualapi.dll to system32 as an administrator,i cannot get the system permissions after i run the .ps in empire.that upset me.
have a nice day!
from invoke-printdemon.
@chvryT. Make sure that you have the most recent version pulled down.
As I said before this will not work without the victim machine being restarted. So steps to make printdemon work.
- Run the .ps1
- Restart the target machine
Do not worry about the printer being unable to write to system32 initially. This is supposed to happen. It will be able to write there after the target machine has restarted.
from invoke-printdemon.
@Hubbl3 .Thanks very much.After i restart the victim machine,i can see ualapi.dll.And i maybe find a problem.When i restart the victim machine,the .ps1 will start Fax,but it cannot success,so it always cannot get system permissions .So i delete the codes about "sc.exe start Fax...",and run "sc.exe start Fax" by cmd command after restarting the victim machine.And then use nc.exe to connect 9299,i will get the system permissions.Just like https://github.com/ionescu007/faxhell.
Anyway,thanks very much for your response.
Have a nice day.
from invoke-printdemon.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invoke-printdemon.