Blocking outbound data collection
Is there a way to block outbound data collection traffic from apps? This episode of the Markeplace program on CBC shows how a University of Calgary professor is studying the amount of data being sent to companies all over the world from mobile apps.
The app trap: Exposing where your data goes
45
Upvotes
21
u/laplongejr 13d ago
Ofc. Simply block the domain those apps use. Most of the time the app won't work but it'll block outbound data collection.
2
u/acitta 11d ago
Some breaking news: REVEALED: TIM HORTONS APP SENDING SENSITIVE USER DATA TO ISRAELI CYBER-TECH COMPANY https://www.cjpme.org/pr_2026_11_17_tim_hortons_forter
6
u/Chemical_Inflation97 13d ago edited 12d ago
It depends what they're using to collect that info. Most of apps use the same analytics providers as every other tracker online. In that case, yes, pihole will block those calls if they're doing DNS lookups.
On the other hand, if they're using some homegrown thing served from the same place as the app content is, then it would be difficult to do without breaking the app.
You really have to know where the traffic is going before anyone can answer whether or not you can block it.
6
u/aoeudhtns 12d ago edited 12d ago
How far down the rabbit hole do you want to go?
Often, using DNS blocking can be effective. You need to make sure your devices don't have hardcoded alternate DNS; I use my router to reroute all outbound traffic on 53 to my pihole.
They may try using DoH (DNS over HTTPS) or DoT (DNS over TLS). For the latter, you can block all outbound 853 except originating from your PiHole. For the former, it's more difficult. Usually the main DNS responders run DoH (port 443) on the very same DNS servers. So you can block outbound 443 to all the common DNS responders and that will work fairly well but it's impossible to be complete.
Now, for telemetry going over domains with mixed use which makes it non-blockable from a DNS level, you'll need to consider alternates. If the device doesn't need the legitimate services of that domain, you could use groups in PiHole to block for those devices. Otherwise it will be quite difficult to partition the traffic. But usually I see telemetry services getting some unique name so I don't think this is too much of a worry.
ETA: Oh, and many of the telemetry collectors will keep logging it locally and wait until there's an opportunity to send it. So if it's blocked on your home network, but your device is mobile, it's likely to simply upload it all at once when it's on a network that is not blocking the endpoints. So keep that in mind too.
4
u/owlpellet 13d ago
Try enrolling for a service from an IP address in Berlin. Once you get GDPR = true attached to your account, it usually never leaves.
4
u/Isarchs 13d ago
Yes, by not using the apps that do this. Pihole blocks domains. If you block the domain of the app, you won't be able to use the app.
If the app uses third party domains for this, then yes, but that is very unlikely.