4 ms·
The mystery of there being more ID numbers in the breach than people in SA could be explained if they were being used in the database as a generated primary key
by thrwway_x34 9y ago
The mystery of there being more ID numbers in the breach than people in SA could be explained if they were being used in the database as a generated primary key, and since the remaining columns are nullable, they could filled in with data from various sources as it is sucked in. The fact that New_IDn [1] is an bigint leads me to strongly suspect this, since most developers in SA would treat ID numbers as strings, rather than numbers, unless they had a very good reason to do otherwise.
It would be pretty easy to figure this out by stripping out the last 3 digits from the ID numbers in the DB, and then ordering them by the first 6 (DOB) digits. Assuming that digits 7-10 are allocated to males and females sequentially in their respective ranges, there should be much sparser data for higher numbers in digits 7-10 (say, above 5500 for males and 0500 for females) [2], since those people wouldn't exist.
As for the source of the data, I have never owned property, but my email was in the breach, so the Deeds Office isn't the (only?) source of the data. I also doubt that the Deeds Office even records email addresses.
If would strongly suspect a credit bureau or two, since they track historic address data, emails and employers. I have my credit reports that have slightly incorrect address data from SA credit bureaus, and it would be interesting to see if it matches the data in the DB. My wife, mother, and children don't have credit records of any significance, and none of their emails came up in the breach, and my father and I, who do, had our emails exposed, according to haveibeenpwned.
[1]New_IDn is the column name because the original ID numbers tracked race in Digit "A", and this fell away as apartheid was dismantled, so people born before around 1990 had their original ID numbers reissued, and position A now has an "8" for everyone.
[2]A good upper bound guess would be to look at the number of births in a particular year/365/2 (for each sex)
- sgt 9y agoThe excess ID numbers are AFAIK due to deceased people being in the table.
- thrwway_x34 9y agoThat's a guess from Troy at this point, he also points out that there may be expats. It should be easy enough to define some statistical tests on the ID numbers and dead/alive status to see if they fit the demographics of the SA as of 2015. Also, the SA population pyramid has, for example, a bulge in the 25-29 group...the breached ID numbers should reflect those trends, rather than being uniformly distributed. Also, remember that a big percentage of South Africans are poor, and likely to not appear in any databases except for Home Affairs itself, so unless that's the source of the breach I doubt there are any other DBs with even close to that number of ID numbers.
- danielbarla 9y ago> The mystery of there being more ID numbers in the breach than people in SA Do you have a reference for this? From what I've seen, Troy managed to restore 31.6 million records, and said previously that the full backup seems to have 45 million. There last national census (2011) put the (current, living) population at 51.7 million, and rapidly growing. Granted, many of those are not of home ownership age, but the ballpark is very close all of a sudden (especially if you include the deceased). There's also the question of whether those records are unique ID numbers; from what I understand (based on discussions of colleagues who work with actual SA deeds data), each record represents one status change in title deed of a property. So, each property purchase you've made will be in there as a row, with some people in there dozens of times. Edit: I see he talks about 60 million rows; though I wonder if the statement about uniqueness is correct. Since the table he refers to seems to have two columns with the letters "ID" in it, I'd wager that the first one is a simple autonumber, and the second one is the actual ID number. But who knows, he's the one with the data.
- SideburnsOfDoom 9y ago> Do you have a reference for this? From what I've seen, Troy managed to restore 31.6 million records, and said previously that the full backup seems to have 45 million the reference for an update on those numbers is in the article linked above. He later got all the data in. From TFA: "My original import of the South African "Master Deeds" data didn't complete. Just ran a complete one: 60,323,827 rows with unique gov IDs."
- danielbarla 9y agoI noticed that just after posting; made an edit though. Since he's basing that on a row count, I'm not convinced it's necessarily unique IDs. To be fair, I don't have the data, and he does. We do like our autonumbers here in SA, so I wouldn't be surprised, despite the column name.
- SideburnsOfDoom 9y agoThe row count is puzzling, yes. There simply are not that many property-owning South African citizens. Some expats are known to be in that data. Then there are the rows marked deceased. But as others have pointed out, so many South African citizens (out of the circa 55 million) are poor and are not property owners. The 60 million rows of data hasn't been comprehensively accounted for yet.