Re:GitHub sued for aiding hacking in Capital One breach
by vharuck on Sunday August 04, 2019 @10:38AM
(#20606766)
Barriers to posting SSN-like data would make it difficult for a lot of people to do their job. Software that handles SSN info should have fake data for tests.
[ Parent
| on HN ]
Re:GitHub sued for aiding hacking in Capital One breach
by RijilV on Sunday August 04, 2019 @10:56AM
(#20606871)
Also SSN isn’t that distinctive of a format. nnn nn nnnn. Check bits and reserved prefixes were all removed decades ago when it became clear we’d run out unless we use the whole name space (and even then that buys us to 2100). \d{3}\s?\d{2}\s?\d{4} will match a surprising amount.
Detecting SSNs is hard without accepting a high false positive rate. Much harder than phone numbers, credit card numbers, or cloud credentials.
Re:GitHub sued for aiding hacking in Capital One breach
by dfcmt on Sunday August 04, 2019 @11:27AM
(#20607074)
\w\d{3}[\s\-]?\d{2}[\s\-]?\d{4}\w should not have many wrong results.
You can also try to guess is something is a list of SSNs from the context.
Re:GitHub sued for aiding hacking in Capital One breach
by marcinzm on Sunday August 04, 2019 @11:53AM
(#20607239)
I'd assume many systems would store SS numbers without spaces or dashes in the backend so that rendering is up to the client. Which means you're looking for 9 digit strings. For example, full zip codes (xxxxx-xxxx) are also 9 digit strings.
Re:GitHub sued for aiding hacking in Capital One breach
by greggyb on Sunday August 04, 2019 @01:06PM
(#20607776)
I've posted elsewhere in this thread about this. There's really no reason to expect SSNs as strings for internal use. 32bit integers readily represent the same, as the max SSN is just a 9-digit number. I've seen at least one client store SSNs as INTs in a database and handle left-padding to 9 characters and interposing hyphens in display code.
Any 9-digit integers are immediately suspect under this reasonable storage choice.
Re:GitHub sued for aiding hacking in Capital One breach
by Avamander on Sunday August 04, 2019 @10:54AM
(#20606859)
Not to mention the pure absurdity of trying to censor numbers.
Re:GitHub sued for aiding hacking in Capital One breach
by dfcmt on Sunday August 04, 2019 @11:30AM
(#20607094)
In this digital age, everything (text, images, audio) can be encoded using integers. Does that mean it's absurd to try to make anything secret?
Re:GitHub sued for aiding hacking in Capital One breach
by Avamander on Sunday August 04, 2019 @01:05PM
(#20607760)
You're strawmaning. I did not speak about making things secret. I also suggest you check this article out https://en.wikipedia.org/wiki/Free_Speech_Flag so you understand the difference between censorship and secrecy.