WhatsApp doesn’t delete your ‘deleted’ messages

The iOS app’s vulnerability dents WhatsApp’s security credentials

WhatsApp still stores your conversations even if you delete them, a security researcher has discovered.

The latest version of the iOS app leaves a forensic trace of chats whether or not you delete, clear, or archive your messages, iOS security expert Jonathan Zdziarski said in a blog post yesterday.

The problem, Zdziarski explained, is that once WhatsApp messages are deleted, they enter a "free list" stored locally on your application's SQLite database, and are not deleted from the device until the database needs to free up storage space.

Advertisement - Article continues below

As the researcher said: "The core issue here is that ephemeral communication is not ephemeral on disk."

But he added: "There is no guarantee the data will be overwritten by the next set of messages. In other apps, I've often seen artifacts remain in the database for months."

This might not be a problem if it were not for the fact that this database of stored messages is sent into your iCloud in routine backups, if you have those enabled.

While WhatsApp recently boosted its security credentials by making end-to-end encryption over the air standard for all types of communication on the platform, iCloud does not allow you to encrypt any backups.

Advertisement - Article continues below

Zdziarski said: "Law enforcement can potentially issue a warrant with Apple to obtain your deleted WhatsApp chat logs, which may include deleted messages. None of your iCloud backup content will be encrypted with your backup password (that's on Apple, not WhatsApp)."

Advertisement - Article continues below

Those relying on using iTunes's Encrypt Backups' option on desktop backups, rather than backing up to iCloud, could fall foul of forensics tools designed to hack passwords, he added.

To mitigate the security risk, the researcher recommended setting up a complex backup password for your iOS device that is not stored in the keychain.

He also urged people to disable iCloud backups, due to iCloud not supporting encryption, and to periodically delete the WhatsApp app in order to flush out the database of deleted records. 

On WhatsApp, Zdziarski said: "A poor design choice could quite realistically result in innocent people sometimes people crucial to liberty being imprisoned.

"The SQLite database does not need to come off in a backup at all. The file itself can be marked in such a way that it will not be backed up. The manufacturer may have set this behavior so that restoring to a new device will not cause you to lose your message history. Unfortunately, the tradeoff for this feature is that it becomes much easier to obtain a copy of this database."

Featured Resources

Top 5 challenges of migrating applications to the cloud

Explore how VMware Cloud on AWS helps to address common cloud migration challenges

Download now

3 reasons why now is the time to rethink your network

Changing requirements call for new solutions

Download now

All-flash buyer’s guide

Tips for evaluating Solid-State Arrays

Download now

Enabling enterprise machine and deep learning with intelligent storage

The power of AI can only be realised through efficient and performant delivery of data

Download now


cyber security

Hackers torn over how to adapt their tactics to the coronavirus pandemic

3 Apr 2020

Most Popular


Google releases location data to show effectiveness of coronavirus lockdowns

3 Apr 2020
data management

Oracle cloud courses are free during coronavirus lockdown

31 Mar 2020

These are the companies offering free software during the coronavirus crisis

2 Apr 2020