3 ms·
Are the contents of push notifications not encrypted? Or are we talking about payloads rather than transport?
by nvahalik 3y ago
Are the contents of push notifications not encrypted? Or are we talking about payloads rather than transport?
- angio 3y agoThey mention metadata in the article. Imagine sending a message to a Signal account at time X, then asking Apple a list of all users that received a Signal notification at that specific time.
- anthonyskipper 3y agoThis ^. approach and modified forms of it can bu used to track lots of things, and have be done so for decades by some goverment agencies. You can use a method like this even if people are using encryption and lot of anonymous tunnels. You simply shape the traffic and watch where the shape of that traffic stops. Can track people realtime across almost any link, including things like Tor, etc.
- withinboredom 3y agoI had to anonymize some data while still keeping some details. You could imagine individual trees that needed to be put into groups of similar trees so individual details were lost. Anyway, these "trees" were effectively user behavior across all our products. I was shocked that simply knowing *when* (to within a second or two) a person did two or more things, you could narrow it down to *one single person* out of hundreds of millions.
- tantalor 3y agoThat doesn't make sense. I would expect Signal notifications to happen completely out-of-band with "normal" push notifications (e.g. NYT news alert). Otherwise that completely defeats the purpose of the service. Basically you're saying Apple/Google are MITM'ing Signal.
- seanw265 3y agoI'm not so familiar with Signal, but could you explain why you would expect Signal notifications to happen out-of-band with normal push notifications? Assuming Signal sends push notifications of some sort, as most messaging services do, that would make them vulnerable to the metadata-level attacks described in this thread. What kind of "out-of-band" are you thinking of that would mitigate this issue?
- dz0ny 3y agoNot using APN I assume, but then you are not allowed(or rather won't pass the review) to publish the app in the App Store.
- tantalor 3y agoWhy: because otherwise the service, which is supposed to be private, is no longer private. I dunno how it would work, maybe something like a third-party push? Why does everything have to be channeled through central service? A service like Signal could operate its own push channel.
- dylan604 3y agono, that's not basically it. MITM to me means being able to read the data by placing yourself in the encrypted chain. that's not how push notifications work. they don't need to know the contents of the message
- 3y ago
- Klonoar 3y agoUnless I’m mistaken - and I might be or it may have changed - Signal notifications on iOS just tell the app “hey, something happened, call the service and check for updates”. I.e, the push notification itself contains little to nothing in terms of data/metadata. You can also of course decrypt a notification by shipping an extension to do so, and maybe Signal does - it’s been awhile since I poked around it. I’d just be surprised if the Signal team didn’t analyze the issue to death and find the gaps.
- daveoc64 3y agoWhat you've said is correct, but it doesn't stop the attack vector described. If the question to Apple or Google is "who received a notification from Signal at 17:15 UTC?" then even if the notification is “hey, something happened, call the service and check for updates”, you've got your answer.
- dfawcus 3y agoTo defeat it, one would have to regularly send cover traffic (i.e. push messages saying "nothing happened"), and accept that notification of messages may be delayed until that regular period. i.e. the app sends its push token to its back end, together with a "use by" date. The server sends a push by that time, even if there is nothing to send. In the case of receiving such a "nothing happened" push, the app gets a new token, and informs the back end server. The constraint there is how frequently Apple / Google will allow pushes, and how well the respective central server can scale to sending all of those dummy notifications. The cost for the mobile being extra data use, and extra battery from the forced wake ups. So it may have to be a configurable option in the app. So do Apple / Google allow at least one notification per hour?
- Klonoar 3y agoI would have to imagine that a high enough level of traffic/users would obscure this sufficiently. e.g: If the question to Apple or Google is "who received a notification from Signal at 17:15 UTC?", then that could very well be a million people.
- acdha 3y agoOthers have mentioned the timing attacks but also payloads are not encrypted unless the app developers remember to build that. This linked essay discusses both threats: https://blog.davidlibeau.fr/push-notifications-are-a-privacy-nightmare/ https://blog.davidlibeau.fr/push-notifications-are-a-privacy...
- TremendousJudge 3y agoThank you I was wondering about that. A couple of days ago I heard somebody mention that push notifications go through the backend and that it was a huge privacy issue, and I just couldn't believe that messaging apps that are "encrypted" would go through all that work just to then send the unencrypted message to Google's servers