Re: Find out the subnetting of a company

From: Andy Cuff (lists_at_securitywizardry.com)
Date: 07/20/04

  • Next message: David M. Zendzian: "Re: Find out the subnetting of a company"
    To: <miles@mstevenson.org>, <pen-test@securityfocus.com>
    Date: Tue, 20 Jul 2004 18:33:36 +0100
    
    

    Hi
    A nice tool to assist at 3AM when the braincells just can't cope with
    subnetting is the FREE Solarwinds advanced subnet calculator
    http://www.solarwinds.net/Tools/Free_tools/Subnet_Calc/index.htm
    You still have to do some legwork for the information but it helps

    -andy
    Talisker Security Tools Directory
    http://www.securitywizardry.com
    ----- Original Message -----
    From: "Miles Stevenson" <miles@mstevenson.org>
    To: <pen-test@securityfocus.com>
    Sent: Monday, July 19, 2004 7:24 PM
    Subject: Re: Find out the subnetting of a company

    > Usually, the best way to map out how a chunk of address space has been
    > subnetted, is by finding out which addresses are used for broadcasting.
    This
    > is a trivial task for a tool like nmap, which will notify you when it has
    > stumbled upon a broadcast address.
    >
    > Once you have found a broadcast address, you know that you have the "top
    end"
    > of a subnet. From there its a simple matter of finding the bottom end.
    There
    > are multiple ways to go about this.
    >
    > One good way, is to assume that the first address on the subnet will be
    used
    > for that networks router, which is a very common way of doing things. You
    can
    > try tracerouting to 2 addresses beyond your broadcast address, and then
    see
    > which hops are identified as routers. Keep in mind that you may or may not
    be
    > allowed to use traceroute depending on any network filtering going on, and
    > you may not hit a router as the first IP of a subnet (although that would
    be
    > very rare).
    >
    > A more reliable method of finding the "bottom end" of the subnet, is to
    > continue scanning downward through the address space until you find
    another
    > broadcast address. By finding out where the previous network ends, you now
    > know where the next network begins (the next address would be the network
    > address).
    >
    > Just don't forget about all the modern and tricky things you can do with
    > software like honeyd and vmware. What you happen to map out on paper, may
    not
    > be actual physical devices at all, but rather one large machine running a
    > complex internal vmware or honeyd setup. These are rare cases, but they do
    > happen.
    >
    > Hope that helps.
    >
    >
    > On Thursday 15 July 2004 04:17 am, il.prof@virgilio.it wrote:
    > > During an internal black-box penetration test, from a subnet of a
    company
    > > (with or without DHCP), how do you find out the structure of the other
    > > subnets of network? In particular, how do you determine/discover the
    > > subnetting of the IP space of a company?
    > >
    > > An example:
    > >
    > > - IP network of the company XYZ: 10.0.0.0/8 (I use a private class to
    avoid
    > > the use of a real address space)
    > > - I?m in the subnet 10.0.0.0/24
    > >
    > > How do you find out the structure of other subnets that are part of the
    > > network 10.0.0.0/8?
    > >
    > > Il Prof.
    >
    > --
    > Miles Stevenson
    > miles@mstevenson.org
    > PGP FP: 035F 7D40 44A9 28FA 7453 BDF4 329F 889D 767D 2F63


  • Next message: David M. Zendzian: "Re: Find out the subnetting of a company"

    Relevant Pages

    • Re: please advise - problem with routing
      ... Actually, these are HOST addresses, not NETWORK addresses. ... I will assume that this means from the 192.168.1.x/24 subnet you can ... your Internet Router, and not related to routing between the two internal ... Gateway using Interface 192.168.1.12. ...
      (microsoft.public.windows.server.networking)
    • Re: Foundational Question
      ... Cisco has split its CCNA certification into two exams to make it more ... They have a network fundamentals book that would be ... > the primary difference between the hub and router be the shared bandwidth, ... > So the DHCP server will have every scope of each subnet that makes up the ...
      (microsoft.public.win2000.networking)
    • Re: Multihomed Win2k Server Routing Issue
      ... Cisco router must have a router point all 0.0.0.0 including 192.168.3.x to outside port. ... have a network small network connecting to our main network through 3COM wireless router and the main network has another Cisco router connecting to the Internet. ... The computers in the Lab can ping main network computers and the Internet. ... NIC 2 (192.168.3 subnet) has address 192.168.3.250 and netmask of ...
      (microsoft.public.win2000.ras_routing)
    • Re: WG and Domain on one network
      ... were on same physical subnet. ... my home network which uses WG ... > router which is also an ADSL modem and which is connected to BT BroadBand ... >> If the domain and workgroup pcs can browse each other, ...
      (microsoft.public.win2000.networking)
    • Re: how to configure SBS2003 to accept WIFI clients
      ... configure the router for a 10.0.0.X subnet once before. ... > Server NIC 2 is hooked up to your router and server can ping the router. ... > network. ...
      (microsoft.public.windows.server.sbs)