Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 25, 2008, 06:22:25 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: How do I secure a dedicated Windows 2003 Web Server ?  (Read 1918 times)
jkotuby
Newbie
*
Offline Offline

Posts: 3


« on: September 12, 2006, 10:10:34 AM »

Our company has recently leased from Lunarpages a dedicated Windows Server running Windows 2003 Standard and SQL Server 2005 full version. Our intention is to move a functioning business critical .NET Web Service application from a "managed" server at another hosting company to this new server. I am discovering that "unmanaged" means much more than I originally had anticipated.

The very first time I logged into the new Server, before even uploading any files, I discovered that the server had already been "compromised"... which was verified by one of your technicians. He had to totally rebuild the OS and re-install the programs. My question is, what steps do I need to take to "secure" the server yet still allow our web services to run. At our home office I have installed a hardware firewall/antivirus solution in addition to software AV on all the servers and workstations. But, I have never been tasked with securing a remote Web Hosting, and in our case, Application server.

I have already installed Grisoft AVG for Windows server antivirus software because I noticed it was being used on the other hosting company's "managed" server. But then in PLESK I noticed that there is a DR.Web antivirus program running that does not show up in Control Panel. As of this time I do not know how to access it's logs or scheduled scans. The response I get to any questions about that is "read the PLESK documentation".

The next question is about what firewall software should be used for a Windows web server. I am posing that question here and will also research the Microsoft literature. For now I will just enable Windows Firewall and hope that it doesn't immediately cut off my Remote Desktop connection, which I have set up without using PLESK.

That brings up another question. I am considering installing a program called SecureRDP freeware by a company called 2X. It will restrict access by Remote Desktop to a limited number of defined remote IP addresses. I am hoping that it will not , however, restrict access by the Lunarpages technicians, in case I need their help. Has anyone else used this software or know anything about it?

My other option is to set up VPN access to the Server and then requiring remote desktop to connect only through the VPN. I am concerned that unfettered access via RDP might be a security concern. At our home office we use non-standard ports for Terminal Services, because we have seen evidence of hackers trying to access port 3389, such that a number of times some of our Logins accounts have been suspended due to repeated incorrect logins. We have a very small staff here, so it is unlikely that the staff members themselves were responsible for the faulty logins. However, in this remote server situation, if I change the port then , once again, it might become difficult for Lunarpages techs to connect to our server.

So I reiterate, does anyone have some answers or suggestions for my concerns about properly securing a remote Windows web server. Thanks all...
Logged
DSB
Computer Nerd
Jabba the Hutt
*****
Offline Offline

Posts: 600


Programmer of things...


WWW
« Reply #1 on: September 12, 2006, 12:31:57 PM »

I'm not currently using a Windows hosting account but I run Win2K3 at home.

1. The first thing I would do after installing the OS is disable IIS.
2. Patch the OS completely using Windows Update.
3. Reset NTFS permissions on every file and folder in the system to be as limiting as possible.

    Administrators  - Full Permissions
    System - Full Permissions

    Then you apply the necessary permissions to indidual folders or folder sets to provide functionality to certain groups or internet users.

4. Run IIS Lockdown Utility
5. Enable IIS

That should do it and you should be very secure.  Of course you would need to keep up with the windows updates as well as other updates to critical systems.

Once again, this assumes you have access to all of these things.
Logged

jkotuby
Newbie
*
Offline Offline

Posts: 3


« Reply #2 on: September 20, 2006, 05:40:08 AM »

Thanks for the info re: IIS Lockdown and File/Folder security permissions. I have implemented some of the measures you have mentioned and will follow through on the rest. I have set Microsoft Update to apply patches and reboot (if necessary) at 3AM EST. I know the reboot is not a good thing for a web server, but advertising the fact that the service may not be available for a few minutes each night is not the worst thing. If the service catches on we can always go to a mirror server failover I suppose.

Thanks again...
Logged
GMTurner
Berserker Poster
*****
Offline Offline

Posts: 7553



WWW
« Reply #3 on: September 20, 2006, 06:07:34 AM »

One issue I've noticed recently with automatic updates is that if the system checks before the patches have been released by MS on Patch Tuesday, it will be another day (if not longer) before the system detects them. So, you will probably want to keep an eye on it by doing the "check for updates" routine just in case something was missed...

Also, you might place a note on the site somewhere, maybe in a description of the services, a TOS or something that states that at present the system could be off-line for regular system maintenance frm 3-4AM EST. That way you can have something to fall back on if you start getting complaints about it being down... not the best solution, but until there's a way to patch windows without needing to reboot... oh, and for what it's worth, when patching a W2k3 server at work, it typically doesn't take more than a few minutes and other than during the reboot process the server seems to remain reasonably responsive... but the specs on that server are also lower than the basic dedicated server LP has, so I don't think it should be too big of a problem... and the reboot is normally just a few of minutes...

Logged

The above post was made at a time when I gave a dang and doesn't necessarily reflect my current views or opinions.

For those no longer with us ... Grr..!!

The Redheaded Penguin
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM