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] Alert rules

Subject: Re: [Snort-sigs] Alert rules
Date: Thu, 9 Mar 2006 18:19:08 -0500
Start here...

http://www.snort.org/docs/writing_rules/chap2.html

and try the simple content match rules first. There are a ton of example content match rules available. For example, a google search for "snort content rule example" returned (among others)

http://www.phptr.com/articles/article.asp?p=101171&seqNum=11&rl=1

which shows some examples of content matching such as

alert tcp $TELNET_SERVERS 23 -> $EXTERNAL_NET any \
(msg:"TELNET login incorrect"; content: "Login incorrect"; \
flow:from_server,established; reference:arachnids,127; classtype:bad-unknown; sid: \
718; rev:6;)


which will fire when the string "Login incorrect" (case sensitive) is detected coming from one of your telnet servers on port 23 and headed for the external network.


Once you have some rules created, we can help you with whatever specific problems you may have.


Hope this helps!

~chris



Christopher Jacob - SFCE
Security Engineer
Sourcefire - Security for the real world.
V-410.423.1959
F-410.290.0024



On Mar 9, 2006, at 5:48 PM, FRANK SORNATALE wrote:

I know you say these are very basic rules but i have never delt with snort. As a matter of fact i never delt with networking. That is why i need help because even when i look at the manual i get confused as i get more into it.



From: Nigel Houghton <nigel@sourcefire.com>
Reply-To: snort-sigs@lists.sourceforge.net
To: FRANK SORNATALE <sornatale@hotmail.com>
CC: snort-sigs@lists.sourceforge.net
Subject: Re: [Snort-sigs] Alert rules
Date: Thu, 9 Mar 2006 16:36:25 -0600

On 0, FRANK SORNATALE <sornatale@hotmail.com> allegedly wrote:
> Was wondering if anyone can help me figure out these rules: Please i
> really need the help from some experience users.
>
> 1. Create an alert from any incoming packets from source address
> 66.35.250.203, source port 80 to any machine on the internal network.
>
> 2. Create an alert for any incoming packet whose contents contain "tcpdump"
> (case sensitive).
>
> 3. Create an alert for any outgoing packets that list the CUPS protocol.
>
> 4. Create an alert for any packet that attempts to CREATE an ssh connection.
>
> 5. Create an alert for any packet whose contents contain the word "bard"
> (not case sensitive).
>
> 7. Create an alert for any packets from source 172.17.76.1 and whose
> destination is 172.17.76.3, that contains the keyword "diffie".
>
> 8. Create an alert for any packets whose destination port (on the trusted,
> internal network) is 50146.
>
> 9. Create an alert for any outgoing packets whose source port is 42637 and
> whose contents contains the keyword "firefox" (case insensitive).
>
> 10. Create an alert for any packets that contain a source or destination IP
> address within the 192.168.0.0/24 domain.


These are very simple rules to write. Please look at the snort manual
and existing rules to answer your own questions.

+-------------------------------------------------------------------- +
Nigel Houghton Research Engineer Sourcefire Inc.
Vulnerability Research Team


         There is no theory of evolution, just a list
            of creatures Vin Diesel allows to live.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs



_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http:// search.msn.click-url.com/go/onm00200636ave/direct/01/




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs






------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd_______________________________________________ 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>