I have some HTTP logs where I see the hacker changing his IP every request, and occasionally changing his useragent.
Is there a way to detect this automatically? Perhaps a snort rule? or any other way?
I have some HTTP logs where I see the hacker changing his IP every request, and occasionally changing his useragent.
Is there a way to detect this automatically? Perhaps a snort rule? or any other way?
A lot of websites tie the session ID to the IP address, so a session valid ID valid associated to on IP address will be considered as invalid if presented by another IP address.
A more permissive approach might be, instead of blocking such access to simply log them and if needed send a warning to appropriate persons.
Be aware that some privacy protection tools rotate the IP address used (automatically switching from one proxy to another each n seconds for instance) and maskerade browser's user agent while keeping cookies and session information to allow normal browsing. Such tool will produce exactly the behavior you describe while not necessarily be used with any malicious intentions.
The measure indicated in the first paragraph will prevent people using such tool to access to your services. It's up to you, depending on your policy, to decide what attitude to adopt under such circumstances: block, warn, or simply log.