No, end-to-end encryption does not prevent Facebook from accessing WhatsApp chats

Image for post
Image for post
Photo by Rachit Tank via Unsplash

At a glance

  • During his Congressional hearing, Mark Zuckerberg claimed that Facebook doesn’t have access to WhatsApp chats thanks to end-to-end encryption.
  • Nevertheless, communication channels between the WhatsApp and Facebook iOS apps could be abused to leak data from the entire chat history.
  • The object of this article is not to claim that Facebook snoops on WhatsApp chats, but that end-to-end encryption is used by both WhatsApp and Facebook as a disingenuous and misleading argument to reassure the public.

Context

In August 2016, WhatsApp announced in a blog post that it would begin sharing limited amounts of data with its parent company Facebook. At the time, end-to-end encryption was put forward as a strong privacy safeguard:

Porous Sandboxing

In its first iterations, the iOS file system was strictly sandboxed: apps could only access files in their own container, greatly increasing security and privacy. But this pro-privacy choice of the Jobs era came with significant caveats: you couldn’t, for instance, record audio in one app and edit it in another. Or work on a Pages document and then upload it to an FTP server with a file manager app. Some clunky workarounds existed, but it became increasingly clear that strict sandboxing was getting in the way of productivity.

Image for post
Image for post
Facebook’s “family” shared container, accessible by Messenger
Image for post
Image for post
Facebook’s “family” shared container, accessible by WhatsApp

Aren’t WhatsApp chats encrypted anyway?

It’s complicated. Messages are encrypted when you send them, yes. But the database that stores your chats on your iPhone does not benefit from an extra layer of encryption. It is protected by standard iOS data protection, which decrypts files on the fly when needed. Here’s said database, extracted from my iPhone’s backup with iMazing:

Image for post
Image for post
ChatStorage.sqlite stores all messages and metadata displayed in WhatsApp

Hope?

Facebook is under such scrutiny that if it were to do something as extreme as collecting WhatsApp chats, it would be quickly caught by security researchers.

Timeline

  • September 2014: Apple rolls out Shared Containers in iOS 8.
  • October 2014: Facebook buys WhatsApp.
  • April 2016: WhatsApp rolls out end-to-end encryption.
  • August 2016: WhatsApp updates its Privacy Policy to include limited data sharing with Facebook.
  • April 2018: Mark Zuckerberg testifies before Congress and directly implies that WhatsApp chats are inaccessible to Facebook because of end-to-end encryption.

Written by

Co-leader at DigiDNA — we make iMazing, the best iOS device manager for Mac and PC: www.imazing.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store