Author Topic: What's the name of the tool you can use to figure out server platform?  (Read 4915 times)

0 Members and 2 Guests are viewing this topic.

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Isn't there a tool you can use to finger a web server to determine what kind of server OS is running?  Or does it not need to be behind a firewall?  (i.e., it needs more than just the webserver)?

Thanks!
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What's the name of the tool you can use to figure out server platform?
« Reply #1 on: August 29, 2011, 08:09:46 pm »
Isn't there a tool you can use to finger a web server to determine what kind of server OS is running?  Or does it not need to be behind a firewall?  (i.e., it needs more than just the webserver)?

Thanks!

I think nmap is capable of that.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What's the name of the tool you can use to figure out server platform?
« Reply #2 on: August 29, 2011, 08:30:59 pm »
It depends on the configuration. Often, you can just use netcat (or telnet) to connect on 80, and send 'HEAD / HTTP/1.0' (then hit enter twice) and look for the 'Server: ' header. But that doesn't always work.

Alternatively, try nmap -A as root.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: What's the name of the tool you can use to figure out server platform?
« Reply #3 on: August 31, 2011, 12:51:42 am »
I generally use nmap, but p0f suits some scenarios better.

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: What's the name of the tool you can use to figure out server platform?
« Reply #4 on: August 31, 2011, 02:40:46 am »
Thanks.  A co-worker submitted a configuration change request the other day to remove the "X-Powered-By: ASP.NET" header from our web server.  He cited "increased security" as a reason.  I was fairly certain that it was a load of balls and thought we should let our security department handle security concerns.  :)
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: What's the name of the tool you can use to figure out server platform?
« Reply #5 on: August 31, 2011, 02:53:03 am »
Thanks.  A co-worker submitted a configuration change request the other day to remove the "X-Powered-By: ASP.NET" header from our web server.  He cited "increased security" as a reason.  I was fairly certain that it was a load of balls and thought we should let our security department handle security concerns.  :)

While I understand why you would see this as 'a load of balls', it can help against bad mass-attacks (someone polling a shit ton of servers looking for a specific combination of whatever).  It won't do anything against someone attacking you directly, or doing a deep poll (using one of the above tools, etc).  While the security risks are marginal, the effort to disable the headers is really small; I would do it.  It's also like, 100bytes of bandwidth saved on every request.  :D
And like a fool I believed myself, and thought I was somebody else...

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: What's the name of the tool you can use to figure out server platform?
« Reply #6 on: August 31, 2011, 03:21:53 am »
Thanks.  A co-worker submitted a configuration change request the other day to remove the "X-Powered-By: ASP.NET" header from our web server.  He cited "increased security" as a reason.  I was fairly certain that it was a load of balls and thought we should let our security department handle security concerns.  :)

While I understand why you would see this as 'a load of balls', it can help against bad mass-attacks (someone polling a shit ton of servers looking for a specific combination of whatever).  It won't do anything against someone attacking you directly, or doing a deep poll (using one of the above tools, etc).  While the security risks are marginal, the effort to disable the headers is really small; I would do it.  It's also like, 100bytes of bandwidth saved on every request.  :D
Yet iago's request clearly showed "Server: Microsoft/IIS 7.0" or something like that.

X-Powered-By: ASP.NET presents very little useful information.  It shows that the server is running one of four .NET versions on any of at least 3 different versions of Windows Server...  Server: Microsoft/IIS 7.0 shows that we're running on Windows 2008.

That said, those hundred bytes could be the difference...
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline nslay

  • Hero Member
  • *****
  • Posts: 786
  • Giraffe meat, mmm
    • View Profile
Re: What's the name of the tool you can use to figure out server platform?
« Reply #7 on: August 31, 2011, 08:36:47 am »
The original Battle.net servers advertised themselves as Sun Solaris on telnet (port 23, not 6112). However, Yoni and Skywing have always told me that these servers were really Windows-based.
An adorable giant isopod!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What's the name of the tool you can use to figure out server platform?
« Reply #8 on: August 31, 2011, 10:02:25 am »
Yet iago's request clearly showed "Server: Microsoft/IIS 7.0" or something like that.
You can usually disable that, too.

I'm not against security by obscurity, necessarily, but as long as you aren't relying on it, it doesn't hurt.

ASP.net is pretty damn obvious if you look at the source, though, unless you use all your own constructs and not their built-in fields, ajax, viewstate, etc etc.

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: What's the name of the tool you can use to figure out server platform?
« Reply #9 on: August 31, 2011, 11:01:47 am »
ASP.net is pretty damn obvious if you look at the source, though, unless you use all your own constructs and not their built-in fields, ajax, viewstate, etc etc.
That's not so true anymore with ASP.net MVC.  It's gotten rid of all of that other junk like viewstate that gives it away.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What's the name of the tool you can use to figure out server platform?
« Reply #10 on: August 31, 2011, 11:34:32 am »
ASP.net is pretty damn obvious if you look at the source, though, unless you use all your own constructs and not their built-in fields, ajax, viewstate, etc etc.
That's not so true anymore with ASP.net MVC.  It's gotten rid of all of that other junk like viewstate that gives it away.
Ah, cool. I haven't been involved in Web stuff much lately.