Server security: detect attacks in your servers' logs

Server security: detect attacks in your servers' logs

Server security analyzes the logs of your Resources servers to detect ongoing attacks. Each finding shows the IP, the rule that fired and the suggested action.

What it does

  • Reads only the new lines over SSH since the previous pass. The first pass only marks where the logs are and analyzes nothing.
  • Analysis runs on Reikor Monitor: on your server only read commands run, at low priority, and a pass is skipped if the server is heavily loaded.
  • Counts attacks per IP and per rule. The original lines are not stored: only counts and the busiest IPs.
  • Covers SSH, FTP, mail (SMTP authentication, POP3 and IMAP), cPanel/WHM logins, databases (MySQL, PostgreSQL, MongoDB and Redis), Docker containers and web servers (Apache, Nginx, LiteSpeed, Plesk and cPanel).
  • On the web it detects refused web passwords (401), ModSecurity denials, abuse of xmlrpc.php and the WordPress login, request floods, scans for non-existent pages, searches for .env files, .git folders and phpMyAdmin, and public exposure of .env or .git.
  • Checks the server state: CSF parameters weaker than the profile, lfd stopped, CSF in test mode, no firewall and database ports open to the internet.

Alerts

Each new finding arrives by e-mail, WhatsApp and integrations (Telegram, Slack and more), with the IP, the rule and what to do. Alerts can be muted one by one or per rule. An IP is considered resolved after three passes without activity. The service reports and suggests commands: it does not block IPs or change the firewall.

Requirements

  • The server must be added in Resources (SSH access).
  • An SSH user allowed to read the logs, normally root. With a user without permissions only the logs that user can read are analyzed.
  • Logs in the usual locations of each service (Apache, Nginx, LiteSpeed, Plesk, cPanel, journald and Docker).

Plans and limits

Included in paid plans and not in the Free plan. The monthly quota is the number of simultaneous analyses (runners) times the GB of logs per runner. The GB analyzed are deducted; CVE analysis uses the same quota (a few hundred KB per server).

Plan Runners (simultaneous analyses) GB per runner GB of logs per month
Free - - Not included
Inicial 1 1 1
Básico 2 2 4
Avanzado 4 4 16
Profesional 8 8 64
Corporativo 16 16 256
Enterprise 32 32 1,024

When the month's quota runs out, analyses stop and the panel says so. Additional packs of 100 GB are used after the monthly quota, never expire and are only available on paid plans; they are requested from the panel.

Guide: server security step by step.