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] Rule 2480 : byte_jump doesn't make sense.

Subject: Re: [Snort-sigs] Rule 2480 : byte_jump doesn't make sense.
Date: Tue, 10 May 2005 10:22:33 -0400
On Tue, May 10, 2005 at 10:10:10AM +1000, Erik de Castro Lopo wrote:
It seems to me that relative and from_beginning are mutually 
exclusive. Is that right?

No.

You read the values relative from the current position.  You jump from
the beginning of the packet.

In the example you gave:

byte_jump:2,-10,relative,from_beginning;

The value we are reading is an offset from the beginning of the
request.  It is in a specific location, so we get to it via other
means, and then read that value, then jump that many bytes forward
from the begining of the request.

The interesting part to note is that in SMB, when the offset is the
offset from the beginning of the request, its really the beginning of
the SMB request, after the 4 bytes of netbios header.

Brian


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&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>