database-network Gratuit
Password guessing on MariaDB or MySQL from several addresses of one network
- Catégorie
database- Seuil
3/24h- Politique de ban
database- Signalement
database-intrusion-network- Parseurs
-
mariadb-auth-failmysql-auth-fail
Pourquoi elle est écrite ainsi
Password guessing spread over a network: the addresses of one /24 take
turns, a few tries each, every one under the per-address thresholds.
Three addresses of the same /24 refused in a day is not a customer
with a stale password — the whole /24 is banned, on the database port
only. A trusted origin that forbids range bans (trust.yaml) is never
banned as a range.
Le fichier de la règle Voir le brut
# Password guessing spread over a network: the addresses of one /24 take # turns, a few tries each, every one under the per-address thresholds. # Three addresses of the same /24 refused in a day is not a customer # with a stale password — the whole /24 is banned, on the database port # only. A trusted origin that forbids range bans (trust.yaml) is never # banned as a range. rule: database-network description: "Password guessing on MariaDB or MySQL from several addresses of one network" about: purpose: >- Stop the password guessers that rotate their addresses inside one network to stay under the per-address limits. blocks: >- Refused database logins from three addresses of the same /24 in a day: the /24 is banned, on the database port alone. applies_to: >- A machine whose MariaDB or MySQL listens beyond localhost. requires: - >- The server's error log, declared as `log: mysql`, and the database port declared beside it. beware: - >- Three people of one office network failing their password the same day would close the database port to that network. Exempt the networks your clients connect from. category: database parsers: [mariadb-auth-fail, mysql-auth-fail] count: network distinct: ip threshold: 3/24h ban: database report: database-intrusion-network