There doesn't seem to be a filter for this vulnerability at this time so I am trying to write one. By default the program uses its name in the agent string;
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) Havij
I am trying to create a vulnerability filter that looks for "Havij" in the agent string, my belief based on what I have read is the filter should read something like pattern-match http-req-headers, where I am stuck though is the value, since it has to be at least 7 bytes, is there a way to pad "Havij" so it meets the requirement? Or am I going about this wrong.
Solved! Go to Solution.
In this case you don't have to create a Custom Vulnerability Signature but a Custom Application Signature, in the way you have told and creating a security policy with the deny action for that application.
You have to use "http-req-headers" and insert "Havij" as pattern match. This should works.
if you do not have a 7 byte anchor for your data pattern then you will get that error.
In your case your data pattern is not long enough. Can you pad the pattern with additional characters?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!