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] Matching question

Subject: Re: [Snort-sigs] Matching question
Date: Tue, 19 Jul 2005 08:51:01 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks, that's what I needed!

bmc@snort.org wrote:
To match the first 2 bytes, skip one byte, then match 4 bytes, you can
do that in to different ways.

Normally:
    content:"|FF 51|"; depth:2; content:"|01 00 00 00|"; offset:4; 
    depth:4;

Via relative:
    content:"|FF 51|"; depth:2; content:"|01 00 00 00|"; distance:1;
    within:4;


Its really up to you which you choose.  I prefer relative, but mostly
due to having to deal layers upon layers of protocols.  If the rules
are relative, than I only have to maintain one set of distances.

Brian


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3QVFfqSf2EkP4p4RAlqkAJ9XR8vy6ayltd+dhykx8Dy2JbD4tgCfalRl
333moFig4wRzIL5ORkcbH0E=
=HCtq
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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>