It all started with a banal “why is the TV frozen again?”. It ended with me spending an evening reading the decompiled code of a TV box that lives in my house.
The internet went bad
The house is big, over 300 square metres. Fibre and two elderly Ruckus 7372 access points: the upstairs one acting as the router, the downstairs one serving Wi-Fi. That worked for years, and in February it started freezing.
I approached it “like an adult”: ran pings in three terminals, logging to files with timestamps. My drops on the ground floor mirrored the moments my wife’s TV froze upstairs. Even the upstairs router’s admin panel hung along with the network. A reboot helped, but not for long.
I turned off torrents, checked the cable, changed the power supply (one wire turned out to be crushed by a cabinet), tweaked settings and read a mysterious “stuck beacon” in the logs. In the end I gave up and ordered a MikroTik.
MikroTik: first contact
I got a hAP ax3. What a beauty! My first encounter with RouterOS: the ISP binds the connection to a MAC address, so I cloned the old router’s address, put the new one in its place and demoted the Ruckus to a humble access point. Later I added AdGuard Home in a container on the router and neat local addresses like plex.home.
The network worked. A normal person would have stopped here.
Grafana, just for fun
I wanted to see who in the house was using how much traffic. Not in a console tool, but nicely, with a graph for every client.
In one day I grew a setup a small data centre might envy: SNMP and Prometheus for the router itself, and NetFlow → goflow2 → Kafka → ClickHouse → Grafana for the traffic. For the household question “who ate the internet” that is frankly too much. On the other hand, the answer showed up that same evening.
The 55-gigabyte suspect
One client was uploading data with a strange appetite: a cheap Chinese TV box. In the evening the graph showed 11 GB sent, and by morning it was over 55 GB in 24 hours. Most of that time nobody was using it, it just sat plugged in.
Meanwhile AdGuard showed an endless stream of queries to odd domains. I turned on the MikroTik sniffer and looked at the packets: solid 1400-byte UDP to someone else’s server, port 80, about 13 Mbps. Zero bytes came back. That is not Netflix, not YouTube and not an update. It looked more like my box was taking part in someone’s attack.
Firewall versus the box
I put it on a strict diet: web traffic (TCP 80 and 443), DNS only through AdGuard, and time sync. Everything else got cut.
The box resisted as best it could. My first rule sat too low and caught not a single packet. Then it turned out the box keeps changing its MAC address, so a rule tied to an IP does not hold for long. I had to recognise it by the way it introduces itself to the DHCP server and give it a separate address pool of its own.
What is inside
Blocking was not enough, I got curious. I connected to the box over ADB. The firmware turned out to be a developer test build (userdebug, test-keys) on Android 10 with security patches from December 2019.
Along the way I managed to disable my own USB with a single command and ended up with no ADB and no remote. A few unpleasant minutes, but I got access back.
I decompiled three packages and handed them to AI for static analysis. This is what the code showed:
- one keeps a native
libproxy.soprocess running and restarts it if it dies; - the second can download new code from the internet and execute it;
- the third has system privileges, collects the serial number and MAC address and can receive new apps from a remote server, with certificate validation effectively disabled.
The system process refused to die: after being force-killed it started again instantly. I blocked its favourite domain in AdGuard. A few days later it accounted for more than 45 thousand blocked queries, almost two thirds of everything blocked in the house.
Picking apart other people’s code and building dashboards isn’t all I use AI for. With my own site I went from copy-pasting out of a chat to an agent that logs into the server and manages content, and I wrote that up in A WordPress Site with AI. It also covers which permissions such an agent should and shouldn’t get.
So who was killing the internet?
The honest answer: it is not proven for certain. The box was on Wi-Fi on the very Ruckus that was acting as the router, and its activity roughly matched the freezes. An old access point that serves Wi-Fi and grinds through a stream like that at the same time could well choke. But I replaced the router too, so it was no clean experiment. I still have a prime suspect.
The quarantine network
While Claude and I were writing this article, we took one more step: an extra quarantine network to keep the box out of the local one. The firewall already limited its ports, but it was still living next to the computers.
It is a separate Wi-Fi network on the MikroTik with its own subnet, no VLAN needed. In there the box can get an address and ask AdGuard for DNS, while local devices and the router itself are closed to it. The old port restrictions apply here too. The firewall counters already show blocked attempts to reach places it has no business in.
It can still get to the internet over ports 80 and 443, so this protects the home network rather than cures the box.
Takeaways
I did not throw the box away: saved 700 hryvnias. Better not to count the time spent on it.
If you have a no-name TV box at home:
- check how much it uploads when nobody is using it;
- keep it on a separate network, away from your computers;
- if you are not ready to tinker with it, just unplug it for good.
I went out for a new router and came back with dashboards, home DNS and a mini investigation. Bad internet can be useful sometimes.




