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 29 guests online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Enumerating the 'hidden' IP addresses using port 0?
EH-Net
May 24, 2013, 05:35:03 AM
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
) >
Enumerating the 'hidden' IP addresses using port 0?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Enumerating the 'hidden' IP addresses using port 0? (Read 3788 times)
0 Members and 1 Guest are viewing this topic.
bobby_here
Newbie
Offline
Posts: 14
Enumerating the 'hidden' IP addresses using port 0?
«
on:
June 13, 2012, 02:37:03 PM »
I recently ran a Nessus scan against my outward-facing IP.
Its information gathering tools discovered a lot of pertinent data.
It correctly identified:
my eth0 MAC.
my wlan0 MAC.
my firewall rules (using iptables -L -n -v -t filter).
my operating system (using uname -a).
the name of my computer (but not the user name).
my programs listed as ESTABLISHED or LISTENING (using netstat)
For example:
"By connecting to the remote host via SSH with the supplied credentials, this plugin enumerates network interfaces configured with IPv4 addresses."
- 127.0.0.1 (on interface lo)
- 93.xxx.xxx.xxx (on interface ppp0) -
- 128.xxx.xxx.xxx (on interface wlan0)
Nessus gathers this information by sending the queries mentioned earlier (like uname -a) to port 0.
I first assumed that this would be an excellent tool to identify a person as it reveals their real IP (if they are 'hiding' behind a VPN) assuming that wlan0 is not a 192.168.x.x address).
However, I then thought that the 'real' IP address can only be gathered as I was scanning myself.
I need to test this but am I correct to think that if one outward-facing IP uses Nessus to scan a different outward-facing IP then they would not get the 'real' IP addresses like I did when I scanned myself.
I don't see, for example, how commands like uname and iptables can be run on remote machines across the Internet because, if so, the whole idea of VPNs is rendered pointless.
Thanks!
Logged
unicityd
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
Re: Enumerating the 'hidden' IP addresses using port 0?
«
Reply #1 on:
June 13, 2012, 02:45:42 PM »
Nessus reports local information as port 0. Are you scanning this machine remotely or are you running Nessus from the target machine?
Port 0 is reserved and not used by any (legit) TCP/UDP services. On Unix, a program can request a dynamic port by specifying port 0; this will tell the API call to select a port.
Logged
BS in IT, CISSP, MS in IS Management (in progress)
bobby_here
Newbie
Offline
Posts: 14
Re: Enumerating the 'hidden' IP addresses using port 0?
«
Reply #2 on:
June 13, 2012, 04:17:14 PM »
Quote
Nessus reports local information as port 0. Are you scanning this machine remotely or are you running Nessus from the target machine?
I think this answers my question.
I am running Nessus from the target machine.
Hence, if I understand correctly, your point is that the information collected is "local".
And therefore if I was scanning the same machine remotely I would not be able to obtain such "local" information.
Correct?
Logged
unicityd
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
Re: Enumerating the 'hidden' IP addresses using port 0?
«
Reply #3 on:
June 13, 2012, 05:23:14 PM »
Correct.
Logged
BS in IT, CISSP, MS in IS Management (in progress)
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: Enumerating the 'hidden' IP addresses using port 0?
«
Reply #4 on:
June 14, 2012, 08:54:42 AM »
But you can obtain some information about the remote system by sending packets over ICMP which doesn't use ports. Ping (ICMP ECHO) is one of the common ones, but there's also "timestamp" (if that's the right name), netmask, and more.
Logged
I'm an InterN0T'er
ajohnson
Recruiters
Hero Member
Offline
Posts: 1060
aka dynamik
Re: Enumerating the 'hidden' IP addresses using port 0?
«
Reply #5 on:
June 17, 2012, 07:14:20 PM »
You can also run credentialed scans and pull in this type of information via SSH (if the circumstances permit).
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
bobby_here
Newbie
Offline
Posts: 14
Re: Enumerating the 'hidden' IP addresses using port 0?
«
Reply #6 on:
June 23, 2012, 01:48:56 PM »
The Nessus reports says:
"By connecting to the remote host via SSH with the supplied credentials, this plugin enumerates MAC addresses."
Two questions:
First, as this scan is done on the "port" 0 presumably it can only be done when the scanned machine and the scanning machine are on the same LAN?
Second, I don't understand what the "supplied credentials" mean? I did not supply any such credentials but the SSH tool obtained my internal IP address and MAC addresses. How?
Thanks as always.
Logged
3xban
Hero Member
Offline
Posts: 608
Re: Enumerating the 'hidden' IP addresses using port 0?
«
Reply #7 on:
June 25, 2012, 08:13:29 PM »
The Nessus plugins have a number of custom configurations you can change to suit your environment. The initial safe scan done by Nessus checks only what is available. It will not brute force or log into any of the services found. It will scan ports and try to enumerate the services on those ports. It will then try to determine versions. From there it will pull the possible vulnerabilities associated with those services and their versions. If a system is properly locked down, there may be very little for Nessus to find, at which point you will need to gain access to the system. If you are running Nessus in an enterprise for vulnerability management, you can supply credentials for the various services. This allows you to get a better idea of the vulnerable services.
Logged
Certs: GCWN
(@)Dewser
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
News Items and General Discussion About EH-Net
: ÌÀÃÀÇÈÍ ÌÎÄÍÎÉ ÎÄÅÆÄÛ APPLE-FASHION!
(0) by
Infabeemace
News Items and General Discussion About EH-Net
: When your benjamin will be to your own car and truck clean up
(0) by
areluctes
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(8) by
ajohnson
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(29) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
Greetings
: Hi from the UK
(4) by
MrTuxracer
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.