BSMBasil Saji Mathew

Security automation

Security Automation: Stop Brute-Force Attacks on RDP and SSH

Any server with RDP or SSH open to the internet is attacked by password-guessing bots within minutes. I am Basil Saji Mathew, and I build the monitoring and automation that detects those attacks, blocks the sources and tells you what happened.

What I offer

  • Brute-force protection for Windows RDP and Linux SSH: detection, blocking and expiry, with an observe mode first.
  • Log monitoring and alerts from Windows Security Event Logs, with Discord, Telegram or Slack notifications.
  • Firewall automation including time-based allow rules and role-based access.
  • Hardening advice such as NLA, VPN or RD Gateway, lockout policy and key-only SSH.
  • Backups and recovery so an incident does not become a disaster.

Tools I have built

Portcullis

Open-source shield that blocks brute-force logins on Windows RDP and Linux SSH, with a web dashboard and Discord, Telegram and Slack alerts.

View on GitHub

RDP Login Monitor

Parses Windows Security Event Logs in real time to flag brute-force and suspicious Remote Desktop logins, with Discord alerts.

View on GitHub

IP Whitelist Automation

Event-driven IP whitelisting API with role-based access control, an async job queue and time-based firewall rules.

View on GitHub

Free guides

Principles

Allowlist first, observe before you block, expire bans, keep an audit log, and never rely on one control alone. My tools say plainly what is and is not tested.

Frequently asked questions

How do I stop RDP brute-force attacks?

Put RDP behind a VPN or RD Gateway, restrict source addresses, require NLA, set an account lockout policy and automatically block repeat offenders. See my step-by-step guide.

Is there a fail2ban for Windows?

Fail2ban is Linux only. For Windows and Linux together you can use Portcullis, an open-source tool I built, or other Windows-focused tools.

Do you work in the UAE?

Yes. I work between Bengaluru, India and Abu Dhabi, UAE, and remotely.

How do I get help setting this up?

Email hello@basilsajimathew.com with your operating system and how your server is exposed.