how to test if your web server is secure?

This is a discussion on how to test if your web server is secure? within the Apache Web Server forums, part of the Web Server and Related Forums category; Paul wrote: > How do you test to make sure your web server is as secure as it can > ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-15-2006
Rik
 
Posts: n/a
Default Re: how to test if your web server is secure?

Paul wrote:
> How do you test to make sure your web server is as secure as it can
> be?


Walking up to a group of hackers an boast security is as tight as it can
be?

It would work, but hardly a agreeable solution. There is no real way except
to read and reread all safety manuals and check it. There are companies
specialised in this kind of thing, but the good ones aren't cheap. I have
not yet heard of an automated method.
--
Rik Wasmus


  #2 (permalink)  
Old 12-15-2006
Paul
 
Posts: n/a
Default how to test if your web server is secure?

How do you test to make sure your web server is as secure as it can be?


  #3 (permalink)  
Old 12-16-2006
Paul
 
Posts: n/a
Default Re: how to test if your web server is secure?

thanks for your input


  #4 (permalink)  
Old 12-16-2006
Stuart Miller
 
Posts: n/a
Default Re: how to test if your web server is secure?


"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:b9886$45832f97$8259c69c$29525@news2.tudelft.n l...
> Paul wrote:
>> How do you test to make sure your web server is as secure as it can
>> be?

>
> Walking up to a group of hackers an boast security is as tight as it can
> be?
>
> It would work, but hardly a agreeable solution. There is no real way
> except
> to read and reread all safety manuals and check it. There are companies
> specialised in this kind of thing, but the good ones aren't cheap. I have
> not yet heard of an automated method.
> --
> Rik Wasmus
>


There are some reference books on Apache security
There is one I worked on ( I was the hobbyist reviewing the book as the
'less experienced user')
It was to be published by Pearson Technology Group or Pearson Educational.
Author was Ryan Barnett, title 'Securing Apache'
I don't know if the book was ever published. They were suposed to send me a
final copy, but it never arrived. Since I have the draft here I didn't realy
worry about it.

I learned a lot about hardening my server.

Stuart


  #5 (permalink)  
Old 12-16-2006
Scott Lindner
 
Posts: n/a
Default Re: how to test if your web server is secure?

> How do you test to make sure your web server is as secure as it can be?

There are various security scanning tools that you could try.
http://www.cirt.net/code/nikto.shtml


  #6 (permalink)  
Old 12-16-2006
shimmyshack
 
Posts: n/a
Default Re: how to test if your web server is secure?

there are some basic rules before you bother testing,
make sure you DONT just consider the web server as the problem, its the
box its on!
make sure
its up to date, as with all software on box
you're on the releases / bugs mailing list for all software on box
have only the modules/services you need running / turn off all unneeded
features
if you dont need russian... visitors, dont allow them
look over the owner and permissions
who has physical access/rights to the box
if uploads allowed place in non public/exec dir and set file perms, and
scan stream up and down, and then for ciruses on file system.
run a tight firewall.
consider banning all connections to known problem areas - I ban 1.5
million IPs
hard code your hosts as IPs, dont rely on DNS
run a web application proxy (or module like mod_security for apache) or
dedicated appliance if you have the money which updates itself if you
cant change the server or any software quickly enough this will help.
(or if you just cant change the software cos its 3rd party you can at
least filter its IO)

it is interaction of web server with other services like ARP, DNS, FTP,
SSH that is also a problem, and these days the most prevalent threat is
through the web application layer - user to user attacks are possible
even if web server is hard - so
named person responsible for security who is not the developer
audit your code with a fresh pair of eyes
no cutting corners to make stuff work - house rules on coding
regular training
set strong passwords

I write to companies whenever I spot problems in the web app layer
which render firewalls/hard webservers irrelevant - anwswer is always
same
"were not sure if what you say is poss", then
"erm yeah we'll fix that next rewrite", or
"I cant understand"
usually its the developer who is protecting their back and has their
heart beating as they tried to justify their work.

and this is just the tip of the iceberg,

and yeah there are loads of automated testing tools, get yourself over
to OWASP and join the mailing list to stay awake to security threats,
and for any guidance on what scanners, bruteforcers etc... you can use.


only AFTER learning and doing the very basics is it worth scanning, cos
all you will get from a scanner is a false sense of security and lazy
fingers if nothing shows up. thats my $0.000002

  #7 (permalink)  
Old 12-17-2006
Paul
 
Posts: n/a
Default Re: how to test if your web server is secure?

"shimmyshack" <matt.farey@gmail.com> wrote in message
news:1166302733.583248.261760@80g2000cwy.googlegro ups.com...
> there are some basic rules before you bother testing,
> make sure you DONT just consider the web server as the problem, its the
> box its on!
> make sure
> its up to date, as with all software on box
> you're on the releases / bugs mailing list for all software on box
> have only the modules/services you need running / turn off all unneeded
> features
> if you dont need russian... visitors, dont allow them
> look over the owner and permissions
> who has physical access/rights to the box
> if uploads allowed place in non public/exec dir and set file perms, and
> scan stream up and down, and then for ciruses on file system.
> run a tight firewall.
> consider banning all connections to known problem areas - I ban 1.5
> million IPs
> hard code your hosts as IPs, dont rely on DNS
> run a web application proxy (or module like mod_security for apache) or
> dedicated appliance if you have the money which updates itself if you
> cant change the server or any software quickly enough this will help.
> (or if you just cant change the software cos its 3rd party you can at
> least filter its IO)
>
> it is interaction of web server with other services like ARP, DNS, FTP,
> SSH that is also a problem, and these days the most prevalent threat is
> through the web application layer - user to user attacks are possible
> even if web server is hard - so
> named person responsible for security who is not the developer
> audit your code with a fresh pair of eyes
> no cutting corners to make stuff work - house rules on coding
> regular training
> set strong passwords
>
> I write to companies whenever I spot problems in the web app layer
> which render firewalls/hard webservers irrelevant - anwswer is always
> same
> "were not sure if what you say is poss", then
> "erm yeah we'll fix that next rewrite", or
> "I cant understand"
> usually its the developer who is protecting their back and has their
> heart beating as they tried to justify their work.
>
> and this is just the tip of the iceberg,
>
> and yeah there are loads of automated testing tools, get yourself over
> to OWASP and join the mailing list to stay awake to security threats,
> and for any guidance on what scanners, bruteforcers etc... you can use.
>
>
> only AFTER learning and doing the very basics is it worth scanning, cos
> all you will get from a scanner is a false sense of security and lazy
> fingers if nothing shows up. thats my $0.000002


Shimmyshack - that is EXACTLY what I was trying to find. Do you kow where I
could find more details/step-by-step instructions for all these things you
itemize?

Many thanks!


  #8 (permalink)  
Old 12-18-2006
Scott Lindner
 
Posts: n/a
Default Re: how to test if your web server is secure?

> only AFTER learning and doing the very basics is it worth scanning, cos
> all you will get from a scanner is a false sense of security and lazy
> fingers if nothing shows up. thats my $0.000002


True, but most hackers use these scanners in their bots to find easy targets
without doing much work. Depends on who you are I guess.

Cheers,
Scott


 


Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:50 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0