You can't train a horse with shouts, and expect it to obey a whisper.”
~Peter Walstrom

Rat trap for Roku and Plex

Google+ Pinterest LinkedIn Tumblr +

(Image from relevant story : )

I decided to sit down for a couple hours and do a network packet capture to see how the Roku is ratting out what I’m doing exactly, and whether Plex is any less guilty – turns out there is a spiderweb of activity going on, these businesses are buttering each other’s toast and selling out us “consumers” any way they can.

We knew this, but it’s something else to see it flow across the wire. What follows isn’t everything – just highlights.


Roku has a number of business partnerships with Neflix, Facebook and others, sending encrypted data to each company at boot, a kind of handshake. Also at boot time it checks in with which provides your Roku with a unique serial ID, then starts a steady stream of encrypted communication.  The device then hits to determine your public IP address which instantly tells them your Internet service provider and city and allows them to correlate all activity to your residence.

Once it provides you with a menu, every button press and selection is sent to *, the * being any number of semi-random hosts such as liberty|scribe|digdug|austin|giga|griffon|cooper.

I don’t know if it’s just because I have the Netflix app installed on the Roku, but it’s constantly talking to Netflix servers whether you’re using the app or not. A continuous stream of encrypted information is constantly being sent to servers such as (Netflix Streaming services)  even when just sitting at the main menu. The User Agent string clearly identifies your Roku device.  On top of this constant flow of information are “logblobs”, large, gZip compressed and encrypted json objects sent via HTTP post.  Note – I’ve never opened the Netflix app during this test, which was focused on Plex. It could be that Roku has a partnership with Netflix and they’re exchanging your data for privileged access to Netflix programming.  With Net Neutrality dead, Roku has to butter their toast somehow or risk getting locked out.

Also, Roku has their own Certificate Authority, they don’t bother with standard services such as Thawte, Verisign, etc.  This is more secure and surely saves them a good amount of money.

When you block from resolving via your home DNS server, it falls back to its own internal – baked in – DNS server configs and tries to resolve it itself, bypassing your home network settings.

Once you start Plex as an app on the Roku, thus begins a steady encrypted stream to, giving them all the information above plus a unique device ID which can then be correlated to your IP address which uniquely identifies your device and habits. also learns of your use of the Plex app.  While you’re browsing media in Plex, there’s a steady stream of data to; it’s encrypted so I couldn’t see what was in it (filename? Movie / TV Show name?  Can’t tell.)

What’s also unusual is a short data exchange every once in a while to TCP port 2350, a port not described in the Plex firewall configuration settings page (  I frankly didn’t know what to make of this data.

Wikipedia confirms that Plex is soaking up a great deal of information:

On September 20, 2017, Plex announced a new privacy policy in which it was no longer possible for users of Plex to prevent their user data from being collected. However, in a later privacy policy update, Plex CEO Keith Valory stated that they will generalize the playback data and offer users the ability to opt out of sending more specific playback information.

It’s not trivial, but it is possible to trap these rats and watch your movies in peace.


Please note –  Following these steps will change the behavior of your Roku and Plex, proceed with caution.  After these changes the worst thing I get is the screen below when launching apps, which can be ignored (“Proceed Anyway”).

When blocking traffic to and from the Roku and Plex, you have to allow things like or it won’t be usable.  You can’t just wildcard block * and * – you have to cut out specific hosts in specific ways.

To prevent your Roku hardware and Plex software from spying on you, you can do the following.  Please note that if you are using some other SmartTV or player these steps won’t be as effective, but I do have generic steps at bottom that will still help.

Using Pi-Hole, block the following via Wildcard Blacklist:

  •  (Key detail – this must be available when Plex starts!  Disable afterwards.)

.. and block the following via Exact Blocking in the blacklist:


In your firewall (I prefer PFSense), you should have an “egress rule” that prevents ports from “leaking” out of your network.  For example, you won’t want TCP 135-139 or 445 leaving your network because you should never mount a window share over the public Internet.  To your egress rules, add TCP/UDP 2350.

Here are some bonus things you can do which not only help with this situation, but hinder leakage from other Internet of Things devices in your house:

  • Add to the Pi-Hole Wildcard Blacklist “” – this will prevent appliances from fetching your public IP address and thus your internet service provider.  Note – this means you won’t be able to use it yourself (there are many other sites you could use instead), and since there are other sites, not all IoT appliances will use this same one.
  • If you have a SmartTV or other device, you can still use Pi-Hole to watch what addresses it tries to resolve and if you come across something like “” (if you have a Panasonic TV, for example), you can block that and if your TV still works as expected, you win.
  • Use of Pi-Hole prevents advertisements from getting to your Roku and other devices as well, which are otherwise streamed with merciless impunity.
  • Add a new rule to your LAN -> WAN rule blocking the DNS providers that you know you don’t use, which prevents IoT appliances from bypassing your DNS rules (and your Pi-Hole installation).  I for example use, so I can block and (Google’s DNS servers), commonly used in IoT appliances. Roku uses, which I blocked too.

Leave A Reply

Secured By miniOrange