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. |

| Subject: | Re: [Snort-sigs] False Positive |
|---|---|
| Date: | Fri, 15 Oct 2004 18:16:26 -0400 |
This would be vulnerable to a false negative. Any larger ASN.1 sequence will cause byte at offset 1 to change into a series of bytes, which shifts the rest of the payload rightward.
> It appears that the 5 + 2 byte is the length of the community string, > allowing for a community string of 0 - 255 characters. The first > digit (5 + 1), I didn't find a reference to.
0x04 = OCTET STRING
Hmm, what about going with a regex:
pcre:"/.{5}[^\x04]{0,15}\x04\x00/"Broken up:
.{5} - ignore first 5 bytes.. don't care what they are.
[^\x04]{0,15} - 0-15 bytes of any byte except 0x04
\x04\x00 -followed by 0x04 0x00.
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: [Snort-sigs] False Positive, Mark Buchanan |
|---|---|
| Next by Date: | Re: [Snort-sigs] False Positive, Matt Kettler |
| Previous by Thread: | Re: [Snort-sigs] False Positive, nnposter |
| Next by Thread: | Re: [Snort-sigs] False Positive, Matt Kettler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |