Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

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.

Thanks.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.