
Monitors Windows Security logs for failed RDP attempts and automatically blocks abusive IPs via Windows Firewall, with configurable thresholds and whitelist support.
RDP Guard monitors failed RDP sign-in attempts in the Windows Security log and blocks abusive remote IP addresses through Windows Firewall.
46253 or 103 or more audit failures15 minutesRDP_GUARD_yyyyMMdd_HHmmss_fffremoteip scope.RDP_GUARD_... rule.127.0.0.1, ::1English. Selected language is saved in config. Supported languages: English, Turkish, German, Russian, French, Spanish, Chinese..\build.ps1
Output:
bin\Release\RDPGuard.exe
The executable requires administrator privileges via manifest. The "start with Windows" option creates a Task Scheduler entry named RDP Guard with RunLevel=Highest.
RDP Guard does not analyze or block successful RDP logons. It only counts Security log 4625 failure events that contain a remote IP and match RDP/NLA-related logon types.
When closing the window, the app offers two choices: Minimize to tray or Close program.
netsh, PowerShell, and schtasks calls use timeout handling and async output reading so a stuck system command does not freeze the app indefinitely.RDP_GUARD_... rules.C:\ProgramData\RDPGuard\rdpguard.log and rotated above 2 MB.High, logs unhandled exceptions, and registers with Windows application restart for better background resilience.rdpguard.log is capped at 2 MB and up to 4 rotated files are retained. Lines include timestamp, level, PID, thread ID, uptime, startup snapshot, check IDs, scan/firewall timings, process exit codes, and exception stack traces.RDP Guard, Windows Security log icindeki basarisiz RDP oturum acma denemelerini izler ve kotuye kullanim yapan uzak IP adreslerini Windows Firewall uzerinden engeller.
46253 veya 103 veya daha fazla audit failure15 dakikaRDP_GUARD_yyyyMMdd_HHmmss_fffremoteip scope listesine eklenir.RDP_GUARD_... kuralina eklenmez.127.0.0.1, ::1English. Secilen dil config icinde saklanir. Desteklenen diller: Ingilizce, Turkce, Almanca, Rusca, Fransizca, Ispanyolca, Cince..\build.ps1
Cikti:
bin\Release\RDPGuard.exe
Exe manifest ile yonetici yetkisi ister. "Windows ile baslat" secenegi, Task Scheduler icinde RDP Guard adli gorevi RunLevel=Highest olarak olusturur.
RDP Guard basarili RDP girislerini analiz etmez veya bloklamaz. Yalnizca Security log altindaki, uzak IP alanina sahip ve RDP/NLA ile ilgili logon tiplerine uyan 4625 basarisiz oturum acma olaylarini sayar.
Pencere kapatilirken iki secenek sunulur: Simge durumuna kucult veya Programi kapat.
netsh, PowerShell ve schtasks cagrilari timeout ve async output okuma ile calisir; takilan sistem komutu uygulamayi sonsuza kadar dondurmez.RDP_GUARD_... ad formatindaki kendi kurallarini gunceller veya siler.C:\ProgramData\RDPGuard\rdpguard.log altinda tutulur ve 2 MB uzerinde rotate edilir.High yapmayi dener, yakalanmamis hatalari loglar ve arka plan kararliligi icin Windows application restart kaydi olusturur.rdpguard.log 2 MB ile sinirlanir ve en fazla 4 rotate dosyasi tutulur. Satirlarda zaman, seviye, PID, thread ID, uptime, startup ozeti, kontrol ID'leri, scan/firewall sureleri, process exit code'lari ve exception stack trace'leri bulunur.