Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Signatures
[Top] [All Lists]

[Snort-sigs] Snorting gzip encoded http source code

Subject: [Snort-sigs] Snorting gzip encoded http source code
Date: Fri, 27 Aug 2004 17:40:58 +0000
I hope this is a simple question, been investigating this for some time and not come up with anything yet...

I want to find a certain string in my web-page source code- but I use gzip encoding to deliver it , and my snort rules aren't catching it... is there away to do this... to "zcat" or "zgrep" http gzip encoded content? possibly using zlib?

I do not wish to DOS my site, so if you look at yahoo - you can see a very similar example
http://finance.yahoo.com/ some of the source is gziped, and then deflated by my machine, does snort have a deflate? So that I could pick out a string for example with the yahoo link above... I'd like to find
"stocks" ... I don't see that string in my pcap... I hope I'm missing something...
my rule is as follows for this example


alert tcp $HOME_NET any <> $EXTERNAL_NET any (msg:"yahoo-test"; content:"|73 74 6F 63 6B 73|"; classtype: unknown;)

pcap is attached
-Abe

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx

Attachment: test-pcap.cap
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>