Answer the question
In order to leave comments, you need to log in
How to "punish" unfortunate hackers trying to hack the site?
Good day
According to the Nginx logs, I see how all sorts of bad comrades are looking for holes on my sites. I want to "punish" them somehow.
It is clear that these are bots. To hammer on the IP of the request in response is stupid. The most interesting thing that I managed to come up with was to proxy such requests, for example, to the Kaspersky Lab website and add text like “this bad request was made to my site, you probably know better what to do with it” in the header.
Does anyone have any ideas on about this?
Answer the question
In order to leave comments, you need to log in
Just ban bots using fail2ban or CSF or whatever, even a self-written script + iptables.
In parallel, of course, not forgetting to maintain the state of security of their sites.
These imaginary "hackers" in most cases are just the background noise of the Internet, crowds of various bots scanning networks, guessing ssh passwords, looking for vulnerable services, default and dictionary passwords, etc. When a vulnerable victim is found, most often an auto-exploit is performed that connects the infected resource to the bot army.
As an experiment, as already suggested above, you can deploy a honeypot on a separate public ip (if available), for example, here is a ready-made distribution . Put his bare ass on the Internet and enjoy honeypot alerts.
And "punishing" this background noise is like carving the sea.
To understand and to forgive.
Think about IB.
Read manuals on secure Nginx configuration.
Conduct an assessment using Nessus (there is a full trial), Acunetix, Netsparker, Nikto (OpenSource).
Optional metasploit or armitage based on experience and knowledge.
Contact the "Department K" or specialized organizations.
IP2ASN
Find out who owns the subnet and write to the support.
Either write a statement to the police, or do not waste your time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question