Calendar Icon White
August 21, 2022
Clock Icon
2
 min read

Scary Fact About SSN (Social Security Number)

Learn how your SSN is built

Scary Fact About SSN (Social Security Number)
Calendar Icon White
August 21, 2022
Clock Icon
2
 min read

Scary Fact About SSN (Social Security Number)

Learn how your SSN is built

TL;DR

Today, I will share a scary fact about your most important identity - SSN (Social Security Number)

TL;DR: If one knows your place of birth and date of birth, one can determine the first five digits of your SSN. The attacker only needs to get your last four digits which is not so difficult as it is conveniently shared across all platforms for identity verification purposes.

Let's dive in:

If you were born before 2011 and have a Social Security number, here's how your nine-digit number is constructed:

  1. The first three numbers represent the zip code of the Social Security office that issued it; most likely, it is where you were born and the nearest office in that zip code. Like zip codes, these numbers increase from east to west across the U.S. So, depending on where you were born, one can get deterministic value.
  2. The next two numbers are between 01 and 99, and there are some complex rules to determine them, but it turns out there is a deterministic relationship between your date of birth and these two numbers. For example, every SSN issued in Pennsylvania during 1996 contains the middle two numbers 76.
  3. The last four numbers are the only "random" numbers. They are supposed to be private, like your password. The last four are NOT supposed to be shared with anyone, just like how you must not share your password.
  4. Unfortunately, the last four have become our identity, and we give it over the phone, email, and websites for identity verification purposes. Insider attacks are common, with employees getting that last four and performing malicious attacks. Some data brokers sell truncated SSNs, with either the first five or the last four numbers visible to the purchaser.

    (FYI - post-2011, SSNs have been randomized. So, our kids "should be safe")

Founder, Strac. ex-Amazon Payments Infrastructure (Widget, API, Security) Builder for 11 years.

Latest articles

Browse all