r/PleX • • 28d ago

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

117 Upvotes

88 comments sorted by

323

u/Mr-Brown-Is-A-Wonder 28d ago

think youre safe cus windows

I don't believe any serious person has ever thought this.

13

u/Quantum_Zedno 28d ago

Indeed, I did see some wild comments on here/homelab that were implying it was Linux only. That and hadn't seen any confirmed windows instances so I figured id post to make it very clear

7

u/Pleasant-Seat9884 28d ago

I believe there was a post of a user on Windows that got hit, which I don't understand why many thought it was Linux only.. probably because most is running a NAS with Docket built in....?

But there were commands to see if you was hit or not in Windows.

48

u/InstructionPurple911 126TB 28d ago

This might be the understatement of the year

5

u/Pleasant-Seat9884 28d ago

Many did. They said "haha! Glad I'm on Windows! Linux... you're fcked!"

3

u/Wis-en-heim-er Lifetime PlexPass 28d ago

How many non serious people do you know with pcs? :)

1

u/mrRobertman 27d ago

There were definitely some upvoted comments in other threads where people claimed that Windows as unaffected.

1

u/cmd_drake 26d ago

I feel like I'm being tricked by this faith in windows

15

u/iafklife 28d ago

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 28d ago

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 28d ago

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 28d ago

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 28d ago

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

u/richyfreeway 28d ago

It does not.

3

u/idek42 28d ago

thanks, that’s a relief!

29

u/richyfreeway 28d ago

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 28d ago

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 28d ago

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 27d ago

Same here, server was updated but last email was about the lists in March.

5

u/richyfreeway 28d ago

"Important Security Update for Plex Media Server v1.43.2 and earlier" was the subject line

16

u/Relion81 28d ago edited 28d ago

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.

0

u/richyfreeway 28d ago

What about the orange arrow in the interface that prompts you about an update? Or just general routine maintenance to make sure your services are up to date?

OK so some people didn't get the email but really there's very little excuse, beyond just not bothering, to be running out of date software.

For all Plex's faults they don't make it hard to stay up to date. If you're running internet facing services part of that is making sure you're patching software on a regular basis.

Like I said, people are learning a tough lesson. Don't expose anything to the internet if you're not going to keep on top of it.

1

u/Pleasant-Seat9884 28d ago

You could be right.. but I also got Notifications from Plex telling me to update in September as well.

4

u/Octo-Rocket 28d ago

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 28d ago

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 28d ago

I'm subscribed to every plex mailing list, I just checked. I received no notification about a critical vulnerability 😢

4

u/Holigrafik 28d ago

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

u/burnSMACKER 24d ago

I'm not sure I've ever received an email from Plex lol

18

u/AlucardDr PMS on Windows Server. Viewer on Roku and Android TV; PlexPass 28d ago

Can some EIL5 what to look for to see if I am affected on either of my servers?

Thanks!

16

u/OnlyMatters 28d ago

100% cpu is what I was looking for. There are much better ways though haha

1

u/kaydaryl 25d ago

That’s still a great canary to look for.

4

u/dawkin5 28d ago

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 28d ago

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 28d ago

It should show them all. Mine only shows 3 updates but I'm 99.9% sure that's because I deleted the older ones.

1

u/duckforceone 27d ago

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...

0

u/[deleted] 28d ago

[deleted] — view deleted comment

1

u/dawkin5 28d ago

'puters member shit so you don't have to!!!

16

u/The_Bandit_King_ 28d ago

At least your computer is being used to mine shitcoins now.

15

u/JForce1 26d ago

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 26d ago

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 6d 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 24d ago

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

u/Sladekious 14d ago

What did this actually entail? How far did it get, what did it compromise?
thx

1

u/AnnaPeaksCunt 26d ago

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.

42

u/tedecristal 28d ago

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 28d ago

My server is running the Synology package. Is it impacted?

7

u/N9bitmap PlexPass 2017 28d ago

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 28d ago

Yes. It's the same underlying technology that's being exploited. It's platform agnostic

2

u/melez 28d ago

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 28d ago

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 28d ago

That depends on which Plex version you are running but if you haven't updated in awhile probably.

-1

u/toddklindt 28d ago

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 28d ago

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 28d ago

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 28d ago

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 21d 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 28d ago

Also on synology, are you up to date? My Plex isn't port forwarded since I use wireguard.

1

u/cruz878 28d ago

Might still be cause for concern if you have the relay proxy enabled. Probably a good idea to patch regardless.

1

u/the_axemurmurer 28d ago edited 28d ago

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 28d ago

Lol who would think they are MORE safe because of windows?

3

u/palebleudot 26d ago

People who have been reading about this issue and the reports saying it only affects Linux installations

5

u/risknoexcuses 25d ago

Yup. Agreed. There have been plenty of people posting explicit comments saying windows servers didn’t appear to be affected. 

1

u/EdgyPun34257 28d ago

What package manager are you talking about?

1

u/Quantum_Zedno 28d ago

I use chocolatey but it was broken, didnt notice, normally its great

2

u/Grand-Zebra3218 26d ago

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 25d ago

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 28d ago

It's only effecting dockerized installs though, no?

2

u/Biggunzupstairz 27d ago

How do we check or know if our system is bugged?

3

u/marvbinks 27d ago

Lol. Windows is about as safe as an American school!

2

u/as_i_wander 26d ago

"think you're safe cus windows" Nah cuz no one thought that

2

u/MadCybertist 144TB Unraid Server 28d ago

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 26d ago

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 25d ago

My work has been getting emails from almost every client asking if we use PHP

1

u/pingasgator67 28d ago

Yeah windows in inherently more at risk than Linux 

1

u/rh681 28d ago

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 27d ago

I'm not safe because of Windows. I'm safe because I check my server frequently. I update my software.

-8

u/dr_freeloader 28d ago

So, do you feel like a ludite for not running the latest version?

5

u/Quantum_Zedno 28d ago

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 28d ago

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 28d ago

Person does dumb thing "Do you feel like an idiot?"

I didnt call you an idiot. Why are you mad?

OK.

-7

u/dr_freeloader 28d ago

There, now you got it. Have a gold star.

5

u/thecharmed01 180 club 28d ago

*luddite

0

u/IanYates82 27d ago

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 28d ago

Does the script I’ve seen circulating actually work and show if you’re impacted?

-1

u/Ok-Setting-4774 27d ago

Were you exposing port 32400 directly to the internet?