Giter VIP home page Giter VIP logo

Comments (5)

Hubbl3 avatar Hubbl3 commented on September 23, 2024

@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.

chvryT avatar chvryT commented on September 23, 2024

from invoke-printdemon.

chvryT avatar chvryT commented on September 23, 2024

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.

Hubbl3 avatar Hubbl3 commented on September 23, 2024

@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.

  1. Run the .ps1
  2. 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.

chvryT avatar chvryT commented on September 23, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.