timwhitez starred SpoolerScanner
2022-10-11 14:44:21 Author: github.com(查看原文) 阅读量:17 收藏

Check if the spooler (MS-RPRN) is remotely available with powershell/c#

This is a follow-up of the DerbyCon presentation "The Unintended Risks of Trusting Active Directory @ DerbyCon 2018" made by @tifkin_ (Lee Christensen), @harmj0y(Will Schroeder), @enigma0x3(Matt Nelson)

Reference:

As an alternative, it can be tested by OpenPrinter but the API does not clearly expose if the parameter is incorrect or if the service is unaccessible.

My understanding of the spooler API is:

  • if you share a printer on the network, the spooler is remotely accessible on the computer sharing the printer
  • on a domain, the DC spooler may be accessible after the printer has been shared. A restart of the service on the DC switch it to an unavailable state until the printer is browser on the DC (like in the explorer when browsing a computer and its printer)
  • else the printer is not available

文章来源: https://github.com/vletoux/SpoolerScanner
如有侵权请联系:admin#unsafe.sh