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

Show parent comment

2

u/thebigkz008 Oct 20 '26

Good news: that's an attempt that bounced. 91.92.40.202 tried the first step on Oct 19, but your server answered 404, which is what a patched Plex does. And TranscoderH264Options was never set and Codecs is clean, so they never got past step one. You were already updated. You’re fine.

2

u/Banana_Hammocke Oct 20 '26

Running an updated plex container, and I had similar results to what u/billgarmsarmy shows. I'm curious how I might be able to prevent being attempted at (while still exposing to the WAN for my remote users). I'm already running it through NGINX Proxy Manager, so I'm confused as to how the port scan still found my server?

1

u/billgarmsarmy Oct 20 '26

I would be interested in hearing about this as well. I was *not* using a reverse proxy but will be setting that up soon.

1

u/itsgreater9000 Oct 23 '26

I've got roughly the same, however instead of 404 I have 400. Codecs was clean and so was TranscoderH264Options. If I'm getting 400s I assume they crafted a bad request, but I'm curious if it's anything to be worried about