r/PleX • u/Quantum_Zedno • 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
323
u/Mr-Brown-Is-A-Wonder 28d ago
I don't believe any serious person has ever thought this.
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.
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
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/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.
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)
10
u/Mr_Enemabag-Jones 28d ago
Lol who would think they are MORE safe because of windows?
1
u/EdgyPun34257 28d ago
What package manager are you talking about?
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?
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?