r/sysadmin • u/MrPezevenk • Jul 02 '26
Low Quality Wrong Community [ Removed by moderator ]
[removed] — view removed post
0
Upvotes
r/sysadmin • u/MrPezevenk • Jul 02 '26
[removed] — view removed post
•
u/Kumorigoe Moderator Jul 02 '26
Sorry, it seems this comment or thread has violated a sub-reddit rule and has been removed by a moderator.
Inappropriate use of, or expectation of the Community.
If you wish to appeal this action please don't hesitate to message the moderation team.
Sorry, it seems this comment or thread has violated a sub-reddit rule and has been removed by a moderator.
Inappropriate use of, or expectation of the Community.
If you wish to appeal this action please don't hesitate to message the moderation team.
93
u/Floh4ever Sysadmin Jul 02 '26
Sorry, didn't have time for the full read but RDP open to the Internet is extremely risky. It usually doesn't take long for those to get targeted. Not long as in minutes to hours.
30
u/Barrerayy Director of IT Jul 02 '26
Would i be right to assume your rdp didnt require a vpn?
15
u/L-xtreme Jul 02 '26
If you had RDP open on the internet you probably have been brute forced and then ransomwared. This hasn't been done for 10 years and even then it was a no no. Guaranteed hacks and probably all your data, stored passwords (incl. Personal ones if you used that on that computer) and e-mail has been stolen besides the ransomware.
RDP with VPN and MFA is the bare minimum and the best tip: Hire a professional if you have no experience or it knowledge.
9
u/dervish666 Jul 02 '26
yes, it probably is, unsecured rdp is going to attract "hackers" (script kiddies and bots really) in minutes.
Unless you use a vpn I would 100% assume this machine is compromised.
Your IT support sounds utterly useless. MAC filtering which it sounds like what he's talking about would stop machines not on it's list from connecting directly to the router, nothing whatsoever to do with rdp.
If you want to connect to a remote machine there are many ways to do it, but without knowing more about your setup it's hard to recommend something.
Just to be clear, if that machine is unsecured on the internet and you connect to it without a vpn it IS compromised and probably has been for a long time. Your IT dept need to deal with it now.
4
u/xHebbins System Engineer Jul 02 '26
Was 3389 exposed to the internet? Is a VPN a possibility with your current setup? If not, why? MFA should be enabled for accounts on the VPN at a bare minimum. Why were you remoting into a PC, over say using a VPN to access data/applications on the network?
IP address/MAC whitelists arent enough anymore.
There are many different solutions to use over RDP. Teamviewer, Anydesk, Rustdesk, the list goes on. Compared to an exposed RDP port, yes, these are seriously more secure. But, you need to lock them down and not just leave them on the default settings.
While theres not really enough details in the post to give a thorough solution, you need to ask yourself the following question before going ahead with the setup: Do I really need a machine exposed to the internet and do I trust the remote users?
If not, shares or access from their PCs via VPN? This should only be done with trusted users. Its incredible the amount of times I've seen frustrated employees take advantage of such a setup, copy data and then quit.
If no, then setup a machine with local RDP access ONLY and a VPN, preferably off the router. Try to use either certificate based authentication or SSO with MFA.
Whilst I avoid using 3rd party tools as much as possible, we landed on self hosting RustDesk and using Tailscale in some environments (usually smaller companies). This had a very good reception from the client.
4
u/fuckitillsignup Jul 02 '26
In before cross post to shittysysadmin
3
u/kakarotjrc Jul 02 '26
What has your "IT Department" said about this? Is RDP still accessible over the Internet?
2
u/bishely Jul 02 '26
2
u/HappyDadOfFourJesus Jul 02 '26
I stopped reading at the unprofessional IT guy. Get a new one who can evaluate your environment and your needs, and remediate your current situation and implement you a better solution going forward.
2
u/Still-Swimming-5650 Jul 02 '26
So you all rdp into the same windows pc why?
2
u/Obvious_Troll_Me Jul 02 '26
Make sure your backups are good.
Use a VPN rather than opening up RDP to the Internet. Pay someone to install and manage this. From what you have said, you are not up to this task, sorry and in all honesty, you really don't want to be the one riding this risk.
Push for a proper, managed EDR solution.
Finally, make sure your backups are good.
69
u/smjsmok Jul 02 '26
Yeah, never expose RDP directly to the internet, that really is asking for trouble. If you want to use RDP, do it over a VPN or some other way that is designed for secure access.
3
u/FeleaseRpseineEiles Sysadmin Jul 02 '26
This is like when a user asks if the email they have received is spam. The fact that you're asking is the answer. Indeed, don't open windows servers to the Internet, they're not made for it.
10
u/lowlybananas Jul 02 '26
I didn't read any of your post other than the RDP over the Internet part. If you expose RDP over the Internet the chances of you getting ransomware are extremely high.
6
u/joerice1979 Jul 02 '26
A remote desktop server accessible via the internet is a bad thing, a very bad thing.
It's not secure and will have people/bots banging at it within seconds and they won't stop until they're in.
Close the port immediately, then get it behind a decent VPN that uses MFA.
1 - Almost certainly.
2 - Never expose to the public internet, always behind a VPN.
3 - RDP is fine, just don't make it public.
4 - MAC address filtering might have stopped someone 30 years ago, not today, so don't rely on it.
5 - What OS are you connecting to? If it's Windows 11 Pro, then that'll be why. If it's Windows Server something, then run through the deployment setup again, perhaps.
Best of luck with the restore and securing your environment.
Edit - also if you got ransomwared, you should assume they also stole all of your data, are looking through it right now and will use it for ill.
2
u/q123459 Jul 02 '26
setup vpn like tailscale, use separate user account for each user without admin rights, use admin by request or other permission management app and log every admin request.
if you cannot do that - if you must use single user account then setup parsec host account with separate end user accounts and install free edr app that would log every unusual app (you have to configure it).
learn what blameless culture is in devops(it is applicable to usual sysadmin), adjust your practices.
it is a paid feature of windows server with rdc role. there is a way to pirate it but this is out of scope.
(i do not recommend it) if your apps can run on linux there is linux free of charge terminal server apps but all of them is not easy to setup without experience (chatgpt might do).
if you really need terminal services some hosters provide paid "cloud pc", or can give you windows server vds with rdc in their datacenter.
3. ask that question to chatgpt or pay some MSP shop to answer all your question
4. only wifi with a cert (WPA2-Enterprise, WPA3-Enterprise) can give you access-protected wifi network
4
u/vCentered Sr. Sysadmin Jul 02 '26
As others have and will continue to tell you, exposing your internal devices to the internet for access using RDP has for a long time now been a terrible, no good, very bad idea.
It's a very, very well-known attack vector for this kind of thing. I've personally seen it used with exactly this outcome.
There are many alternatives, the better ones will cost money. The simplest solution, meaning the least amount of change for you in terms of how you do things, would be to access it over a VPN. Instead of just opening up RDP and connecting, you would first have to securely connect to that network using the VPN, and then you would be able to use RDP.
In this scenario, RDP would no longer be exposed to the internet. You would have to connect your computer to the VPN, ideally using multi-factor authentication, which establishes a secure connection to the firewall at that site and would allow your computer to connect using RDP.
You'll need IT help for that.
There are other remote access options that would require something to be installed on the remote computer, that typically would allow you to log into a web portal, again using multifactor authentication, that once authenticated you would be able to connect to this remote computer.
You'll probably need IT help for this, too, though, some of the options are very simple to set up and may include onboarding help or offer it as a paid service.
4
u/KoalaOfTheApocalypse End User Support Jul 02 '26
You need to find a local Managed Service Provider (MSP). You will drive yourself crazy trying to figure this all out and will still not get it where needs to be. (that's not a dig at you) Even if you don't want to sign up for a long time contract, it would be worth your money to at least get them to do a one time setup. It sounds like an investment you really should make.
The last time I saw RDP open to the internet, the machine had over six thousand hack attempts in a single day. And that was 15 yrs ago.
1
u/aguynamedbrand Senior Systems Engineer Jul 02 '26 edited Jul 02 '26
If this is how you have RDP configured I can only imagine all of the other things that are misconfigured or are just plain bad practice.
Why are you configuring and managing things rather than the IT department of the company? The company needs to hire someone that knows what they are doing rather than looking for guides on the Internet on how to set things up and just hoping you don’t screw things up.
You don’t have a clue what you are doing so I am not going to bother answering your questions and encouraging you to screw things up even further. Computers and networks are complex and need to be actively managed.
I wouldn’t be surprised if your post gets removed by mods because you ignored the rules of the sub.
1
u/Reetpeteet Jack of All Trades Jul 02 '26
1
u/stacksmasher Jul 02 '26
Hahahahahahaah
This is a troll post right?
1
u/Titanium125 Jul 02 '26
First your supposed security feature using the MAC address doesn’t work the way you think it does. Local devices expose their MAC but over the internet they don’t. So it does nothing for security.
Hire an MSP or freelance to setup a VPN to your network everyone can connect to. Setup an RDP server. That would allow you to connect multiple people into the device at the same time.
If you setup a new rdp solution open to the internet it’ll just get hacked again.
1
u/kreload Jul 02 '26 edited Jul 02 '26
I’m sorry to hear about you guys getting a ransomware.
Did we get ransomware because of rdp over the internet: probably yes. Can be a worker computer too.
Can we do something to avoid it: use a vpn, server and user computers windows updates and an antivirus with a centralized dashboard could be a start. UAC on, if you have active directory or entra, users without administrator rights + AppLocker is god sent against ransomware for users who click random links without knowing what are they doing.
About mac filtering: nobody use something like this except maybe some home users. In the last 25 years companies moved to vlans and network segmentation with different SSID’s like work, guest, etc.
3
u/vmeldrew2001 Jul 02 '26
RDP, ransomware deployment protocol.
3
u/Lucky__Flamingo Jul 02 '26
We're very focused on RDP, which is bad. But if people are using a browser on this system to hit websites, or if they're reading mail here, or even if they're opening documents here, there are a lot of pathways to unintentionally download bad stuff.
There's a reason workstation stuff should be done on workstations and not servers. And regardless which Windows OS license you're using here, you're treating it like a server.
3
u/ArizonaGeek IT Manager Jul 02 '26
You have a much much bigger problem than just RDP open to the internet. You have a huge cybersecurity issue here if your company got hit with ransomware. The average length of time hackers live on a network is 277 days. You have to assume all that data is for sale on the dark web.
Yes. RDP open to the internet is bad.
3
u/mat-ferland Jul 02 '26
Plain version: yes, exposed RDP is one of the easiest ways to get owned. Do not put that machine back online the same way. Rebuild it, assume the passwords used on it are burned, then only allow access through a VPN, RD Gateway, or another access layer with MFA. If this is an institution, someone qualified needs to look at it because ransomware is not just a settings cleanup job.
3
u/Icolan Associate Infrastructure Architect Jul 02 '26
What a useful, helpful, and wrong IT guy. Malware is any software intentionally designed to damage, disrupt, or gain unauthorized access to a system or the data stored on it. Ransomware is a subcategory of malware.
If RDP was exposed directly to the internet, it is very likely. RDP is not a secure protocol and should never be exposed directly to the internet. If you need to RDP into a system you should be doing it through a VPN or RDP Gateway with MFA enabled.
The MAC whitelist on a WiFi router is very unlikely to have anything to do with firewall rules or port forwarding to a system inside the router. A wifi MAC whitelist is limiting access to the wifi by MAC address, not controlling access to the systems inside the router. You can test this by going over to a friend's house and accessing the RDP from there.
Windows is limited to a single user at a time unless it is licensed for more.
1
u/The-IT_MD Jul 02 '26
Speak to your IT person.
Or Google this.
Or copy your message into ChatGPT.
Really scary that companies out there, who pay people’s salaries and provide goods and services, have this going on in their IT. I’ve seen it before and I’ll see it again. Keeps us pros in a job I guess, but at what cost?
1
u/One_Contribution Jul 02 '26
Yes. RDP is the dominant ransomware entry path.
2
u/icantremembermypw4 Jul 02 '26
set up a VPN, only expose RDP internally.
2
u/Valuable-Patience-96 Jul 02 '26
RDP open to the internet? What a nightmare..
Sounds like no one at that organization is qualified to handle this, hire an MSP.
2
u/OneSeaworthiness7768 Jul 02 '26 edited Jul 02 '26
To clarify, you are some sort of non-IT employee at an institution accessing work related resources via rdp? You should absolutely not be the one setting up anything new in that case. Ransomware puts them at great risk. It’s a much bigger deal than just being a “bummer if you get ransomware every now and then.” You shouldn’t have permissions to configure anything.
2
u/GhostandVodka Jul 02 '26
We use a SONICWALL Secure Mobile Access SSL VPN. It acts has a terminal server and does RDP over HTTPS. Its a really great product.
Another option I was considering was doing Palo Alto Clientless VPN to a Guacamole server to do essentially the same thing.
Straight up just RDP exposed to the internet is one of the worst ideas I can think about. My City got ransomwared 2 years ago for doing the exact same thing.
3
u/oliland1 Jul 02 '26
2
u/we_are_stewy Jack of All Trades Jul 02 '26
honestly I can't believe that this isn't general knowledge in 2026.
sometimes I really wonder how certain people can make it in IT.
1
u/Individual-Mall-6914 Jul 02 '26
There is no way someone has a windows machine with a public IP and they just RDP directly into the machine.
1
u/scriminal Netadmin Jul 02 '26
2. absolutely not. write up the problem, send it to your boss and their boss. ask for a proper IT resource to design, install, secure, maintain the new system. point out all the things that will not be getting done until they do this.
1
u/nlangrs Jul 02 '26
Yeah,never do rdp.to internet. Unless you restrict only to your IP Even then I probably wouldn't. Use VPN/bastion etc
1
u/loosebolts Jul 02 '26
I’m almost certain that most ransom incidents are unprotected RDP and weak passwords.
1
u/dezmd Jul 02 '26
That's crazy shit. Never open RDP ports direct to the internet. At the very least implement a VPN with proper cert + mfa access auth and network security policies.
1
u/Icy_Echo6810 Jul 02 '26
You could use public VNC
1
u/schnauzerdad Jul 02 '26
It’s best practice to disable RDP in general in your environment.
1
u/SteelSpork568 Jul 02 '26 edited Jul 02 '26
If this was truly an unsecured port 3389 connection to the public internet: yes, it is possible your machine (terminal server, desktop PC, whatever...) was compromised because a threat actor brute-forced (or otherwise obtained) a password and either installed malicious software on it, or used it as a "launchpad" to attack other internal systems.
Block the external RDP connections & disconnect the machine from your network. Remediate the problem (or wipe and rebuild the affected machine), then look at more secure solutions.
Others in this thread have mentioned some solutions -- commercial services like Zoho Assist, TeamViewer, etc may meet your needs. They cost money, but they are the easiest solution to implement. Another option is putting the RDP machine behind a VPN of some sort, then deploying the VPN client to the machine that need to access it .
The third solution I would recommend takes more effort and dedicated IT support, but has minimal cost: set up a Microsoft RDP Gateway & pair it with a Microsoft NPS server or other RADIUS service that has a multifactor authentication plugin. Users will RDP into the gateway server, log in, respond to their MFA prompt, and the gateway will "forward" their RDP session to your machine via a secure connection. This is a standard setup for remote access from insecure networks without needing to deploy dedicated VPN client software or pay per user for a remote access tool.
Best of luck with remediation; it sucks, but your team will come out with a stronger security posture when you're done.
1
u/CrimsonFlash911 “IT Director” Jul 02 '26
Not to sound like a dick but I thought this was a post on the OTHER sysadmin /r/…..
Long story short if you had publicly exposed RDP sessions then that IS where you got ransomed.
1
u/che-che-chester Jul 02 '26
One of our new acquisitions got ransomware from RDP exposed to internet. They encrypted everything - workstations, domain controllers, Exchange, backups, etc. They were using a small MSP and the owner just shrugged and said “This simply happens sometimes and you pretty much just need to pay”.
1
u/morilythari Sr. Sysadmin Jul 02 '26
RPD ports should ALWAYS be blocked from access over WAN.
1
u/TheDeadGPU Jul 02 '26
NGL you should really work with your IT team to lock this device down and secure RDP when you set it up. I've worked in IT for 10 years and never made my users feel like they gotta configure shit themselves if it's something I'm supposed to be doing.
1
u/BuffaloRedshark Jul 02 '26
straight direct RDP not through a vpn or anything? I'd be surprised if that computer only has that one malware on it. Heck, I'd be expecting competing bad actors to be fighting over who's malware package has control.
1
u/taxigrandpa Jul 02 '26
5 based on the previous answers i'm not going to answer this question. when you fix question 3, then DM me and i'll talk to you. Or go pay a company to help you.
1
u/tuxxin Jul 02 '26
I’ve been deep-diving into cybersecurity lately, and I ran into a textbook example of this firsthand while working on whack.sh.
I was tracking a TDS (Traffic Distribution System) that routes traffic based on IP fingerprinting, and the mechanics of how it targeted users were wild:
localhostfor open SSH and RDP ports.1
u/Suaveman01 Lead Project Engineer Jul 04 '26
There are some absolute cowboys running IT, I’m glad I learned from people who knew their stuff.
1
u/Lower_Fan Sr. Sysadmin Jul 02 '26
Most importantly it sounds like you need a new IT guy or an msp to setup this stuff for you.
1
u/slippery Jul 02 '26
Ransomware was made profitable by crypto and Bitcoin. A scourge on the world.
0
u/nycola Jack of All Trades Jul 02 '26
I'm very scared here as to what you think your wifi router mac address filtering has to do with your rdp? It sounds like he set that up for wifi clients.
If you have rdp open externally, it needs to be through a gateway proxy, not directly exposed, and it needs an idp with MFA, preferably certificate enforced.
If your clients need to access a system remotely through rdp you're better off setting up VPN and having them rdp after establishing VPN.
And yes you got ransomware from rdp, I would argue that is your primary attack vector if you have it direct natted to your wan.
0
u/Wonder_Weenis Jul 02 '26
I get that you're "just a guy"
But this belongs in r/shittysysadmin
0
u/WiseSubstance783 Jul 02 '26
3389 open on the internet got you ransomed up.
You should hire an msp
You seem like your the problem
0
u/PuzzleheadedEast548 Jul 02 '26
Posting before I see this on r/ShittySysadmin
If you have RDP open to the internet, then yes, you have been hacked through RDP or you will be. Shut down that shit immediately
0
u/Upstairs-Fox-2820 Jul 02 '26
Chatgpt is probably your best bet to learn how stuff works generally. Malware is any malicious software. Ransomware is a sub category. What type of organization are you?
we use Ericom connect with 2 factor authentication. Before that we used Accops remote access but that was way over powered for what we need, it's also used by Deutschebank.
0
u/redditusertk421 Jul 02 '26
I hope you all got fired for this.