Hacking attempt detected, Can we block user by PC-Name

csfhackingip-blocking

Recently we notied that hackers are trying to hack our server, we have IP blocking softwares installed on our server but the thing is that, hacker is using dynamic ip addresses to try again and again…But we can see he is using the same machine to attack (log file shows different ip addresses but same machine name something like "Authentication failed for (ylmf-pc)"), Is it possible to block him by machine name too ?
We are using CSF http://configserver.com/cp/csf.html

Note: I am not a server guy, i am programmer

Best Answer

You should not rely on blocking specific IP addresses to mitigate hacking attempts. To make your system secure, it should be protected against hacking from ANY IP address. You should block access to all ports except for the ports which are used.

For example, when you provide a web service, allow port 80, and only allow it to communicate directly with a web server which is designed to be secure.

IP/user blocking is useful in protecting against denial of service attacks. But this may be regarded as an issue distinct from security issues.

To protect a website against hacking attempts, you must be careful in the code which you allow the public to access, for example, careful programming to prevent SQL injection, or authentication bugs. This is completely domain-specific. For example, a different set of skills may need to be applied to protect different web services, eg. ssh. Luckily, most pre-packaged software that you may use are usually carefully designed to be secure. You can help with this by updating applications you do use to the latest tiny release in the version you use.

Related Topic