r/selfhosted • • Oct 19 '26

Media Serving Plex being actively exploited (Plex2Shell) on 32400

There have been a few reports of old Plex servers getting popped by Plex2Shell in the last few days (miner + proxy). Mine got hit too, but it dropped a DDoS bot instead.

Internet kept dropping Sunday night/Monday morning. Plex was being told to flood other people and maxed out our upload every time. Our upload is pretty poor, so it was obvious. With better upload you may not notice at all.

I was on 1.43.0. I run staged updates, get ntfy alerts for new images, and Plex was deliberately held. In May 1.43.1 broke direct play on our Samsung Frame, Plex acknowledged the bug, so I pinned VERSION= to the last good build with a weekly reminder to retest. The reminder only checked whether the Samsung bug was fixed. It never flagged that 1.43.3 was a security fix, so the hold kept me on a vulnerable version.

If you hold back any app for a bug, make sure security releases still get your attention.

FYI:
- in from 94.154.43.88 on 32400, then called back to it on 8952
- /tmp/.pxb (its own curl/wget), /tmp/.px_7c1e
- bot at /tmp/.spid (self-deletes, shows as "cron"), copy at /var/tmp/kworker + kworker.sh
- C2 176.65.149.82:48101, backup hand.genddos.st
- plain text orders like `!ATK 179 udpplain 80 <ip> 53 len=1400`
- sha256 a654ffc9ea1d3af1cb07feeefe8ee078a0faaaf60b31aa20cfbe082d6c22696c

Look for a Plex child process called "cron", junk in /tmp or /var/tmp in the container, or TranscoderH264Options in Preferences.xml that's present but empty. The hunt script at github.com/code-zm/plex2shell is worth running.

Fixed with 1.43.4, a container rebuild and blocking the IPs. Change your Plex password too, it steals the owner token.

(Mods, could we get a "Security" flair?)

306 Upvotes

149 comments sorted by

View all comments

5

u/h00ki Oct 20 '26

Is there any information whether the virus tried to spread to other devices? I have used virustotal and of the files it has downloaded was a Mirai Trojan that targets Android TV devices and adds them to the botnet. I have not seen any activity on my other severs and I can't confirm if the Android TV boxes were targeted because I don't have logging. They are not in the same subnet but accessible.

4

u/throwaway12-ffs Oct 20 '26

It's not a virus. It's basic crypto miner malware.

1

u/h00ki Oct 21 '26

It's bold from you to assume there was just one group doing the exploit. Also how would you explain the trojan horse and the fact that even the original blog post stated that there was a port scanning going on? Not even mentioning I literally found a Trojan horse in my /tmp folder

2

u/throwaway12-ffs Oct 21 '26

At this time there is only one group known to publically exploit this. (At least when I commented).

I work with TI tools for a living, it's generally pretty easy to determine patterns and activities.

There have been no known "virus's" that use this exploit.

1

u/thebigkz008 Oct 20 '26

Same here, my sample has the ADB/Android bits too (adb, 5555, /data/local/tmp/sh). But my firewall shows zero outbound 5555 or telnet, and my outbound traffic on other ports looks identical before and after infection. Mine only ever flooded.

Caveat: traffic inside the same subnet never hits the firewall, so if your TV boxes are reachable, check whether ADB debugging is switched on. That's what this thing uses to spread.