No, your data isn’t secure in the cloud

By Lucas Mearian, ComputerworldMacworld

While online data storage services claim your data is encrypted, there are no guarantees. With recent revelations that the US Federal Government taps into the files of internet search engines, email and cloud service providers, any myth about data ‘privacy’ on the internet has been busted.

Experts say there’s simply no way to ever be completely sure your data will remain secure once you’ve moved it to the cloud.

“You have no way of knowing. You can’t trust anybody. Everybody is lying to you,” says security expert Bruce Schneier. “How do you know which platform to trust? They could even be lying because the US Government has forced them to.”

While providers of email, chat, social network and cloud services often claim – even in their service agreements – that the data they store is encrypted and private, most often they – not you – are the ones who hold the keys. That means a rogue employee or any government ‘legally’ requesting encryption keys can decrypt and see your data.

Even when service providers say only customers can generate and maintain their own encryption keys, Schneier said there’s no way to be sure others won’t be able to gain access.

For example, Apple’s SMS/MMS-like communications platform, iMessage, claims both voice and text are encrypted and can’t be heard or seen by third parties. But because the product isn’t open source, “there’s no way for us to know how it works,” says Dan Auerbach, a staff technologist with the Electronic Frontier Foundation (EFF). “It seems because of the way it works on functionality, they do have a way to access it. The same goes for iCloud.”

Freedom of Information Act requests by the American Civil Liberties Union (ACLU) revealed earlier this year that the US Government claims the right to read personal online data without warrants.

“It is the case everywhere in the world that governments seem to believe that if data is recorded and available, they should be able to access it,” says Jay Heiser, an analyst at research firm Gartner. “It’s not unique to the US, although the United States brags about it to a unique degree.”

In addition to the fact that the Government has admitted to collecting ‘metadata’ (data that describes your data) on, well, everybody, it’s also true that internet giants such as Google, Microsoft and Yahoo have for years been handing over data in response to government requests.

Google regularly gets requests from governments and courts around the world to hand over user data. Last year, it said it received 21,389 government requests for information affecting 33,634 user accounts. And, 66 percent of the time, Google provided at least some data in response.

During the same period, Microsoft received 70,665 requests affecting 122,015 accounts – more than three times the number Google received. Only 2.2 percent of those requests resulted in Microsoft turning over actual content; 1558 accounts were affected by that activity. Another 79.8 percent of the requests resulted in disclosure of subscriber or transactional information; that activity affected 56,388 accounts.

cottage industry is growing up around tools that enable consumers to place virtual padlocks on data they keep in the cloud so the vendors themselves can’t get to the information – even if the Government asks for it.

New documents that the ACLU obtained from the FBI and US attorneys’ offices revealed startling realities around the Government’s email surveillance practices. In March, the ACLU also obtained documents showing that the IRS sometimes reads citizens’ emails without first obtaining a court order.

Who has your back?

When it comes to using cloud services, Auerbach said there are no black-and-white guidelines regarding what you can and can’t trust the service providers to store.

“A lot of people may not mind that the [cloud service] company may pass some of their data to the Government,” Auerbach says. “Other types of data they may be more concerned about.”

For example, if you’re a consumer and you’re storing photos, videos, digital music or innocuous documents on a cloud storage service, you may not mind that a hacker or the Government gets access to your files. And if you’re a company that’s archiving nonsensitive historical records – financial statements, presentations, news releases or marketing materials – again, there may be no concern about who sees it.

But even if you’re not concerned about keeping certain types of data private, it’s good to know whether a service provider will try to protect your information from government intrusion.

“There are also companies that have friendlier policies… that demonstrate they fight for users and try to push back against unreasonable government requests for data,” Auerbach says. “Who’s got your back? Does this company require a warrant for customer data? We give companies stars based on whether they meet that criteria.”

The EFF, a privacy advocacy group, has filed a lawsuit challenging the NSA’s spy program. It has also created a website that rates 19 of largest internet companies on how hard they try to protect your data. The EFF site ‘Who Has Your Back‘ awards companies gold stars based on each of these six criteria:

  • requires a warrant for content
  • tells users about government data requests
  • publishes transparency reports
  • publishes law enforcement guidelines
  • fights for user privacy rights in courts, and
  • fights for user privacy rights in Congress.

For example, Apple, AT&T and Yahoo each received only one gold star out of six. Dropbox, LinkedIn and Google all have five stars. Twitter and ISP were awarded six out of six gold stars for their efforts to protect user data.

“Ultimately, if you are really are worried about your data going to the Government, given there are streamlined legal processes by which they can get access to your data these days, it’s good for users to keep data stored locally and only in the cloud in an encrypted way,” Auerbach says.

Another initiative aimed at protecting consumer and corporate data is the Tahoe Least Authority File System (Tahoe-LAFS) project. A free and open-source storage system created by developer Zooko Wilcox-O’Hearn, Tahoe-LAFS is designed to ensure that data is kept secure from prying eyes and that it is resilient in the event of hardware failure. The service is distributed across a grid of multiple storage servers.

Wilcox-O’Hearn’s goal is to develop a system that competes with services such as Dropbox and encrypts data in meaningful way. With Tahoe-LAFS, all of the data is encrypted and integrity-checked by a gateway server, so that the servers can neither read nor modify the contents of the files.

“Even if some of the servers fail or are taken over by an attacker, the entire file system continues to function correctly, preserving your privacy and security,” the Tahoe-LAFS website claims.

Users looking for a really robust online storage solution, should consider end-to-end cryptography, Auerbach says. With end-to-end cryptography, the encryption keys are only live on your private server or computer.

“That way, the service provider only sees encrypted, garbled junk,” he says.

For text-based communications, such as instant messaging, the OTR (Off the Record) protocol is sufficient to ensure your messages are secure, Auerbach says. OTR is a cryptographic protocol that uses a combination of the AES algorithm, the Diffie-Hellman key exchange and the SHA-1 hash function.

For email, the Pretty Good Privacy (PGP) protocol and Open PGP encrypt emails to a recipient so no service provider can see what you send.

The one issue with encrypting emails and texts is that the person you are communicating with must also have the protocol operating on their system so that you can share the public key with them to decrypt the data.

For documents, TrueCrypt or PGP are reliable encryption algorithms that give a user full control over keys, and they’re free. There are also password managers and password generators, such as KeyPass or OnePass, that ensure your password is random, encrypted and more resilient to brute force attacks.

A private social network

When it comes to social networks – Facebook, Twitter, LinkedIn, Google+ or Ning – the only protection is what the provider offers in terms of privacy settings. But that doesn’t mean your data can’t still be accessed by the service provider or that the Government can’t gain access to it.

“If we lose this privacy, then what good is the cloud?” says Mark Weinstein, an online privacy expert. “How would you feel if all your friends and relatives could view your text messages and emails?”

Weinstein has created a private social network called Sgrouples, where users’ passwords and data will be encrypted with the Blowfish cypher algorithm. The site is live now, but its privacy service is still under development and is expected to roll out in the fourth quarter.

The social network will allow groups or ‘friends’ to share encrypted content, and only the users will have the keys to see one another’s posts. Like other social networks, it allows people to share documents, videos and calendar events. It can be used on a desktop or mobile platform. Users are offered 4GB of free storage space for their content.

Sgrouples has a privacy bill of rights that promises that users own their own content, that it will never have tracking cookies, that it won’t allow users to stalk other users and that it won’t allow bullying.

The site’s bill of rights also states that if Sgrouples ever changes its policies, even if another company acquires it, it must notify its users and give them an easy way to delete their accounts.

“If the Government came to us with a court order, we’d have to comply, and I want to comply with our court system,” Weinstein says. “But, there’s nothing for us to hand over.”

“When I’m posting to my friends, I don’t want a company spying on me, nor do I want my grandmother seeing what I’m posting,” he added. “We just don’t believe life is fundamentally public.”