Reputation: 4654
Problem:
I found that certain sessions are sending a heavy burst of requests to some of my .aspx pages. Some of them are sending requests to my login page also. I tried to find out if this is a dictionary attack but on checking the IIS logs found that the csBytes is not varying for large number of requests. So, a dictionary attack is less likely. I then checked if somebody is trying a Denial of Service but that also seems unlikely since the burst subsides after a short duration (usually after a minute or so).
Some of the patterns that emerged while I was doing the investigation are:
Technical Details:
I've given a bare-bone intro on the issue. Let me know if you require more information to dig further.
Update:
When I said that 20 requests/min from a session are normal I meant all requests including associated javascripts/images.
Upvotes: 1
Views: 137
Reputation: 40139
You tagged this with 'Security', so I'm not 100% sure if you are really looking for possible errors in the application itself which could cause this, but anyway...
Those rates are definitely not 'natural' - no normal, physical user would even (re)load a page a 'mere' 20-times per minute, much less the other times you have shown.
I would first look at the payload of the requests in-depth and make sure there is nothing malicious there. You have a lot of log entries which seem to bear looking into more, to see if you are experiencing dictionary-type attacks, or perhaps even something else, like probing for XSS or SQL Injection vulnerabilities. Many of your 'spurts' seem to suggest some simple vulnerability probing, perhaps as opposed to dictionary attacks.
But the methodology (and indeed, any tools/processes you would use) for mitigating attacks is very different from what you would be doing for potential application bugs causing unintended requests.
For that, I would cross-reference the frequently-loaded URLs with the referer
information in the logs for those requests, and verify that the referers are capable of producing such URLs; perhaps dynamically, or even client-side, via Ajax. Mis-used Ajax updates could actually be the cause, in fact. But if all the referer
values on those hits are 'incorrect' or invalid, this is likely some sort of attack or probe, perhaps rather than an app bug.
But if the referer info does lead to a valid page, you then at least have someplace to look.
Upvotes: 1