Industry News

WhatsApp doesn’t properly erase your deleted messages, researcher reveals

There were cheers a few months ago when WhatsApp announced that it was using end-to-end encryption for all messages by default, boosting the privacy and security of users.

But now respected iOS security researcher Jonathan Zdziarski claims to have found a worrying weakness in WhatsApp, that could open a door for intelligence agencies and other prying eyes to snoop upon your private conversations, even after they have been “deleted” from the app.

In a blog post, Zdziarski describes how he found a “forensic trace” of supposedly-deleted conversations on his iPhone’s disk image:

Sorry, folks, while experts are saying the encryption checks out in WhatsApp, it looks like the latest version of the app tested leaves forensic trace of all of your chats, even after you’ve deleted, cleared, or archived them… even if you “Clear All Chats”. In fact, the only way to get rid of them appears to be to delete the app entirely.

What this means is that the WhatsApp app itself won’t show you any evidence of cleared chats, but your iPhone’s physical hardware preserves a record of the conversations on its disk because the data is not automatically overwritten. This means that someone who has physical access to your iPhone could use data forensic tools to recover private conversations that you believed had been wiped.

forensic-trace

Furthermore, conversations you believe to have been wiped might actually be being backed up unencrypted to the cloud:

And even if you *do* backup your phone to your desktop computer with a password, cracking tools are available to help hackers in their attempts to break into the backup or recover your password from your keychain.

Should millions of WhatsApp users be panicking right now? No, probably not. But if you are in the habit of having sensitive conversations, and believe you might be at risk, live in an oppressive country, or work in the field of human rights then it might be wise to consider switching messaging apps.

But beware – it turns out that WhatsApp may not be alone in lulling its users into a false sense of security. iMessage suffers in a similar manner:

Apple’s iMessage has this problem and it’s just as bad, if not worse. Your SMS.db is stored in an iCloud backup, but copies of it also exist on your iPad, your desktop, and anywhere else you receive iMessages. Deleted content also suffers the same fate.

Signal, endorsed by no less an authority than Edward Snowden, does not not suffer from leaving sensitive information lying around on an iPhone, according to Zdziarski:

“Signal leaves virtually nothing, so there’s nothing to worry about.”

Zdziarski’s blog post describes steps that WhatsApp’s development team might like to consider if it wishes to do a better job of securing users’ private conversations.

Seeing as WhatsApp introduced end-to-end encryption to such a rapturous reception, one imagines that they are keen to support the privacy of their users and will work hard to address this flaw as quickly as possible.

About the author

Graham CLULEY

Graham Cluley is an award-winning security blogger, researcher and public speaker. He has been working in the computer security industry since the early 1990s, having been employed by companies such as Sophos, McAfee and Dr Solomon's. He has given talks about computer security for some of the world's largest companies, worked with law enforcement agencies on investigations into hacking groups, and regularly appears on TV and radio explaining computer security threats.

Graham Cluley was inducted into the InfoSecurity Europe Hall of Fame in 2011, and was given an honorary mention in the "10 Greatest Britons in IT History" for his contribution as a leading authority in internet security.

4 Comments

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Well, Telegram is not very secure either. I have a research paper or rather a Master Theses by Jakob Jakobsen from this past September about how their encryption can be broken. Furthermore, "Mobile networking experts from security firm Positive Technologies revealed last week a new attack that uses the SS7 mobile telecommunications protocol that allows attackers to impersonate mobile users and receive messages intended for other people."
    http://news.softpedia.com/news/ss7-attack-leaves-whatsapp-and-telegram-encryption-useless-503894.shtml
    So, looks like its back NRO the drawing board.
    The recent coup attempt in Turkey revealed similar information about What's app messages having been recovered by investigators.

  • I hate whatsApp anyways and stopped using it :) Can you, plz, do an investigation about Telegram and tell your followers it it is as safe and private as they claim?

  • This is not news! Or even a flaw/failing! It is fear mongering. The vast majority of stuff you "delete" is not actually deleted, not -securely- anyhow. Nor does it need to be in the vast majority of cases.

    Get a recovery program and check for yourselves, you'll find all sorts of things you "deleted" can be recovered. If you're not aware of this and you consider your " tech savvy", you fail!