Luca Profile picture
10 Jul, 8 tweets, 3 min read
Few things you could do with the Print Spool service even before #printnightmare

0/6
The so called #printerbug allowed an attacker to get the NetNTLM hash of the affected server. Depending on the computer account privileges, this could lead to full domain compromise: dionach.com/blog/printer-s…

1/6
By design, some systems need to have local administrator privileges to the other, like on the Exchange Trusted Subsystem group. No SMB signing + printerbug + ntlmrelayx = Exchange server compromise, which basically means a full compromise due to exchange group privileges.

2/6
If you run legacy apps, you probably have NTLMv1 supported on the DCs. Using printerbug, you can get the NTLMv1 hash of the domain controller, from which you can get the NT hash using services like crack.sh. NT hash of a DC = DCSync = compromise.

3/6
If multiple DCs exposed the print spooler and one was vulnerable to CVE-2019-1040, you could relay between them and exploit Kerberos delegation to get DA as detailed in dirkjanm.io/exploiting-CVE…

4/6
If you have an account with SeImpersonatePrivilege (e.g. a service account), you can use the named pipe to escalate your privileges to SYSTEM. This is essentially what PrintSpoofer and other tools are doing. github.com/itm4n/PrintSpo…

5/6
After compromising a forest, an attacker could use the printer bug to jump to another forest as detailed in harmj0y.net/blog/redteamin…

6/6
Looks like the #KB5004945 patch stopped printerbug from working remotely, however if you have local access to a server as a low priv user (RDS farms anyone?) you can still abuse some of these depending on the server privileges.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Luca

Luca Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(