Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 33 guests online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
How to discovery all ip on a network
EH-Net
May 22, 2013, 01:16:05 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
How to discovery all ip on a network
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: How to discovery all ip on a network (Read 11612 times)
0 Members and 1 Guest are viewing this topic.
KH3
Newbie
Offline
Posts: 7
How to discovery all ip on a network
«
on:
September 17, 2007, 04:32:28 PM »
As a new pentester - i wonder how to discover all ipīs on a network if you have a connection to the network and donīt know whatīs on the net. Incl. machines on routed network.
Any good hintīs or tools?
KH3
Logged
LSOChris
Guest
Re: How to discovery all ip on a network
«
Reply #1 on:
September 17, 2007, 05:45:36 PM »
nmap -sP 192.168.0.0/24
Logged
EmanoN
Newbie
Offline
Posts: 41
Re: How to discovery all ip on a network
«
Reply #2 on:
September 17, 2007, 06:09:14 PM »
Host discovery is the very first skill for a security pro or a hacker. The first thing a hacker does when he goes to a coffee shop is connect to the network and ifconfig and see what dhcp gave him. If his IP is something like 192.168.9.105, then he has an idea of the network range and then will attempt a host discovery. He will first try the default -sS nmap option just to look for low hanging fruit. If anything shows up with -sS or -sT then he knows those might be easier targets. If nothing appears then he steps up his scans. Nmap is the premier open source scanner. There was a tut about it posted on this site and thats how I found this place from slashdot, but now its gone. No worries because there are many free nmap tuts out there. Make sure its free, I saw this one dude trying to sell the "secret" of nmap and thats total bs. The only secret is to download and start working with it and not just read about it!
«
Last Edit: September 17, 2007, 06:16:35 PM by EmanoN
»
Logged
KH3
Newbie
Offline
Posts: 7
Re: How to discovery all ip on a network
«
Reply #3 on:
September 18, 2007, 01:14:39 AM »
Quote from: EmanoN on September 17, 2007, 06:09:14 PM
Host discovery is the very first skill for a security pro or a hacker. The first thing a hacker does when he goes to a coffee shop is connect to the network and ifconfig and see what dhcp gave him. If his IP is something like 192.168.9.105, then he has an idea of the network range and then will attempt a host discovery. He will first try the default -sS nmap option just to look for low hanging fruit. If anything shows up with -sS or -sT then he knows those might be easier targets. If nothing appears then he steps up his scans. Nmap is the premier open source scanner. There was a tut about it posted on this site and thats how I found this place from slashdot, but now its gone. No worries because there are many free nmap tuts out there. Make sure its free, I saw this one dude trying to sell the "secret" of nmap and thats total bs. The only secret is to download and start working with it and not just read about it!
Thanks - I know of and use NMAP, the question here is not to discover host on the LAN where you have and ip, but on the coonected WAN. This is on a closed network with branches. So is there a sure and quick way to discover host connected on other segment (via Cisco routers)? I can not asume that that the other ip segment are same class network.
Logged
KH3
Newbie
Offline
Posts: 7
Re: How to discovery all ip on a network
«
Reply #4 on:
September 18, 2007, 01:15:14 AM »
Quote from: ChrisG on September 17, 2007, 05:45:36 PM
nmap -sP 192.168.0.0/24
Thanks - I know of and use NMAP, the question here is not to discover host on the LAN where you have and ip, but on the coonected WAN. This is on a closed network with branches. So is there a sure and quick way to discover host connected on other segment (via Cisco routers)? I can not asume that that the other ip segment are same class network.
Logged
LSOChris
Guest
Re: How to discovery all ip on a network
«
Reply #5 on:
September 18, 2007, 06:25:59 AM »
look at the routing table on the exploited host then.
it should tell you other networks that is/has been using regularly
Logged
EmanoN
Newbie
Offline
Posts: 41
Re: How to discovery all ip on a network
«
Reply #6 on:
September 18, 2007, 10:39:41 AM »
Depending on how the router is configured, you can sometimes use a tool like Proxycap to tunnel through and then run your scans.
Logged
T3rm1ght
Newbie
Offline
Posts: 25
Re: How to discovery all ip on a network
«
Reply #7 on:
October 04, 2007, 06:34:22 PM »
i think cain and abel can help u if the router broadcasts protocal updates
also you can do a traceroute to a public IP after you default gateway the next 1 or 2 hops is the wan link interface IP or the network behind ur Default GW
hope this works
Logged
>>There Is Always A Blind Spot In
>>Every Software, It's Up To Us To Find It
Diablo22
Newbie
Offline
Posts: 8
Re: How to discovery all ip on a network
«
Reply #8 on:
October 05, 2007, 07:39:50 AM »
Not all routers will allow you to scan their Lan!
Logged
T3rm1ght
Newbie
Offline
Posts: 25
Re: How to discovery all ip on a network
«
Reply #9 on:
October 05, 2007, 08:04:47 AM »
Quote from: Diablo22 on October 05, 2007, 07:39:50 AM
Not all routers will allow you to scan their Lan!
yes this is because routers separate broadcast domains, but what ever be the case there will by all means be a next hop. if that next hop ip not the interface to the ISP then you have something to start with.
Logged
>>There Is Always A Blind Spot In
>>Every Software, It's Up To Us To Find It
JeffCT
Newbie
Offline
Posts: 10
Re: How to discovery all ip on a network
«
Reply #10 on:
October 15, 2007, 08:21:05 PM »
Checking your own IP assigned via DHCP is a good start, and traceroutes. Or, you could just scan all non-routable IPs. They are:
172.16-31.0.0 (or 172.16.0.0/12)
192.168.0.0/16
10.0.0.0/8
Logged
CISSP, CEH
KH3
Newbie
Offline
Posts: 7
Re: How to discovery all ip on a network
«
Reply #11 on:
August 28, 2008, 06:15:31 AM »
God points and answers :O)
Itīs a while ago - but ended up scanning all non routeable subnets anyway (was not the easy solution that I hoped for ) But a clue to others SNMP will give you a pretty god hint of the subnets connected to routers.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCaseŪ Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(0) by
SUdoctstudent
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 The Wild West Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.