Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Detecting hacking attempts - what should browsers *not* re..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Redirect (based on multiple conditions)  
Author Message
see_my_signatu

External


Since: May 30, 2004
Posts: 28



(Msg. 1) Posted: Mon May 31, 2004 7:19 pm
Post subject: Detecting hacking attempts - what should browsers *not* request?
Archived from groups: alt>apache>configuration, others (more info?)

Stefaan A Eeckels <tengo.DeleteThis@DELETEMEecc.lu> wrote in message news:<20040531112257.71183c0a.tengo.DeleteThis@DELETEMEecc.lu>...
 > On 30 May 2004 13:42:59 -0700
 > see_my_signature_for_my_real_address.DeleteThis@hotmail.com (Dr. David Kirkby) wrote:
 >
  > > I have a Sun workstation running Solaris 9 with an Apache 1.3.27 web
  > > server (with Sun pathces applied). The web server only serves static
  > > pages - there is no dynamic content at all. No php, javascript etc.
 >
 > If that's the case, use Dan Bernstein's publicfile
 > <http://cr.yp.to/publicfile.html>, which is the most
 > secure HTTP/FTP server you can find to serve static
 > pages.
 >
 > Take care,
 >
 > --
 > Stefaan


Thanks, but later I might add some dynamic content, so I'm not keen to
swap from Apache (which I spent some time learning to configure) to
something else which I don't know. However, I do accept that something
simpler can be made more secure.

I've got /var/apache (where apache files reside) on a read-only file
system. /usr is mounted read-only too. I know it's possible to set up
Apache in a chrooted enviroment, but I've not looked at that
possibility.

I realise (although my original post was admittidily not clear on
this) that the attacks I showed were aimed at Windoze machines, not
Solaris ones. But my feeling is that if someone is trying to attack a
Windoze machine, I don't want them visiting my IP address. They might
have attacks for UNIX ones too. So I'd rather just block their IP.

I made a script that also checks for attempts to telnet to the machine
and just blocks their IP address. I don't see any good reason someone
should want to telnet to my box, although one might argue it can be
used in some circumstances as a test.

I have a hardware firewall, which is configured to block most things,
but I can't avoid leaving port 80 open obviously, and port 22 is open
from a few IP addresses only. I've now opened port 23 from the
hardware firewall to allow that through to the Sun. If anyone tries to
access port 23, their IP will be blocked on all ports, including that
to the webserver. So any attempt to telnet to the box will immediatly
put a stop to any attacks against apache.

Whether or not blocking IP addresses that appear to be doing something
you don't like is of course debatable. I'm sure if someone can spoof
their IP address, they could create a DOS attack in this way.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Detecting hacking attempts - what should browsers *not* re.. 
Back to top
Login to vote
stuart_miller

External


Since: May 11, 2004
Posts: 55



(Msg. 2) Posted: Tue Jun 01, 2004 3:20 am
Post subject: Re: Detecting hacking attempts - what should browsers *not* request? [Login to view extended thread Info.]
Archived from groups: alt>apache>configuration (more info?)

"Dr. David Kirkby" <see_my_signature_for_my_real_address.DeleteThis@hotmail.com> wrote
in message news:c99d2c79.0405311519.4b6c19c@posting.google.com...
 >
 > Whether or not blocking IP addresses that appear to be doing something
 > you don't like is of course debatable. I'm sure if someone can spoof
 > their IP address, they could create a DOS attack in this way.

Blocking IP addresses may not be a solution to your issue.

Most individuals who would be moubnt ing attacks have 'temporary' IP
addresses, in that they are on dhcp from their provider. Therefore, the same
individual could be back next week, using the same 'robot' from a different
address. Also, you could ebd up with a very long 'deny' list, and end up
locking out people who should have access as they rotate through available
IP addresses.

If your material is very 'restricted' you may want to consider using the
'allow from' directive instead. As I see it, if you want to put the material
out there for the world to see, you run the risk being probed for
weaknesses.

You also may want to consider if it is the system you want to protect, or
the data you are serving. There would be different approaches depending on
which it is.

Stuart<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Detecting hacking attempts - what should browsers *not* re.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Detecting hacking attempts - what should browsers *not* re.. - I have a Sun workstation running Solaris 9 with an Apache 1.3.27 web server (with Sun pathces applied). The web server only serves static pages - there is no dynamic content at all. No php, javascript etc. Looking at the error log..

help with http.conf hacking - I've run apache/php/mysql for over a year now - but only with default settings. Most of my web design stuff is done on my laptop -and all my files are stored there and 'defined and cached' there with dreamweaver. I decided at times it would be easier t...

Sending type application/xhtml+xml only to browsers that a.. - Hi, I'm trying to set up my server to send .html files as application/xhtml+xml only to browsers that accept it. I only have access to the .htaccess file, and not any other configuration files (as far as I know). Doing a quick search, and a tiny bit of....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]