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.

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

Advertisement
Advertisement - Article continues below
Advertisement - Article continues below

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.

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)."

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.

Advertisement - Article continues below

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

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now
Advertisement

Most Popular

Visit/operating-systems/microsoft-windows/354297/this-exploit-could-give-users-free-windows-7-updates
Microsoft Windows

This exploit could give users free Windows 7 updates beyond 2020

9 Dec 2019
Visit/security/identity-and-access-management-iam/354289/44-million-microsoft-customers-found-using
identity and access management (IAM)

44 million Microsoft customers found using compromised passwords

6 Dec 2019
Visit/cloud/microsoft-azure/354230/microsoft-not-amazon-is-going-to-win-the-cloud-wars
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Visit/business/business-strategy/354304/ex-apple-cpu-architect-accuses-the-firm-of-invading-privacy
Business strategy

Ex-Apple CPU architect accuses the firm of invading privacy

10 Dec 2019