Contains fast-written, ugly but working scripts
Simple ad-hoc self-defence script for public accessible RDP servers. Throw it to Task Scheduler (with SYSTEM privileges)
Install-ProtectRDSFromBruteforce.ps1
Script will install Protect-RDSFromBruteforce.ps1 as scheduled task. You can invoke it from elevated PowerShell session directly:
Invoke-Expression (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/al-ign/Quick-and-Dirty/master/Install-ProtectRDSFromBruteforce.ps1' -UseBasicParsing).Content
Plain and straightforward script for performing Authoritative restore for DFS-R SYSVOL