[Snort-sigs] rule content

Jamie Riden jamie.riden at ...2420...
Tue Jun 19 07:20:57 EDT 2007


On 19/06/07, Jules F. Pagna Disso <jferdinand at ...3299...> wrote:

> 1.       When to convert byte? Raw data? Or when to leave it as it is or
> when to  have a mixed binary and text content ?

I would go for the easiest to read. If it's all ascii, go for plain
text. If you've got null bytes, backslashes or other stuff, might be
easier to keep it all as hex.

> For example I have the rules
>
> alert tcp any any -> any 80 (content: !"GET";)
>
> alert tcp any any -> any 139 (content: "¦5C 00¦P¦00¦P¦00¦E¦00 5cl`;)

I think this would be: 5c 00 50 00 50 00 45 00 5c   (P being 0x50 and
E being 0x45). Someone please correct me if I'm wrong :)

I don't know NetBIOS well enough to say why this is a bad thing.

cheers,
 Jamie
-- 
Jamie Riden, CISSP / jamesr at ...3216... / jamie at ...3294...
UK Honeynet Project: http://www.ukhoneynet.org/




More information about the Snort-sigs mailing list