Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 46 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Wirelessarrow Switched Routers with Wireshark
EH-Net
May 24, 2013, 02:42:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Switched Routers with Wireshark  (Read 15659 times)
0 Members and 1 Guest are viewing this topic.
boohat74
Guest
« on: March 30, 2009, 02:54:49 PM »

I want to monitor my home network. I have cable internet and a netgear router. I have AV, FW, and antispyware on all pc's, and there is one Itouch running on the network. My Teen is computer saavy so I want to monitor traffic at the router.

After some searching I found wireshark, but during the test run I discovered I wouldn't see traffic from other computers. I looked some more and it seems like my router is "switched". I don't have a port-miroring option with this router.

What is the easiest way to do this?

Thanks
Logged
ElCapitan
Newbie
*
Offline Offline

Posts: 28


Unanimous FTP: the #1 threat to copyrights!


View Profile
« Reply #1 on: March 30, 2009, 03:07:30 PM »

You could do several different things to monitor, but you could set up a dual-homed (two network adapters) computer between the router and the WAN. All traffic would have to cross through this node.
Logged

CISSP, Security+, CEH, OPP, et alii
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #2 on: March 30, 2009, 04:10:49 PM »

Well, there are a few ways you can monitor all traffic on your network.   

1.  You could purchase a small inexpensive hub (not a switch) and plug your computer and your teen's computer into it.   You would connect the router to the hub.   Hub pass all traffic around and Wireshark will catch it.  I am not sure how easy it would be for your to decipher the traffic in Wireshark, especially if you are not used to it.   There are other software packages that make this type of analysis easier, such as NetWitness.   

If you are using wireless, than your network is already capable of being monitored.  You simply need a wireless card that is capable of monitor mode.   This is much easier done in Linux.

2.  You could look into a newer router or at least newer firmware.  I believe both Netgear and Linksys have parental controls modules.   

http://blogs.pcmag.com/atwork/2009/02/sneak_peek_at_netgears_nextgen_1.php

You may even be able to upgrade the existing firmware on your router to support parental controls. 

There are other ways but they are a bit more technical.   For example, I use a Linux firewall at home.  It is capable of filtering URLs, logging all Internet traffic, and it makes toast.   Well, I wish it did the last part.   You can also try arp spoofing if you are feeling adventurous.   

I think that the best solution would be router-based parental control software or similar software installed directly on your teen's PC.   
Logged

~~~~~~~~~~~~~~
Ketchup
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4168


Editor-In-Chief


View Profile WWW
« Reply #3 on: March 30, 2009, 05:01:54 PM »

Or if you really want port mirroring, this switch is under $100 and has it:

http://www.newegg.com/Product/Product.aspx?Item=N82E16833316090

Place it between your router and the rest of your network, and you're good to go.

Don
Logged

CISSP, MCSE, CSTA, Security+ SME
g00d_4sh
Sr. Member
****
Offline Offline

Posts: 394



View Profile
« Reply #4 on: March 30, 2009, 08:33:45 PM »

You could sniff the traffic one of these ways with wireshark, but you are going to have to learn to use the filters effectively to read the info... and are going to find the file grows rather large as it collects.  If you haven't used wireshark before, it might be easier trying another program.  Also, there are quite a few keystroker/site capture programs that are stealthy as all get out.  I was hired to install some of these by parents on their computers to monitor where their young ladies were going and with whom they were talking.  Most are free, and can give you a good idea not only of where your kid is going, but what they are 'saying' while they are there.  Most are hidden from Anti-virus (if they're well made) and don't show up in add/remove programs.  If you want some examples I can toss you some. 
Logged

"Bad.. Good?  I'm the guy with the gun"
hayabusa
Hero Member
*****
Offline Offline

Posts: 1633



View Profile
« Reply #5 on: March 31, 2009, 07:23:45 AM »

Another option, depending on your level of tech savvy, is Ettercap.  As network techs, we often use it to sniff on switched networks, and it's cheaper than adding more hardware.

A brief paper on it can be found at:

http://www.leetupload.com/database/Misc/Papers/Asta%20la%20Vista/18.Ettercap_Spoof.pdf

Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
timmedin
Sr. Member
****
Offline Offline

Posts: 469



View Profile WWW
« Reply #6 on: March 31, 2009, 10:23:18 AM »

1.  You could purchase a small inexpensive hub (not a switch) and plug your computer and your teen's computer into it.   You would connect the router to the hub.   Hub pass all traffic around and Wireshark will catch it.

You have to be careful with the word hub on equipment and might want to double check online that it actually works like a hub. Some marketing genious has put the word hub on some switches.

I actually got messed up by this last week. I have a hub in name on my desk that is actually a switch. meh
Logged

twitter.com/timmedin | http://blog.securitywhole.com
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4168


Editor-In-Chief


View Profile WWW
« Reply #7 on: March 31, 2009, 10:41:47 AM »

This is very true. Many manufacturers find it less expensive to make 2 different products, so one often finds a switch in a hub box. It is often marked and labeled as a hub, as timmedin states. This can be very frustrating.

Goes along the rant of "Say what you mean and mean what you say." If I purchase a hub, it's for a reason. I don't want someone else making that decision for me, even if normal consumers don't know the difference and a switch makes their little home network more secure and efficient.

I could go on but why?  Lips sealed

Don
Logged

CISSP, MCSE, CSTA, Security+ SME
munkeyfreenix .batcat
Newbie
*
Offline Offline

Posts: 11



View Profile
« Reply #8 on: April 03, 2009, 01:15:21 AM »

rewind a couple comments. Ettercap can sniff switched networks? How and why. If i plugged in my gentoo box at any level of my network (including associating wireessly), how would i need to configure it to hop switches? Could I see lower level traffic from a wireless attack?

I have been wondering this, as my home network has a modem-->swtich-->and wireless router in the main house; my office is netted into the switch which runs out to another router. i can plug into the switch that sits ontop of modem, but not into the modem itself.

i've been using wireshark and kismet for awhile; have used ettercap for its passwords for a class assignment.  but until now, never heard it could monitor over switches.
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #9 on: April 03, 2009, 07:26:31 AM »

In a nut shell, Ettercap uses ARP spoofing to sniff network traffic.   There are other ways, such as attacking a Cisco switch spanning protocols, but this is what ettercap does.

http://en.wikipedia.org/wiki/ARP_spoofing
Logged

~~~~~~~~~~~~~~
Ketchup
hayabusa
Hero Member
*****
Offline Offline

Posts: 1633



View Profile
« Reply #10 on: April 03, 2009, 07:56:18 AM »

Yes.  As Ketchup noted, Ettercap (and other ARP spoofing tools) can be used for both legitimate and illegitimate reasons.  Ettercap is a very quick and easy tool to use, to show the security (or lack thereof) of web-based SSL solutions, such as some vendors' SSLVPN's, as well as other applications.  However, even as it was born as more of a pentest / hack tool, it also comes in very handy, for the same features, for sniffing switched network traffic and other data.  Laura Chappell talks about it a lot in her Network Analysis classes and presentations, if you follow her, at all.

ArpON, one of the first tools noted in the Defenses section of the Wikipedia article Ketchup mentions, is a VERY handy tool for combating this type of attack, and is used in many of the SSLVPN-type scenarios I mentioned, above, to reduce the man-in-the-middle attacks against them.

Definitely worth learning about the ARP capabilities of Ettercap, if you intend to pentest any sorts of secure web applications, to look for vulnerable apps and login methods.  In fact, I JUST tested a solution from an SSLVPN vendor for one of my clients, and demonstrated how easy it was to grab login credentials, which, in turn, would give the attacker credentials to login to the rest of the network / servers in the environment.  Was sad, as I grabbed the credentials of one of their admins, who decided to login from a hotspot at McDonald's.  <grin>  Made a strong case for my recommendation that they add dual-factor authentication, such as tokens (which randmize,) to their logins, to prevent, at least, remote access.  While they didn't totally do it right (they put BOTH password and token fields on the same page, so they'll still disclose the network password) and have some tweaking to do, they quickly realized the danger in their original configuration, and added value to my services to them.

So spend some time studying the use of ARP attacks, and how they can be used for both illegitimate, as well as analysis purposes.  You'll find it useful.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 24 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
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:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.