LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-09-2003, 11:05 PM   #1
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 154

Rep: Reputation: 15
Question fake out netcraft.com


Is there a way to make netcraft report/detect a different OS & web server than the one your actually using?
 
Old 06-10-2003, 04:48 AM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
erm, why would you want to?
 
Old 06-10-2003, 05:50 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
If you use Apache1, change it in src/include/httpd.h and recompile.
 
Old 06-10-2003, 01:23 PM   #4
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 154

Original Poster
Rep: Reputation: 15
For security resons. The less info an attacker has, the harder it is to gain access. Right? Not that I'm a prime target or anything, just curious if it could be done.
 
Old 06-10-2003, 10:34 PM   #5
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
For security resons.
Security through obscurity, eh?

Well, don't assume there aren't other ways to get that kind of info.
; )
 
Old 06-11-2003, 02:01 PM   #6
Flibble
Member
 
Registered: Mar 2002
Distribution: Redhat 9.0, Debian, Knoppix, YellowDog
Posts: 142

Rep: Reputation: 15
The main reason for doing this is to guard against a 0-day exploit that is released to the kiddies. The "Know your enemy" book from the honeynet project postulates that over 60% of all attacks are launched on the back of internet scans, with kiddies continually scanning class A blocks looking for known vulnerable versions of software.

If I have a canned exploit for "Microsoft-IIS 5.0" then I scan port 80 looking for it. Once I amass enough targets then I go exploit them to put Stacheldracht or Trinoo on. Its a status symbol for the kiddies to claim that they 0wn3d 75 IIS servers, or whatever.

Fudging your web header is possible on every web server (iPlanet, Apache, IIS) but the method is different in each case. Be aware if your are using IIS (though if you are why are you posting here?) that whilst URLScan purports to be able to change the web header, doing it breaks multi-part PDF downloads (i.e. PDF's of more than a single page). You are better in that case to hex edit the DLL.

Apache is by far the easiest/best in this respect.

0-day exploits - sometimes security through obscurity is all that you have got. ;>

Flibble
 
Old 02-21-2004, 01:36 PM   #7
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 154

Original Poster
Rep: Reputation: 15
What about changing it in RedHat 9? ...or fedora core1?

Thanks,
Chris
 
Old 02-21-2004, 01:42 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 267Reputation: 267Reputation: 267
Quote:
Originally posted by chrisknight
What about changing it in RedHat 9? ...or fedora core1?

Thanks,
Chris
The distro doesn't matter in this situation, its within apache the changes need to be changed like mentioned above.

And also the security thru obscurity, yeah, no point really. Changing your httpd server to make it look like its another OS and webserver isn't gonna do jack for you to tell you the truth.

You should learn real security methods instead of wasting your time with these silly one's. Check out the sticky thread in Security where unspawn has made a list of valuable links to different security sites, information, howto's and such. Very good list of links with plethora of information.

Regards.
 
Old 03-13-2004, 07:53 PM   #9
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS7.6
Posts: 154

Original Poster
Rep: Reputation: 15
for those who want to know... the answer is stupid simple.
Someone already replied as to how to do it in apache1. I (like most people now) run apache 2.

you must have the headers module or this line in httpd.conf:
LoadModule headers_module modules/mod_headers.so

then in httpd.conf apply this line:

Header set Server "your server name here"

Netcraft will cache entries for a time so the changes wont take affect there right away...

see what your headers say by using:
http://www.grc.com/id/idserve.htm
or
http://www.delorie.com/web/headers.html
or
http://web-sniffer.net/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fake Directories wwnexc Linux - Software 14 09-05-2005 11:43 PM
fake icmp response c0lin Linux - Security 3 01-22-2005 12:06 AM
fake ip's g452 Linux - Networking 3 06-04-2004 01:26 PM
Netcraft: Debian fastest growing distro synaptical Debian 0 01-28-2004 04:13 PM
fake email oulevon General 4 05-23-2001 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration