Service Accounts Redux - Collecting Service Accounts with PowerShell, (Thu, Apr 25th)

Back in 2015 I wrote up a “find the service accounts” story  - https://isc.sans.edu/forums/diary/Windows+Service+Accounts+Why+Theyre+Evil+and+Why+Pentesters+Love+them/20029/ (yes, it really has been that long).  The approach I wrote up then used WMIC.  Those scripts saw a lot of use back in the day, but don’t reflect the fastest or most efficient way to collect this information - I thought today was a good day to cover how to do this much quicker in PowerShell.

Article Link: https://isc.sans.edu/diary/rss/24882