pen-test
[Top] [All Lists]

Re: Discovering Live Hosts

To: "Nikhil Wagholikar" <visitnikhil@gmail.com>
Subject: Re: Discovering Live Hosts
From: pand0ra <pand0ra.usa@gmail.com>
Date: Wed, 8 Aug 2007 01:01:44 -0600
Cc: pen-test@securityfocus.com
Delivered-to: sp-com-lists@consult.net
Delivered-to: pentest-list2@consult.net
Delivered-to: mailing list pen-test@securityfocus.com
Delivered-to: moderator for pen-test@securityfocus.com
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BCdkhv8GpbkqcrfntlgxMZrZ2/D3se+rJ9XIEBeJAnH/Px+8sgEfKQ3+Lifbn32e34DRK/v9i57pL6sP1PlBwfXWE6jzfdSJMPY9JPNrSxf03Qx5ibyrmth/JcPHORNuy/YQ+OShEXGRHyNC62wilfLrQ6o4rEeBTajXi2Bxz9U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gr1iKdAxpBVN6yfAtyDEztLs4Yst4io0ur1wXAQKFWg6G1zXGcuhOdsCXet00197K45SfRNEr8iQooBIs54SDtsIlO//UIPprWfeE5i20bx/0PaPvF8U6/rkcuNsWSr4schJy0O46NfflAf4mTmeUy2rYSakxOEiFfVgixG9bTY=
In-reply-to: <266316f70708072215r772ddf24uf200a41db75163cd@mail.gmail.com>
List-help: <mailto:pen-test-help@securityfocus.com>
List-id: <pen-test.list-id.securityfocus.com>
List-post: <mailto:pen-test@securityfocus.com>
List-subscribe: <mailto:pen-test-subscribe@securityfocus.com>
List-unsubscribe: <mailto:pen-test-unsubscribe@securityfocus.com>
Mailing-list: contact pen-test-help@securityfocus.com; run by ezmlm
References: <266316f70708070829w24a05fecqacb4a27a8e40062@mail.gmail.com> <7d04ec560708072010o61fcab80ie32912f812e68794@mail.gmail.com> <266316f70708072215r772ddf24uf200a41db75163cd@mail.gmail.com>
Resent-date: Wed, 8 Aug 2007 00:40:11 -0600 (MDT)
Resent-from: pen-test-return-1078484777@securityfocus.com
Resent-message-id: <20070808064011.0E8A0144243@outgoing2.securityfocus.com>
Resent-sender: listbounce@securityfocus.com
Sender: listbounce@securityfocus.com
Yes, but port 26 will respond and with a banner (usually) and
obviously you would be able to connect to it. You also have to think
on how likely this will be as (maybe I am talking out my arse) I have
not seen anyone change a default port for SMTP. I'm not saying that
this is not (im)possible or (im)probable.

If you have the time and you are trying to discover all of the hosts
in a range I would use the nmap line that rajat supplied. Depending on
how many addresses there are (and your connection) it could take a
while but if there are any services running you should find them.

You could also start by doing a zone transfer (if it is not
restricted) or other DNS checks. Netcraft might also have something
interesting.

Nikhil -
"Performing scans from within target LAN is called Vulnerability
Assessment, and doing the same thing from other LAN or outside IP
Address/Addresses is called Penetration Testing." You may want to
refer to Wikipedia on the differences between a Vulnerability
Assessment and a penetration test. I've provided the links below.

"A penetration test is a method of evaluating the security of a
computer system or network by simulating an attack by a malicious
user, commonly known as a hacker."
http://en.wikipedia.org/wiki/Penetration_test

"Vulnerability assessment is the process of identifying and
quantifying vulnerabilities in a system."
http://en.wikipedia.org/wiki/Vulnerability_assessment

Good luck.

On 8/7/07, Nikhil Wagholikar <visitnikhil@gmail.com> wrote:
> Hello Rajat,
>
> Thanks for your suggestion. However as I said earlier that "if suppose SMTP is
> configured on port 26 instead of traditional port 25, then it would
> add a twist to this situation". Hence your suggested method would
> still leave some hosts down. Can you kindly further granularize your
> suggestion?
> Thanks once again.
>
> --
> Nikhil Wagholikar
> Information Security Analyst
>
> On 8/8/07, rajat swarup <rajats@gmail.com> wrote:
> > On 8/7/07, Nikhil Wagholikar <visitnikhil@gmail.com> wrote:
> > >
> > >
> > > Can anyone kindly guide me, as to how to find live IP Addresses from a
> > > given Pool of IP Addresses (Range of IP Addresses) with as less false
> > > positive results as possible and as quickly as possible? Is there any
> > > tool out (no matter shareware or freeware), which focuses on finding
> > > live IP Addresses from Pool of IP Addresses?
> > >
> > Hi Nikhil,
> > I would choose some 40-50 odd most commonly used ports and perform a
> > SYN Stealth scan only on those ports -sS -P0 (e.g.,
> > 21,22,23,25,53,80,443,3389,9000 etc).
> > I'd also do a ping scan.
> > Now there are 4 possibiities:
> > 1. A host responds to ping
> > 2. A host responds with open port
> > 3. A host responds with a closed port
> > 4. A host resolved DNS name
> > In each of the four cases you come to know the host is alive.
> >
> > HTH,
> > Rajat.
> > --
> > Rajat Swarup
> >
> > http://rajatswarup.blogspot.com/
> >
>
> ------------------------------------------------------------------------
> This list is sponsored by: Cenzic
>
> Need to secure your web apps NOW?
> Cenzic finds more, "real" vulnerabilities fast.
> Click to try it, buy it or download a solution FREE today!
>
> http://www.cenzic.com/downloads
> ------------------------------------------------------------------------
>
>

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------


<Prev in Thread] Current Thread [Next in Thread>