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]

[Snort-sigs] PCRE for SS#'s

Subject: [Snort-sigs] PCRE for SS#'s
Date: Tue, 21 Sep 2004 08:33:17 -0500
Someone on the snort-users list asked how to detect SS numbers in a
snort rule, I put the one I wrote out there and was quickly reminded how
lacking my PCRE kung foo is.  With the input of the reformed rules nazi
and a few others I got some input that helped me re-write the PCRE for
it and I wanted to run it past this list and put it out for anyone that
it might help.

/\b[0-9]{3}-[0-9]{2}-[0-9]{4}\b/

Without the \b I was getting too many false positives, mainly form web
cookies.  Let me know what you think, and thanks for the help and any
suggestions.


Patrick S. Harper | CISSP RHCT MCSE
Information Security Engineer
patrick.harper@phns.com 
 



Disclaimer:
This electronic message, including any attachments, is confidential and 
intended solely for use of the intended recipient(s). This message may contain 
information that is privileged or otherwise protected from disclosure by 
applicable law. Any unauthorized disclosure, dissemination, use or reproduction 
is strictly prohibited. If you have received this message in error, please 
delete it and notify the sender immediately. 





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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>