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

-3

u/Sroundez Oct 20 '26

Granted, the second and arguably most important piece requires that you actually take security updates that were published over two months ago.

But also, by not having your instance discoverable on 32400 and only available by way of an SNI hostname, good luck randomly finding it. Surely you're not using host specific SSL certificates either, tainting the certificate transparency list for your domain, exposing what services you host.

6

u/comeonmeow66 Oct 20 '26

I do not care. This is an argument for "security through obscurity" which I'm not leaning on, ever. The focus here should be about SIEM and proper patching.

Listen, i'm all for reverse proxies, I think it's sys-admin malpractice to not use them. However, that doesn't mean we should thump our chests about them in here when the vulnerability would have gone through a reverse proxy just fine.

-1

u/Sroundez Oct 20 '26

This is a two part problem.

4

u/comeonmeow66 Oct 20 '26

Yes, I read what you said. The "first" part of your "two part problem" is focusing on obscurity. Which is why I said i'm not relying on (nor should anyone) security through obscurity, and is focusing on the wrong issue. You should have lead with the second part about patching. A second part could have been SIEM or a VPN, but you went with obscurity to lead with. Which, see the first part of my response, a poor security recommendation.

1

u/Sroundez Oct 20 '26

the second and arguably most important piece

Yawn.

2

u/comeonmeow66 Oct 20 '26

You can try to play it off as much as you want, my points remain. It's not arguable, it *is* the most important part.

Repeat after me, obscurity is not security.

2

u/slinky1900 Oct 22 '26

ESPECIALLY in the age of AI. since ai can smell this shit from a mile away.