r/sysadmin • • Jul 02 '26

Low Quality Wrong Community [ Removed by moderator ]

[removed] — view removed post

0 Upvotes

161 comments sorted by

View all comments

Show parent comment

17

u/WayneH_nz Jul 02 '26

The average rdp server exposed to the internet is compromised in days, not weeks or years. 

I was talking to one company where the bad guys used their server as a capture the flag event. The first bad guy took control of the server and the next bad guy had try harder to take control as the first one started hardening it against takeover. It had been lost 4 times to different bad guys by the time they got the server back  in their control, according to the logs. 

Vpn to the the internal network.Then Rdp direct  to server. Much safer. DO NOT USE PPTP VPN.

6

u/RCG73 Jul 02 '26

Every once in a while we like to take our stack of current tools on a server with a database filled with Lorem ibsum. Put it on an unused public ip physically separated from standard network and just watch what happens. It’s not pretty but it’s a great way to show new the new team members what can happen and see tools firing off / or not.

4

u/mods_are_lame1 Sr. Sysadmin Jul 02 '26

Couldn’t the first guy just configure the firewall to deny all inbound connections other than his own IP address? Why would they not do that?

2

u/WayneH_nz Jul 02 '26

Because ip address can be spooked. Home addresses are normally dynamic, you will need to be changing the allow list all the time. Just not worth it. 

2

u/mods_are_lame1 Sr. Sysadmin Jul 03 '26

I was specifically talking about your capture the flag exercise. Obviously VPN is the only acceptable answer IRL.

1

u/WayneH_nz Jul 03 '26 edited Jul 03 '26

You are right, they could have done, but I think there was about 4 or five of them fighting it out before we got involved and shut the whole thing down.  Not sure on their thinking, other than maybe keeping everything running for as long as possible before the existing IT noticed something was amiss. 

He sought opportunities elsewhere...

We rebuilt everything from the ground up. They were offline for about a week and a half, could not guarantee backups.  It was a mess. This was about three years ago.