Jump to content

So my Plex "server" went down, when I checked why, I found the background had been changed to something saying my files have been encrypted. This sucks, since it also contains a Valheim and a Conan Exiles server. I am sadly resigned to the fact this computers data is lost. ( There were backups, but all in the same server on a different drive, so they got encrypted too)

 

After some reading around it sounds like I wasn't secure enough with my remote desktop setup. Admittedly I was lazy, as I didn't consider such an attack.

 

My real question is, since I logged into the ransomed server with my regular PC, is there a way my regular PC could be "infected" with something to trigger the encryption on it? I didn't transfer any files, and I shut the computer down after about 15 minutes of me having them connected. 

 

I'm on my phone now with my PC off, Incase there is something I can do to prevent it "spreading" on that device.

 

Thanks for any help

 

 

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/
Share on other sites

Link to post
Share on other sites

You can't get the infection through RDP, no. Only if you have a network drive from the server to your PC. 

 

Best case of action would be to disconnect the ransomed server from the network (unplug it) and do a full format and reinstall of Windows.

 

Never open the RDP port to the internet. Use a VPN and strong passwords.

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766065
Share on other sites

Link to post
Share on other sites

27 minutes ago, GeoIV said:

After some reading around it sounds like I wasn't secure enough with my remote desktop setup. Admittedly I was lazy, as I didn't consider such an attack.

Are you port forwarding RDP on 3389? If so, this is a horrible idea. At a minimum, you'll want to use an obscure port.

27 minutes ago, GeoIV said:

My real question is, since I logged into the ransomed server with my regular PC, is there a way my regular PC could be "infected" with something to trigger the encryption on it? I didn't transfer any files, and I shut the computer down after about 15 minutes of me having them connected. 

As long as the infected device doesn't have access to an SMB share on your PC, you're probably fine.

Make sure to quote me or use @PorkishPig to notify me that you replied!

 

 

Desktop

CPU - Ryzen 9 3900X | Cooler - Noctua NH-D15 | Motherboard - ASUS TUF X570-PLUS RAM - Corsair Vengeance LPX DDR4-3200 32GB Case - Meshify C

GPU - RTX 3080 FE PSU - Straight Power 11 850W Platinum Storage - 980 PRO 1TB, 960 EVO 500GB, S31 1TB, MX500 500GB | OS - Windows 11 Pro

 

Homelab

CPU - Core i5-11400 | Cooler - Noctua NH-U12S | Motherboard - ASRock Z590M-ITX RAM - G.Skill Ripjaws V DDR4-3600 32GB (2x16)  | Case - Node 304

PSU - EVGA B3 650W | Storage - 860 EVO 256GB, Sabrent Rocket 4.0 1TB, WD Red 4TB (x6 in RAIDZ1 w/ LSI 9207-8i) | OS - TrueNAS Scale (Debian)

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766069
Share on other sites

Link to post
Share on other sites

Thanks for the replies.

 

Probably had RDP set to default. I set it up a while ago, but I doubt I changed anything. 

Yeah I don't know what I'm doing with network/server stuff. I didn't even consider an attack of this sort. Such a fun way to learn 😛

 

I had the ability to transfer files to and from the Server to my main PC using remote desktop, as I had folders on the server shared to my main PC. I don't believe I had an actual network drive setup, but I can't remember for sure. 

That said I believe my PC was off when the attack happened, but I could be wrong. If that even matters.

 

Is there anything I can do to make sure my main PC is "clean" 

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766151
Share on other sites

Link to post
Share on other sites

Use RDP but without exposing it to the net, set up a VPN server that allows you to get into your network, then RDP from there. 

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766202
Share on other sites

Link to post
Share on other sites

12 minutes ago, Kilrah said:

Use RDP but without exposing it to the net, set up a VPN server that allows you to get into your network, then RDP from there. 

Thanks, will look into that. 

 

Back on the main topic, how do these encryption attacks work exactly? Do they remote in and run an .exe that encrypts the files?

 

Still nervous to start up my main PC without knowing what to do to prevent anything from happening on it.

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766234
Share on other sites

Link to post
Share on other sites

3 minutes ago, GeoIV said:

Thanks, will look into that. 

 

Back on the main topic, how do these encryption attacks work exactly? Do they remote in and run an .exe that encrypts the files?

 

Still nervous to start up my main PC without knowing what to do to prevent anything from happening on it.

When I've seen it, yeah. They RDP into the server, usually setup something that allows them to run a set of tools to do as they please.

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766243
Share on other sites

Link to post
Share on other sites

I have a bit on an issue with this one, namely you're basing your response on a maybe. Its probably a good idea to find out exactly what opened the gates and let in the ransomware.

 

Start with your router logs, anything coming in or going out will be logged (including the IP of any person trying to connect) so go check the logs for any connections you don't recognise and check which port they gained access with, this will tell you which service was the access point.

 

Its entirely possible RDP wasn't the entry point and after you reformat, whatever they used might stay open allowing them in again. For all you know it might have been a file on the machine you ran and nothing to do with the internet.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766445
Share on other sites

Link to post
Share on other sites

45 minutes ago, Master Disaster said:

I have a bit on an issue with this one, namely you're basing your response on a maybe. Its probably a good idea to find out exactly what opened the gates and let in the ransomware.

 

Start with your router logs, anything coming in or going out will be logged (including the IP of any person trying to connect) so go check the logs for any connections you don't recognise and check which port they gained access with, this will tell you which service was the access point.

 

Its entirely possible RDP wasn't the entry point and after you reformat, whatever they used might stay open allowing them in again. For all you know it might have been a file on the machine you ran and nothing to do with the internet.

Thanks for the thoughts. 
I don't see that information recorded anywhere in my router though. I've searched around but it only seems to be loging changes to router settings and such. (running a TP-Link Ax1800) I am pretty ignorant of these things, so I could have missed it.
Would the "server"  keep records of this on the machine, like who recently remoted in?

I'm "certain" it wasn't a file being run on the computer, as the server is headless, and I have not touched it for a month or more. It gets used daily for video playback on Roku's and such, and this morning it didn't work. That is the only reason I logged on to it via remote desktop today.

I know I was pretty lax on security (not realizing such an attack was possible) so I do think the theory of RDP being the issue is likely, but it could be some unknown other flaw that let the criminal/bot in. 

I have powered my PC back on now. Ran Malwarebytes in safemode, and again after a normal reboot. Found a few suspect things, but no idea if they are related. Maybe just me being paranoid. Either way, so far it seems uneffected. 

I think I understand how people who have had their house broken into feel a bit better now. 

Link to comment
https://linustechtips.com/topic/1342453-plex-server-ransomware/#findComment-14766593
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×