The PC Guide Discussion Forums  
Google
Web The PC Guide
Studying for the A+, Network+ or Security+ exams? Get over 2,600 pages of FREE study guides at CertiGuide.com!
Join the PC homebuilding revolution! Read the all-new, FREE 200-page online guide: How to Build Your Own PC!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.

Go Back   The PC Guide Discussion Forums > PC Operating Systems and Software > Windows
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread
  #1  
Old 09-08-2002, 04:19 PM
dandino dandino is offline
Geek Acolyte
 
Join Date: Aug 2002
Location: uk
Posts: 29
Question IIS Web Server Security Question

Hello everyone

I have just setup Win XP and would like to use IIS web server to host a web site. I am using Win XP together with my old OS Win Me and so have stayed with the FAT32 file system. However I have heard that there are a lot of security flaws assosiated with IIS web server and therefore need a little advise before I begin using it.
What I'd really like to know is can I create an extra extended NTFS partition soley for use with the IIS web server for added security?

To be a little clearer: If I am currently running Win XP on a FAT32 partition is it also possible for Win XP to run programs (IIS web server for example) on another logical drive on a NTFS extended partition?

Any help greatly appreciated
dandino
Reply With Quote
  #2  
Old 09-08-2002, 09:10 PM
mjc's Avatar
mjc mjc is offline
Supreme Exalted Grand Master Geek
Moderator
 
Join Date: Nov 2000
Location: The Mountain State
Posts: 21,180
Yes, it should be able to run apps from both files systems....
__________________
AV, Anti-Trojan List;Browser and Email client List;Popup Killer List;Portable Apps
“When men yield up the privilege of thinking, the last shadow of liberty quits the horizon.” - Thomas Paine
Remember: Amateurs built the ark; professionals built the Titantic."
Reply With Quote
  #3  
Old 09-08-2002, 09:19 PM
Paul Komski Paul Komski is offline
Chicken-head-eating Geek
Moderator
 
Join Date: Oct 2001
Location: N of the S of Ireland
Posts: 17,783
Since IIS "comes with the OS", I may be wrong but, won't you have to either change to NFTS on that partition of have a separate NFTS partition with another OS running IIS on it??
__________________
Take nice care of yourselves - Paul - ♪ -
Help to start using BiNG. Some stuff about Boot CDs & Data Recovery Basics & Back-up using Knoppix.
Reply With Quote
  #4  
Old 09-09-2002, 11:48 AM
Ghost_Hacker's Avatar
Ghost_Hacker Ghost_Hacker is offline
Net-Tech-Fu Sensei
 
Join Date: Jan 2001
Location: Unimatrix Zero-one
Posts: 2,245
Yes, placing the "web root" on another partition is the recommended way to install IIS. (you'll get the option where to place the web root during the install, you can also place your web sites files on other partitions even after you have installed IIS.) The location of the web root or your web sites files can be a security risk, so the web root should always be on a seperate NTFS partition and NEVER on the "c" drive or wherever the Operating systems system files are located. If you do place your web sites files or the web root on the same partition as your system files make sure to patch your server to the latest updates and to turn off any "directory browsing" features in IIS.


Good Luck
__________________
Ferengi Rules of Acquistion:
Rule # 47
Don't trust a man wearing a better suit than your own.

Last edited by Ghost_Hacker : 09-09-2002 at 12:00 PM.
Reply With Quote
  #5  
Old 09-09-2002, 12:48 PM
dandino dandino is offline
Geek Acolyte
 
Join Date: Aug 2002
Location: uk
Posts: 29
Smile

Thanks the lot for your advice Ghost_Hacker, you certainly seem to know your stuff.

I feel a little insecure about asbout using IIS now. Are there any other web server's that you know of that might offer a little more security and also run on Win XP? I know the Apache server is good but as far as I know it's a Unix server - or is there a windows version?

Thanks again
dandino



Last edited by dandino : 09-09-2002 at 01:01 PM.
Reply With Quote
  #6  
Old 09-09-2002, 03:00 PM
Ghost_Hacker's Avatar
Ghost_Hacker Ghost_Hacker is offline
Net-Tech-Fu Sensei
 
Join Date: Jan 2001
Location: Unimatrix Zero-one
Posts: 2,245
Yes, there is a Windows version of Apache. The Windows version isn't as secure as the Unix version so be sure to watch for updates to the software as security holes for Apache are sometimes found. Still unlike IIS the default Apache configuration is pretty secure.



Go here to get it and be sure to read the info at the site:


Apache
__________________
Ferengi Rules of Acquistion:
Rule # 47
Don't trust a man wearing a better suit than your own.
Reply With Quote
  #7  
Old 09-09-2002, 04:33 PM
dandino dandino is offline
Geek Acolyte
 
Join Date: Aug 2002
Location: uk
Posts: 29
Smile

Thanks Ghost_Hacker, I'll download and try it, sounds a little more secure than ISS

dandino
Reply With Quote
  #8  
Old 09-09-2002, 08:14 PM
Paul Komski Paul Komski is offline
Chicken-head-eating Geek
Moderator
 
Join Date: Oct 2001
Location: N of the S of Ireland
Posts: 17,783
Ghost
(1) Understand about siting the web root folder and site(s) and moving it/them onto NFTS ... but ... does it make any difference, security wise, if IIS itself is installed with the OS on a FAT or NFTS partition?

(2) I am presuming that if access is made into a website folder on FAT that it is easier to then break in elsewhere on that partition by using techniques like buffer overflow.

(3) In other words, is the main (or only) security risk from outsiders accessing the folders/files on the website(s) created or can they get access in other ways through the web server itself or is this always isolated from the web. I hope this makes sense.
__________________
Take nice care of yourselves - Paul - ♪ -
Help to start using BiNG. Some stuff about Boot CDs & Data Recovery Basics & Back-up using Knoppix.
Reply With Quote
  #9  
Old 09-10-2002, 11:58 AM
Ghost_Hacker's Avatar
Ghost_Hacker Ghost_Hacker is offline
Net-Tech-Fu Sensei
 
Join Date: Jan 2001
Location: Unimatrix Zero-one
Posts: 2,245
Understand about siting the web root folder and site(s) and moving it/them onto NFTS ... but ... does it make any difference, security wise, if IIS itself is installed with the OS on a FAT or NFTS partition?


Yes, as the system files on a FAT partition have no security at all. ( you can't control who can write, read or execute files) Running any NT/2000/XP server on a FAT partition should always be seen as a no-no.Unless security is of no concern.


I am presuming that if access is made into a website folder on FAT that it is easier to then break in elsewhere on that partition by using techniques like buffer overflow.


Buffer overflows have nothing to do with where a file is located. Overflows have to do with memory and how it's accessed by an application. By "overflowing" a stack a processor can be made to execute the code within the "overflowed" area. (not the most techincal of answers but it'll do. )

It is very easy, using just your web browser, in a unpatched default IIS installation to gain access to the drive the webroot or website files are on. If those files are setting on the same partition as your system files (and ,god forbid, in a FAT partition too) then the "hacker" would have easy access to the files needed in order to control your system. (another tip: On an NT box that will run IIS you should install NT into a folder other than "winnt". 99% of all "directory traversal" exploits will look for a "winnt/system32" folder. This simply step alone will secure you againest every script kiddie tool that uses "directory tranversal". )


In other words, is the main (or only) security risk from outsiders accessing the folders/files on the website(s) created or can they get access in other ways through the web server itself or is this always isolated from the web. I hope this makes sense.


IIS provides many ways for hackers to take control of your system because ,by default ,it turns on every little service it can provide.

Script mappings, directory transversal, sample and data access files installed by default all can be used to gain access to the system. Many can be used simply by typing the right command into Internet Explorer.
If you need to install any web server (more so with IIS) take a look thur the internet for any "Securing" how-tos.


Hope this helps
__________________
Ferengi Rules of Acquistion:
Rule # 47
Don't trust a man wearing a better suit than your own.

Last edited by Ghost_Hacker : 09-10-2002 at 12:11 PM.
Reply With Quote
  #10  
Old 09-10-2002, 06:24 PM
Paul Komski Paul Komski is offline
Chicken-head-eating Geek
Moderator
 
Join Date: Oct 2001
Location: N of the S of Ireland
Posts: 17,783
Sure is a great help in understanding. Your replies are always so clear and instructive - so thanks a lot.

I have a standalone setup and just have IIS set up for testing purposes - but I'm all the time trying to learn new stuff. I think with my slow dialup even a hacker might get browned off waiting!

BTW is the change from using bold to green text specially for Irish Users!

What I would love to get my head around are the connection "ports". Are these easily understood (in simple terms) or any good links about them - I've never got very far from searching Google in this respect.
__________________
Take nice care of yourselves - Paul - ♪ -
Help to start using BiNG. Some stuff about Boot CDs & Data Recovery Basics & Back-up using Knoppix.
Reply With Quote
  #11  
Old 09-11-2002, 11:45 AM
Ghost_Hacker's Avatar
Ghost_Hacker Ghost_Hacker is offline
Net-Tech-Fu Sensei
 
Join Date: Jan 2001
Location: Unimatrix Zero-one
Posts: 2,245
BTW is the change from using bold to green text specially for Irish Users!

Jaysus! I never thought of it that way. But I can see where you might bleedin think so mate.



For an understanding of ports, you might try these links (from easy to more technical) It's hard to find good info on how ports work. So you might want to try to find some books or if you have a certain question on how something works ,just post back and I'll see if I can explain it.


How stuff works....ports

Daryl's TCP primer


TCP Ports
__________________
Ferengi Rules of Acquistion:
Rule # 47
Don't trust a man wearing a better suit than your own.

Last edited by Ghost_Hacker : 09-11-2002 at 11:51 AM.
Reply With Quote
  #12  
Old 09-11-2002, 04:03 PM
Paul Komski Paul Komski is offline
Chicken-head-eating Geek
Moderator
 
Join Date: Oct 2001
Location: N of the S of Ireland
Posts: 17,783
Thanks again. I'll do some homework and post back if (that is when) I get stuck!
__________________
Take nice care of yourselves - Paul - ♪ -
Help to start using BiNG. Some stuff about Boot CDs & Data Recovery Basics & Back-up using Knoppix.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:02 AM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.