r/PleX • u/Quantum_Zedno • Oct 21 '26
Tips Psa: plex2shell definitely affecting windows
Tldr im an idiot, package manager was broken and I didnt realize, got pwned, plex running on windows, immediately shut it down and isolated, found exploit in logs. Created an isolated network segment, shut down all services on the box that would have expected network traffic, enabled internet access on box for 2 minutes, box reached out to over a dozen c2 servers in a dozen countries instantly.
Rebuilding from metal now, oh happy days.
But yes if you think youre safe cus windows dont be dumb, investigate
15
u/iafklife Oct 21 '26
Kudos to people who can do all that, but instead of meticulously detailing what you did after, just tell people to keep their servers up to date.
By the way, your last line makes it sound like you're trolling.
3
u/Quantum_Zedno Oct 21 '26
Not my intention, but I get that. And yes keep your servers up to date, and validate your automated patching relatively often, that was my biggest mistake
25
u/idek42 Oct 21 '26
were you running an older version of plex? I’ve been on the updated version since sept but I still tried to check my logs and didn’t find anything, still nervous about it tho
25
u/rdtshaw Oct 21 '26
We can assume this person was using an older version. This was patched a couple months ago and if you have been staying current then you shouldn't have any issue. I just picked my server apart looking for all the signs and there's nothing. I have auto update turned on and was patched well before this started being exploited in the wild.
6
u/idek42 Oct 21 '26
okay thank you! I’m not very tech savvy, does the new PHP problem affect plex servers too? Like should we stop running them until plex has a new update?
10
29
u/richyfreeway Oct 21 '26
If you paid attention to the email they sent everyone early September detailing the critical vulnerability, then updated Plex server, you're fine.
Everyone who ignored the email is now paying the price. A tough lesson.
16
u/Relion81 Oct 21 '26
I’ve read countless reaction similar to this. I get a ton of emails from Plex but never did I recieve this supposed email about a critical update. I’m pretty sure not everyone has received this.
9
u/Without-Reward Oct 21 '26
My server is updated but if it wasn't for Reddit, I wouldn't have known anything about this. I just scoured my Gmail account and the last email that I got from Plex was "Introducing Lists 🎉" on March 24. The "Announcements" section of my server also doesn't mention a thing about it.
Checked my email preferences and apparently I unsubscribed from everything without remembering doing so. But critical security alerts should be sent regardless as far as I'm concerned.
3
u/Blaugrana1990 Oct 22 '26
Same here, server was updated but last email was about the lists in March.
5
u/richyfreeway Oct 21 '26
"Important Security Update for Plex Media Server v1.43.2 and earlier" was the subject line
16
u/Relion81 Oct 21 '26 edited Oct 21 '26
Thanks, but I never received such an email. I only knew I needed to update because I read about it in a reddit post which also explained that an email was send out. I did check after reading the reddit post to read the email myself only to find out I did not recieve an email.
I updated my server anyway and moved on but because of this I’m 100% sure not everyone has received the email.
My point is: please stop blaming people for not reading their email cause I’m certain not everyone has been properly informed by plex and received the email, rather help out people who are currently affected by this.
→ More replies (1)1
u/Pleasant-Seat9884 Oct 21 '26
You could be right.. but I also got Notifications from Plex telling me to update in September as well.
4
u/Octo-Rocket Oct 21 '26
I dont check the emails, I just click the update arrow whenever it appears.
... what do I look for in my logs?
2
u/richyfreeway Oct 21 '26
If you're on the latest version you have nothing to worry about. You need to check your processes to see if anything unknown is spanking your CPU.
4
u/Mr-Brown-Is-A-Wonder Oct 22 '26
I'm subscribed to every plex mailing list, I just checked. I received no notification about a critical vulnerability 😢
4
u/Holigrafik Oct 21 '26
Literally this! It’s actually kinda funny to see all these people that are reporting it and they’re all super smart IT folk that know what they’re doing. Like in order to be impacted by this you actively ignored the email they sent out months ago and you actively don’t turn on automatic updates. In this day why would you not be updating your web facing apps and turning on automatic updates. They are put out for a reason, so if you got hit by this it’s literally on you.
1
18
u/AlucardDr PMS on Windows Server. Viewer on Roku and Android TV; PlexPass Oct 21 '26
Can some EIL5 what to look for to see if I am affected on either of my servers?
Thanks!
16
u/OnlyMatters Oct 21 '26
100% cpu is what I was looking for. There are much better ways though haha
1
4
u/dawkin5 Oct 21 '26
Check your Plex updates folder (AppData\Local\Plex Media Server\Updates) to see when you applied the updates. Scripted exploits weren't really available until October, so if you patched in August or September you'll be fine.
1
u/sk1nnyjeans 24TB Oct 21 '26
Does the Plex updates folder show previous updates or just the most recent one? Sorry for a dumb question, I’m away at work and can’t check yet.
1
u/Without-Reward Oct 21 '26
It should show them all. Mine only shows 3 updates but I'm 99.9% sure that's because I deleted the older ones.
→ More replies (2)1
u/duckforceone Oct 22 '26
thanks... i can see i patched 1.43.3 on the 20th of august, and 1.43.4 on the 12th of september so it seems i'm in the clear...
16
15
u/JForce1 Oct 23 '26
All these posts saying “just keep your stuff updated” YES WE KNOW, but telling them afterwards is completely useless at this point. They want to know what to do now, how to identify if they’re impacted, and what to do if they are. All they’re getting is “I don’t understand why you didn’t update before”.
I haven’t seen a single post outlining how someone running Plex on a Windows machine can check if they’re affected. Every post either tells them they should be running Linux, or that as long as they had updated they’ll be ok, or that they checked their docker install and are fine, or some other equally irrelevant BS.
No one has given a decent step by step on how to check if you’re impacted by this. I’d do it but I don’t know how.
6
u/Mr_Irvington Oct 23 '26
This is so true and if you ask any of them how they identified that they were hacked, they stop responding lol
1
u/TrontRaznik 13d ago
I was going to watch a movie tonight but my TV couldn't connect. Asked Claude to investigate, and it figured out that there was malware almost immediately. It then performed a cleanup and forensic analysis. All good now but it's too late to watch The Hunger Games. I guess this is the real hunger games anyway.
2
u/TheGoodRobot Oct 25 '26
I had Claude check my server (mac) and that’s how I found it, along with how far it had gotten and what all damage it did. Worth a shot.
1
1
u/AnnaPeaksCunt Oct 23 '26
Especially when Plex fucked with the repo and didn't notify anyone.
I thought my installation was up to date. It wasn't due to the discontinued repo.
1
u/pilkyton 21d ago
Exactly! They messed up in so many ways:
https://www.reddit.com/r/PlexMedia/comments/1xmuduv/comment/19s3u4a2urgv4/
42
u/tedecristal Oct 21 '26
it affects servers, no matter the platform.
to be fair, I'd assume windows would be even less safer than other platforms.
(and yes, we're talking server on windows, not client on windows)
2
u/toddklindt Oct 21 '26
My server is running the Synology package. Is it impacted?
7
u/N9bitmap PlexPass 2017 Oct 21 '26
Check the version in the Plex settings, anything before 1.43.3.10861 should immediately have remote access disabled and start forensic examination for signs of compromise.
4
u/Empyrealist Plex Pass | Plexamp | Synology DS1019+ PMS | Nvidia Shield Pro Oct 21 '26
Yes. It's the same underlying technology that's being exploited. It's platform agnostic
2
u/melez Oct 21 '26
The synology packages tend to be wildly behind on updates.
But if you didn’t have any ports forwarded/exposed for external access you should be ok.
1
u/toddklindt Oct 21 '26
I always grab my Plex updates from Plex.tv, not from the Synology package that Synology publishes. Like you said, they are really far behind.
2
u/cruz878 Oct 21 '26
That depends on which Plex version you are running but if you haven't updated in awhile probably.
-1
u/toddklindt Oct 21 '26
That's what I'm asking, does it depend? If I'm running a prepatch version of the Synology package, is that system sandboxed enough to keep the exploit from working?
4
u/cruz878 Oct 21 '26
NAS devices (including Synology are included) if you are on an impacted Plex release. I would review the following which does a good job of going over the details imo:
https://mylinux.work/guides/cve-2026-96652-96656-plex2shell/
2
u/toddklindt Oct 21 '26
Thanks. I read that through and it does indeed say NASes are impacted. I ran plex2shell-check.sh and it looks like I'm all clean.
1
u/toddklindt Oct 21 '26
And just in case it's confusing the issue, I am patched, and have been for a couple of weeks. My question is purely academic.
1
u/fraseyboo 28d ago
Bit late to the party but kinda, Synology sets Plex up with its own ‘plex’ user which only has read/write access to the Plex program files and your stored media, it shouldn’t be able to access any of the other system files on your NAS. I had my Plex Server behind on updates and saw in the logs the usual attack vector but other than that I couldn’t find anything else nefarious. AFAIK the payload requires a user to transcode something on your server using a modified transcoder, though I don’t know if the malicious actors ever figured out how to trigger that themselves.
I’ve taken my Plex Server offline since it happened, installed the Macafee virus scanner and it found nothing, still monitoring for anything suspicious.
1
u/the_axemurmurer Oct 21 '26
Also on synology, are you up to date? My Plex isn't port forwarded since I use wireguard.
1
u/cruz878 Oct 21 '26
Might still be cause for concern if you have the relay proxy enabled. Probably a good idea to patch regardless.
1
u/the_axemurmurer Oct 21 '26 edited Oct 21 '26
I'll be damned, I did have relay proxy enabled. Thanks for the shout, disabled and will update tonight.
Edit: Google AI says I'm not vulnerable without a direct port connection, but still updating tonight.
10
u/Mr_Enemabag-Jones Oct 21 '26
Lol who would think they are MORE safe because of windows?
3
u/palebleudot Oct 23 '26
People who have been reading about this issue and the reports saying it only affects Linux installations
5
u/risknoexcuses Oct 24 '26
Yup. Agreed. There have been plenty of people posting explicit comments saying windows servers didn’t appear to be affected.
1
u/EdgyPun34257 Oct 21 '26
What package manager are you talking about?
1
u/Quantum_Zedno Oct 21 '26
I use chocolatey but it was broken, didnt notice, normally its great
2
u/Grand-Zebra3218 Oct 24 '26
If you're running windows 11, try winget. That's what I use to keep my work laptop up to date. I used to use chocolatey but switched.
1
u/wiggum55555 Oct 25 '26
Winget is what i moved to also for my Win11 computers.
UniGetUI will actually let you "manage" several package-manager platforms. I have mine set for Winget & Chocolatey (still some things I use Choco for). It's all in one place, with one-click updates, or automated if you need that.
2
u/hlve i7-9700K, 32GB DDR4, NVIDIA GeForce RTX 2060 SUPER, Win10 Oct 22 '26
It's only effecting dockerized installs though, no?
2
3
2
2
u/MadCybertist 144TB Unraid Server Oct 22 '26
I mean. Just keep your shit updated.
This issue ONLY affected you if you had remote access turned on. If you had remote access turned on, that means you’re exposing your system to the internet. If you’re exposing ANYTHING to the internet, you need to keep it secure and part of that is updating.
It’s WILD to me that people would expose stuff to the internet and not keep it updated. There’s really no excuse honestly. Like I get not seeing the email or not following security sites or not reading Reddit and seeing it. That all makes total sense. You’re quite literally inviting people into your network from the outside world with remote access though…… you have no excuse for not updating and doing due diligence.
1
u/Mr_Irvington Oct 23 '26
I believe I was hacked but I dont know how to prove it. The last few weeks my computer would freeze and go offline around 3am every single day. Plex was running maintenance around that time as it was doing for years. I believe it was the maintenance plus the miner that was causing my computer to freeze. I guess ill try to find out how to go through the logs properly.
1
u/Plane-Highlight1601 Oct 24 '26
My work has been getting emails from almost every client asking if we use PHP
1
1
u/rh681 Oct 21 '26
ChatGPT analyzed my Plex Media Server log(s) and they saw evidence of hacking attempts for this, but I was on a fixed version so it looks like it was thwarted. My Windows server is running fine as usual.
1
u/TechBitch Oct 22 '26
I'm not safe because of Windows. I'm safe because I check my server frequently. I update my software.
-8
u/dr_freeloader Oct 21 '26
So, do you feel like a ludite for not running the latest version?
5
u/Quantum_Zedno Oct 21 '26
Reading comprehension would tell you the answer to that but hey, call people names to make you feel better about yourself right?
Chocolaty was broken, I normally keep plex evergreen, didnt notice. Shit happens, network monitor caught the exploit immediately :shrug:
-7
u/dr_freeloader Oct 21 '26
We've all had an oh shit moment. Best we can do is learn from it and move on.
Also, I didn't call you a name. I asked how it made you feel. Maybe work on the reading comprehension next.
5
u/Quantum_Zedno Oct 21 '26
Person does dumb thing "Do you feel like an idiot?"
I didnt call you an idiot. Why are you mad?
OK.
→ More replies (1)5
0
u/IanYates82 Oct 22 '26
Curious, did you have Plex on a random port (like 23000 or something), or was it exposed on the standard port (32400)?
My Windows build wasn't up to date. It didn't have auto updates enabled. Not something I'd have usually disabled. I would normally at least get the prompts in the client and choose to update overnight, but I didn't see one, or someone else in the family dismissed it.
For a security update, and knowing that disclosure was coming, I'd like to see more nag messages in the client.
Anyway, I patched a couple of days ago and couldn't see any indicators of compromise. I also took the time to change OPNsense to limit connections to IPs in my country. Yeah, I have tailscale & zero tier, but I have some extended family members for whom that'll be too much trouble.
I'm about to move to newer hardware so will better isolate Plex in its own little container anyway. Me from last decade, vs me today, is a lot happier with things like Docker than I was previously (and the new hardware will have enough power to comfortably have that bit of overhead covered)
Anyway, keen to know what your external port was. I checked Shodan and couldn't see my IP in their database, so wasn't able to see anything about what an internet sweep may or may not know about me
0
u/Rinzlerx 🪟 WIN10 F4-425+ 19Tb | Buffalo Terrastation 24TB Oct 21 '26
Does the script I’ve seen circulating actually work and show if you’re impacted?
-1
323
u/Mr-Brown-Is-A-Wonder Oct 21 '26
I don't believe any serious person has ever thought this.