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]

Re: [Snort-sigs] Need sig to alert on webmail file attachments

Subject: Re: [Snort-sigs] Need sig to alert on webmail file attachments
Date: Wed, 15 Sep 2004 01:31:05 -0400
On  0, Jeffrey Lowe <jeffrey.lowe@mci.com> allegedly wrote:
Looking to make a sig to catch inbound webmail attachments from specific 
hosts, such as .EXE, .SCR, .BAT, .ZIP etc. coming from mail.yahoo.com.


look at the rule in virus.rules, this catches all those attachment types
all you would need to do is copy it and change the ports and direction of
flow to suit your needs.

I tried:

alert tcp any 216.109.127.60 -> $HOME_NET any (msg:"Inbound Yahoo Mail file 
attachment"; pcre:"/(.EXE|.SCR|.BAT|.DLL|.ZIP)/i"; classtype:Test; 
sid:20000_ _; rev:1;)

You have an address where a port should be. Also, you might find that
mail.yahoo.com is not the sending host and I would be surprised if there
was only one.

Also, not sure why you have "_ _" in the sid and the classtype "Test" is
not in the standard classification.config, I will assume you have added it.

and I get some weird results, none of which are file attachments.

Yep, not surprised about the weird results, see above.

Thanks,

Jeff
 
+-------------------------------------------------------------------------+
       Nigel Houghton       Research Engineer        Sourcefire Inc.
                       Vulnerability Research Team
                                                                         
  "Dude, dolphins are intelligent and friendly!" - Wendy
  "Intelligent and friendly on rye bread, with some mayonaise." - Cartman
+-------------------------------------------------------------------------+


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs

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