Live data from Hacker News

Teenager facing prison for downloading unsecured files from government website

cbc.ca

41–50 of 502 posts

Re: Teenager facing prison for downloading unsecured files from government website

#41

Add "help avoid sending teenagers to prison" to the list of reasons why you should prefer UUIDs over integers in your Internet-facing REST API. This API was supposed to be private and yet supported trivial enumeration?

Many UUIDs aren't secure either and can be trivially enumerated. A better approach might be a long number generated using a secure random number generator and converted to a BASE-64 string.

A better approach would be to not put private data in the public domain.

Re: Teenager facing prison for downloading unsecured files from government website

#42

I wonder how they noticed. Perhaps the lowest-bid contract company that made the site decided to use something like amazon glacier for storage of boring documents nobody will ever need. Then along comes someone that causes them all to be extracted at great cost, some middle manager receives a bill for $millions and wants to blame the kid rather than his own failings.

The truth is even sadder than you might expect (the rest of this post is a quote from this article[0]):

Conrad said the breach was detected by a provincial employee, but it was a fluke.

“The employee was involved in doing some research on the site and inadvertently made an entry to a line on the site — made a typing error and identified that they were seeing documents they should not have seen,” Conrad told a technical briefing.

[0]: http://toronto.citynews.ca/2018/04/11/halifax-police-probing...

Re: Teenager facing prison for downloading unsecured files from government website

#43

Add "help avoid sending teenagers to prison" to the list of reasons why you should prefer UUIDs over integers in your Internet-facing REST API. This API was supposed to be private and yet supported trivial enumeration?

If the information is supposed to be private wouldn't you want to use token based auth or something similar? I wouldn't feel comfortable exposing information publicly even if it was behind a UUID.

Re: Teenager facing prison for downloading unsecured files from government website

#44

Add "help avoid sending teenagers to prison" to the list of reasons why you should prefer UUIDs over integers in your Internet-facing REST API. This API was supposed to be private and yet supported trivial enumeration?

Many UUIDs aren't secure either and can be trivially enumerated. A better approach might be a long number generated using a secure random number generator and converted to a BASE-64 string.

I think a cryptographic hash is fine.

If you know the hash, you likely already know the file.

Re: Teenager facing prison for downloading unsecured files from government website

#45
post #6

Since this is publicly accessible, what would be the chance that search engines indexed the files? In this case, would Google bot be charged? Or if this were, say, Equifax or Facebook. I mean, in those situations, the companies were blamed for "the leak". It seems rather convenient to cherry pick the law to apply on this poor teenager.

I think I read that Google had, in fact, indexed all of these pages.

Re: Teenager facing prison for downloading unsecured files from government website

#46

Really worried about what the authorities might find in his 30TB of 4chan backups. Hoping for the best outcome for them.

Exactly. Why did this kid admit that? How astronomcally low are the odds there's nothing illegal to possess in there?

He's a 19 year old kid, not a criminal mastermind

Re: Teenager facing prison for downloading unsecured files from government website

#47
post #40
post #4

This reads like the beginning of The Hacker Crackdown.. As a Canadian, reading this article made me angry. If the information is not supposed to be public, it should not be reachable without authorization or authentication. Never mind a curious 19-year-old, there are tons of crawlers and indexers out there that attempt to enumerate URLs where they think there might be other content. Shame on them for building a poorl…

Is there a Canadian version of the EFF, or does the EFF have an Canadian branch?

Possibly https://cippic.ca/

They helped Geocoder.ca with their 4 year lawsuit: https://geocoder.ca/?sued=1

Re: Teenager facing prison for downloading unsecured files from government website

#48
post #4

This reads like the beginning of The Hacker Crackdown.. As a Canadian, reading this article made me angry. If the information is not supposed to be public, it should not be reachable without authorization or authentication. Never mind a curious 19-year-old, there are tons of crawlers and indexers out there that attempt to enumerate URLs where they think there might be other content. Shame on them for building a poorl…

i can see how the older generation is thinking though, they see it like leaving a window unlocked doesn’t mean you can

the laws are interpreted and applied by powerful people in a way that suits the way they think - that much i think could have been predicted (but not by a teenager)

did the weev ruling surprise anybody other than hackers?

Re: Teenager facing prison for downloading unsecured files from government website

#49
Good thing he’s in Canada and only got raided. If he were in the USA, they would have tossed flashbangs and tear gas into his house, vaulted in through the windows, shot the family dog, and held the whole family at gun point, boots on their necks.

It’s a shame that police departments think these “shock and awe” tactics are even remotely appropriate for dealing with non-violent suspects.

Re: Teenager facing prison for downloading unsecured files from government website

#50

Really worried about what the authorities might find in his 30TB of 4chan backups. Hoping for the best outcome for them.

Exactly. Why did this kid admit that? How astronomcally low are the odds there's nothing illegal to possess in there?

"How astronomcally low are the odds there's nothing illegal to possess in there?"

That is a haunting reflection of the state of affairs with regards to information and laws regarding information. Criminalizing the mere possession of information should be a tool only of the despotic and/or idiotic.

Of course, these clowns left "private" information accessible by public urls without identification, so we know that they're at least idiots.

Post reply on HN