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 Focus-IDS
[Top] [All Lists]

Re: Using Snort to find creditcard data?

Subject: Re: Using Snort to find creditcard data?
Date: Wed, 10 Oct 2007 11:41:17 +0300
Yo

jerikl75@gmail.com wrote:
Would it be possible to write a Snort rule that triggers on possible
creditcard numbers and how would it look like? PCI standars says that
all creditcard data should be encrypted, It woild be nice to verify
that no card data shows up where it shouldn't...

I wrote a dynamic rule for this. It does the Luhn check (as i understood
it) and prefix/length verification. It's a quick implementation and
probably uses a tad too much of CPU time, but seems to work. Any
suggestions/improvements are welcome.

http://p6drad-teel.net/~windo/jama/creditcard_number.c

add it to so_rules and add "creditcard" to

libs :=

section in the Makefile

Siim


------------------------------------------------------------------------
Test Your IDS

Is your IDS deployed correctly?
Find out quickly and easily by testing it 
with real-world attacks from CORE IMPACT.
Go to 
http://www.coresecurity.com/index.php5?module=Form&action=impact&campaign=intro_sfw
 
to learn more.
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>