Page 1 of 1

How can i block this kind of requests its a brute force

Posted: Thu Mar 21, 2013 7:16 pm
by diego
How can i block this kind of requests its a brute force

MySQL log: 130321 16:52:11 [Warning] Access denied for user `admin`@`zulu1053.server4you.de` (using password: NOMySQL log: 130321 16:52:10 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:10 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:09 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:09 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:09 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:08 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: NOMySQL log: 130321 16:52:08 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:07 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:07 [Warning] Access denied for user `root`@`zulu1053.server4you.de` (using password: YESMySQL log: 130321 16:52:07 [Warning] Access denied for user `roo`@`zulu1053.server4you.de` (using password: YES

and there are a lot more of tryouts, but the offender IP its not logged.

Re: How can i block this kind of requests its a brute force

Posted: Fri Mar 22, 2013 6:36 am
by faris
If this is coming from an external IP then close port 3306 to start with. This port should never be open to the public IMHO. You might have occasion to open it to certain IPs, but that's it.

As to the IP in question - I don't really know how MySQL works -- has it converted the IP to a hostname? Can't that be faked (i.e. you just create an rDNS record to match whatever you want)? So I'm quite confused about this.

Re: How can i block this kind of requests its a brute force

Posted: Fri Mar 22, 2013 8:51 am
by prupert
faris wrote:If this is coming from an external IP then close port 3306 to start with. This port should never be open to the public IMHO. You might have occasion to open it to certain IPs, but that's it.
This! I cannot stress the importance of closing remote MySQL access in your firewall enough.