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 36 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Malwarearrow How to set up Wireshark with machine-in-the-middle PC?
EH-Net
May 24, 2013, 06:49:49 PM *
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 [2]   Go Down
  Print  
Author Topic: How to set up Wireshark with machine-in-the-middle PC?  (Read 19250 times)
0 Members and 1 Guest are viewing this topic.
eth3real
Sr. Member
****
Offline Offline

Posts: 309



View Profile WWW
« Reply #15 on: December 29, 2010, 03:43:31 PM »

I wish there was a way to ensure there are no keyloggers on a computer.  What do organizations do to guarantee they don't have this kind of problem?

Is there a service that can inspect and guarantee removal?

Is there something keeping you from formatting the drive and reinstalling the operating system? That should have been your first choice if you think there is malware on your system. That is the only guaranteed way to remove a potential threat.
Logged

Put that in your pipe and grep it!
eth3real
Sr. Member
****
Offline Offline

Posts: 309



View Profile WWW
« Reply #16 on: December 29, 2010, 04:07:06 PM »

I've been looking for rare flashes on my router coming from my mac that don't show up on my app firewall reporting tool (Little Snitch).

A few questions about this:

• Does "Little Snitch" periodically check for updates?
• Is it set to allow your web browser permanent access to the internet?
• If so, is the browser periodically checking for updates?
• If you still have browser open, could it be refreshing websites?
• Could there be any other Google products installed, which you have allowed access through "Little Snitch", that might be checking for updates?
Logged

Put that in your pipe and grep it!
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #17 on: December 29, 2010, 04:13:11 PM »

if you really want an idea of what your box is doing. Close all the apps you have running (except wireshark) and let it run over night.

Depending WHAT on your router is flashing, it could just be keep alives or some other background noise to keep your system up to date.

Running wireshark over night will give you a lot of data to look at, but if you want to learn how to do analysis you'll need the practice anyway.
Logged

OSWP, Sec+
macattack
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #18 on: December 31, 2010, 07:09:25 AM »

"Does "Little Snitch" periodically check for updates"
Yes, but it's auto-updates are turned off.

"Is it set to allow your web browser permanent access to the internet"
Yes but it reports every time the browser accesses and where it connects.

"Running wireshark over night..."
Will try out tonight.  And will look into Snort and sgutil.

Thanks again
Logged
WCNA
Full Member
***
Offline Offline

Posts: 187



View Profile
« Reply #19 on: March 02, 2011, 07:39:20 AM »

This thread is old but I've got to start somewhere and maybe this will help someone else.

"I need to know how to set up Wireshark so I can analyze the traffic between my Mac and my router."

As another commenter suggested, the way to go in your situation is to set up Wireshark on your machine and then choose the interface you want to capture traffic on. While it may be possible for malware to mess with Wireshark, it's highly unlikely as black hats are usually looking for a different type of user to abuse. As the saying goes, packets don't lie.

"What type of router/switch are we talking about?"

Most managed switches have port monitoring. A hub is another route but there are quite a few hubs out there that are actually switches. The proper way would be to buy an aggregating tap like netoptics.com. Personally, I use the small mikrotik rb750 as a tap. You can build a tap but it will only be half-duplex.

"I get a lot of black with red text..."


Always bad. The default color rules have some bad traffic labeled as black/red. You can always tell what a coloring rule is based on by looking at the bottom of the list in the frame section or clicking on the coloring rules button. If you see striping in a trace, it is almost always bad. The trace you provided isn't large enough to get a full picture of what is going on with your machine. Use the display filters to get a clearer picture. If you don't know how, get the wireshark book or get the training at chappellu.com. I took her all-access course and it taught me quite a lot about the packet level and protocols. Wireshark is easy to use but packet tracing and deciphering what you see in front of you is an art form. It's easy to get lost with all that data but the packets will tell you absolutely what is going on, if you can figure it out. Packets don't lie. Packet 5 has a window size of 128 and you have essentially hit a zero window and will start dropping packets, hence the 2 out-of-order packets that follow it.
Logged

ISC2 Associate, WCNA, CWNA, OSCP, Network+
Pages: 1 [2]   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.063 seconds with 23 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
 
         
Free Business and Tech Magazines and eBooks

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