Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up an free evaluation Confluence Server on my local host and have configured "snort.conf" to point to my localhost as "HOME_NET" environment variable.

I tried to test the ICMP rule by running "ping localhost" and I immediately see output in /var/log/snort/alert file. So I know the ICMP rule works correctly.

However, I cannot get any of the "web-attacks.rules" to work. For example, how do I test this rule?

alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"WEB-ATTACKS uname -a command attempt"; flow:to_server,established; content:"uname%20-a"; nocase; classtype:web-application-a

ttack; sid:1331; rev:5;)

I would appreciate all / any advise in testing any of the "web-attacks.rules". In fact, if someone could point me to a test script that triggers all the "web-attacks.rules" that would be ideal.


share|improve this question
You might find my answer to a previous question helpful. (Athough I don't think this is necessarily a dupe.) – Graham Hill Nov 18 '12 at 18:46
up vote 0 down vote accepted

Usually people use a web application firewall to detect/prevent these attacks. mod_security is an open source WAF.

Any web application vulnerability scanner should do the trick. Skipfish and wapiti are both open source web application vulnerability scanners.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.