Yousef,
Sorry, but you are going to have to learn how to read/use REGEX. It's basic pattern matching scripting.
It is going to be the only way to really deal with 1000's of numbers.
Look at the DI's and read about REGEX to figure out how it works.
You should be able to use the Regex to look for the first set of digits and then match the next set of numbers. It's not that hard.
Each credit card type has a different regex pattern, this is because each card type starts with a different number and has a different format.
Visa
Amex
Discover
MasterCard
etc.
https://www.regular-expressions.info/creditcard.htmlGood luck:
------------------------------
Good Luck. - RP
PLEASE MARKED SOLVED WHEN POSSIBLE
------------------------------
Original Message:
Sent: 12-05-2021 06:50 AM
From: Yousef Alrumayh
Subject: Need to create data identifier using a list of Credit card numbers to run endpoint discovery scan
Hi RP,
Thank you for your response.
I would have created a DI if i will be having few patterns but actually i am having the patterns in thousands. I am not able to understand how to use that?
Original Message:
Sent: 12-01-2021 02:19 AM
From: RONAK PATEL
Subject: Need to create data identifier using a list of Credit card numbers to run endpoint discovery scan
Yousef,
Best way is to create a Data Identifier that detects these specific CC numbers. There is an existing Data Identifier that looks for ALL CCN numbers, it has specific REGEX for the different CC types.
Take a look at the existing Credit Card Data Identifiers (PCI).
DO NOT edit the existing Data Identifier.. make your own.
Hopefully the CCN list has the same beginning numbers or something to make it easier than looking for ANY CCN.
Make sure to add the LUHN check and other add-ons to the DI.
------------------------------
Good Luck. - RP
PLEASE MARKED SOLVED WHEN POSSIBLE
Original Message:
Sent: 11-30-2021 05:55 AM
From: Yousef Alrumayh
Subject: Need to create data identifier using a list of Credit card numbers to run endpoint discovery scan
Hi,
I have a list of Credit card (Visa/****) Bin details and we need to use those Credit card numbers to run endpoint discovery scan on the workstations. The list is pretty big, so please suggest how to create data identifier using that list of Credit card numbers.