Skip to content
Menu
Get A Quote

Smart Identifier Search Patterns

Smart Identifier Search Patterns

SmartID’s, or Smart Identifier Patterns are regular expressions created with qualifiers when appropriate. These SmartID’s are used during Data Loss Prevention (DLP) processing to look for and act on specific violations.

In some cases, SmartID’s are very generic due to the nature of the search item and must be combined with dictionaries and proximity searches in order to reduce the number of false positives.

For example, a rule that is looking for Social Security Numbers (SSN) will trigger if the format of nine digits (nnn-nn-nnnn) is matched, but could also trigger on any nine digit number. To reduce the number of false positive results on unformatted SSN, we look for numbers that are nine digits and do not whole group zeros (e.g. 000-11-2222, or 111-00-2222). We also check that the number is near an indicative word in one of our dictionaries (e.g. SSN or Soc Sec No).

Alaska or Alabama driver’s license numbers are unformatted numbers of lengths between five and seven or seven and eight digits respectively. In these cases we would expect a higher number of false positives since these license numbers are indistinguishable from each other if the length is equal to seven.

We attempt to reduce the number of false positives for driver’s licenses by using the SmartID’s in conjunction with the USDL (United States Drivers License) dictionary.

Smart Identifier Formats

The following is a description of the most commonly used SmartIDs and the search pattern that is being used for Social Security Numbers, Credit Cards and Drivers Licenses. In the case of most Credit Cards, a valid must also work with the Luhn Algorithm, so the SmartID contains the logic to verify the number against this checksum formula.

Social Security Number Smart Identifier

Formatted – matches nnn-nn-nnnn
Unformatted – matches – nnnnnnnnn

Excludes:

  • All zero’s in any group
  • Numbers starting with 666 or 900-999
  • Numbers from 987-65-4320 to 987-65-4329

Credit Card Smart Identifier

American Express (0000-000000-00000):
– 15 digit number that starts with 34 or 37 + Luhn.

Diners Club / Carte Blanche (0000-000000-0000:
– 14 digit numbers that start 3000-3059/3600-3699/3800-3899 followed by 6 digits followed by 4 digits.

Discover Card (0000-0000-0000-0000):
– 16 digit numbers that start with 6011 + Luhn.

Master Card (0000-0000-0000-0000):
– 16 digit numbers that start with 5100-5599 + Luhn.

Union Pay-China (0000-0000-0000-0000):
– 16 digit numbers that start with 62 + Luhn.

Visa (0000-0000-0000-0000):
– 13 or 16 digit numbers that start with 4 + Luhn.

Banking Smart Identifier

ABA Routing Number:

  • Format is XXXXYYYYC
  • XXXX = Federal Routing Number
  • Must be in the ranges 00 through 12, 21 through 32, 61 through 72, or 80 but this is not enforced by the SmartID.
  • YYYY = ABA Institution Number
  • C = Check Digit

ABA Routing Number and Bank Account Number:

  • Format is kXXXXYYYYc ZZZZZQQQQQQQQQQQ
  • XXXX = Federal Routing Number
  • Must be in the ranges 00 through 12, 21 through 32, 61 through 72, or 80 but this is not enforced by the SmartID.
  • YYYY = ABA Institution Number
  • C = Check Digit
  • Required Whitespace
  • ZZZZZ = Five digit Bank Account Number
  • QQQQQQQQQQQ = The extension of the Bank Account Number to a 17 digit number

Banking Account Terms and Bank Account Number:

  • Format is ______ZZZZZQQQQQQQQQQQ
  • ________ = Bank Account Terms that were placed in a dictionary but are now integrated into the current SmartID that Professional services has written.
  • Required Whitespace
  • ZZZZZ = 5 digit Bank Account Number
  • QQQQQQQQQQQ = The extension of the Bank Account Number to a 17 digit number

Canadian ABA:

  • Format is:
  • Canadian Routing Number 0XXXXXXXX
  • Bank of Montreal 7 digit account number XXXX-XXX
  • Bank of Nova Scotia 12 digit account number XXXXXXXXXXXX, no dashes
  • CIBC 7 digit account #XX-XXXXX
  • Royal Bank 7 digit account # XXX-XXX-X
  • Toronto Dominion several different account number formats are used:
  • XXXX-02XXXXX
  • XXXX-07XXXXX
  • XXXX-33XXXXX
  • XXXX-03XXXXX
  • XXXX-08XXXXX
  • XXXX-34XXXXX
  • XXXX-04XXXXX
  • XXXX-09XXXXX
  • 1XXXXX
  • XXXX-05XXXXX
  • XXXX-31XXXXX
  • XXXX-06XXXXX
  • XXXX-32XXXXX
  • X = Digit

Driver’s License Smart Identifiers

Alaska:

  • 5 – 7 numbers, no spaces or symbols

Alabama:

  • 7 – 8 numbers, no spaces or symbols

Arkansas:

  • 8 numbers, first number is always 9

Arizona:

  • 1 letter followed by 7 numbers, no spaces or symbols or SSN

California:

  • 1 letter followed by 7 numbers, no spaces or symbols

Colorado:

  • 9 numbers (00900090000) or SSN

Connecticut:

  • 9 numbers, no spaces or symbols
  • 1-2: Birth month if born in an odd year or birth month + 12 if born in an even year

Washington DC:

  • 7 numbers or SSN

Delaware:

  • 5-7 numbers, no spaces or symbols

Florida:

  • 1 letter followed by 12 numbers

Georgia:

  • 9 numbers, no spaces or symbols

Hawaii:

  • Letter “H” followed by 9 numbers or SSN

Iowa:

  • 9 characters (0009AA90000) or SSN

Idaho:

  • 2 letters followed by 6 numbers then 1 letter

Illinois:

  • 1 letter followed by 11 numbers (A0009000090000)

Indiana:

  • 10 numbers (000090090000)

Kansas:

  • Letter “K” followed by 8 numbers or SSN

Kentucky:

  • 1 letter followed by 8 numbers (A0090009000)

Louisiana:

  • 9 numbers starting with “00”

Massachusetts:

  • Letter “S” followed by 9 numbers or SSN

Maryland:

  • 1 letter followed by 13 numbers

Maine:

  • 7 digits (optionally) followed by “x” or “X”

Michigan:

  • 1 letter followed by 12 numbers

Minnesota:

  • 1 letter followed by 12 numbers

Missouri:

  • 1 letter followed by 6-9 numbers or SSN

Mississippi:

  • 9 digits or SSN

Montana:

  • 13 numbers
  • 1-2: Month of birth
  • 3-5: Randomly assigned
  • 6-9: Year of birth
  • 10-11: “41”
  • 12-13: Date of birth

New Jersey:

  • 1 letter followed by 14 numbers (A0000#00000#00000)
  • 10-11: Month of birth
  • 12-13: Year of birth
  • 15: Eye color

North Carolina:

  • 5-12 numbers

North Dakota:

  • 3 letters followed by 6 numbers or SSN

Nebraska:

  • 1 letter followed by 8 numbers

New Hampshire:

  • 10 numbers, no spaces or symbols

New Mexico:

  • 9 numbers, no spaces or symbols

Nevada:

  • One of 3 options
  • 10 Characters
  • 12 Numbers
  • 9 Characters starting with “X”

New York:

  • 9 numbers (000#000#000)

Ohio:

  • 2 letter followed by 6 numbers

Oklahoma:

  • 1 letter followed by 8 or 9 numbers or SSN

Oregon:

  • 5 to 7 numbers, no spaces or symbols

Pennsylvania:

  • 8 numbers (00 000 000)

Rhode Island:

  • 7 numbers, no spaces or symbols

South Carolina:

  • 9 numbers, no spaces or symbols

South Dakota:

  • 8 numbers or SSN, no spaces or symbols

Tennessee:

  • 8 or 9 numbers, no spaces or symbols

Texas:

  • 8 numbers, no spaces or symbols

Utah:

  • 4 to 9 numbers, no spaces or symbols

Virginia:

  • 1 letter followed by 8 numbers or SSN

Vermont:

  • 9 numbers, no spaces or symbols, or 7 numbers followed by “A”

Washington:

  • LLLLLFMYYXmb

Meaning:

  • LLLLL – Last Name
  • F – First Initial
  • M – Middle Initial
  • YY – Year of birth
  • X – Check digit
  • m – Month of birth
  • b – Day of birth

Wisconsin:

  • 1 letter followed by 13 numbers (A000900009#0000900)

West Virginia:

  • 7 characters
  • All numbers
  • One of A, B, C, D, E, F, I, S, 0, 1 followed by 6 numbers
  • 1X or XX followed by 5 numbers

Wyoming:

  • 9 numbers (0000009000)

Canadian Drivers Licenses

Alberta:

  • 1 letter and 5 numbers, no spaces or symbols
  • 2 letter and 4 numbers, no spaces or symbols
  • 6 numbers, no spaces or symbols
  • 7 numbers, no spaces or symbols
  • 8 numbers, no spaces or symbols
  • 9 numbers, no spaces or symbols

British Columbia:

  • 7 numbers, no spaces or symbols

Manitoba:

  • 6 letter, 3 numbers and 1 letter or number, no spaces or symbols
  • 7 letter, 3 numbers and 1 letter or number, no spaces or symbols
  • 7 letter, 3 numbers and 2 letter or number, no spaces or symbols

New Brunswick:

  • 4 numbers, no spaces or symbols
  • 5 numbers, no spaces or symbols
  • 6 numbers, no spaces or symbols
  • 7 numbers, no spaces or symbols

Newfoundland:

  • 6 numbers, no spaces or symbols
  • 3 letters, 3 numbers, no spaces or symbols
  • 1 letter, 9 numbers, no spaces or symbols

Nova Scotia:

  • 7 numbers, no spaces or symbols
  • 5 letter and 9 numbers, no spaces or symbols
  • 4 letter and 9 numbers, no spaces or symbols
  • 3 letter and 9 numbers, no spaces or symbols
  • 2 letter and 9 numbers, no spaces or symbols
  • letter and 9 numbers, no spaces or symbols

Ontario:

  • 1 letter, 14 numbers, no spaces or symbols

Prince Edward Island:

  • 6 numbers, no spaces or symbols
  • 12 numbers, no spaces or symbols

Quebec:

  • 1 letter, 12 numbers, Optional Space between the 4th number and the 5th number and between the 10th number and 11th number

Saskatchewan:

  • 8 numbers, no spaces or symbols

State Identification Numbers

Arizona:

  • 9 numbers, no spaces or symbols

Hawaii:

  • 1 letter and 7 numbers, no spaces or symbols

Illinois:

  • 4 numbers, optional delimiter, 4 numbers, optional delimiter, 3 numbers, and 1 letter

Michigan:

  • 1 letter, optional delimiter, 3 numbers, optional delimiter, 3 numbers, optional delimiter, and 3 numbers!

Missouri:

  • 11 numbers, no spaces or symbols!

Oklahoma:

  • 9 numbers, no spaces or symbols

Wyoming:

  • 2 numbers, optional delimiter, and 7 numbers

Some Of Our
Favourite Success Stories

We are a new Spambrella partner and we are deploying it to all of our customers using Office 365, Hosted Exchange, and Linux mail hosting customers. The management platform is quick to learn and effective and affordable. Our customers like it much better than previous spam filtering tools.

Dave M. MSP Partner, Review via Gartner Capterra

Get a quote…

Safeguard your business with Spambrella by starting a 30-day free trial.
Contact us to discuss integrations and ready-to-deploy security services for email.

Office Intel Proofpoint Cloudmark Microsoft The Defence Works