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 47 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Sniffing
EH-Net
May 22, 2013, 12:37:03 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: Sniffing  (Read 4944 times)
0 Members and 1 Guest are viewing this topic.
Gmoraes
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: July 14, 2009, 02:23:01 PM »

I read the Hacking Online Banking and Credit Card Transactions, but instead of getting banking password, i just want to sniff msn passwords, any webpage input the user sends. I turn fragroute, arpspoof and dnsspoof and i could see some information going thru my machine, and most of the things i couldn't understand. are the information on dnsspoof encrypted?
What else do i have to do to see the information that the user is sending and receiving to the net?
Thanks!

ps: I found this site yesterday and i'm loving it. lots of interesting things to read.
Good job!
Logged
timmedin
Sr. Member
****
Offline Offline

Posts: 469



View Profile WWW
« Reply #1 on: July 14, 2009, 08:55:20 PM »

First, Welcome to Ethical Hacker

Second, make sure you have permission otherwise it is most likely illegal and can get you thrown in jail.

Third, arpspoof will only work if the target is on the same network.

Fourth, dnsspoof also requires the target is on the same network since it requires sniffing.

Fifth, Fragroute isn't going to help much here, it is more designed for bypassing an IPS or firewall.

Sixth, I think the MSN credentials are encrypted, but I'm not totally sure. If it is encrypted then sniffing it won't do you much good.

If you are going to sniff traffic use something like WireShark so you can get a good visual representation of what is happening. It will decode all the packets nicely and give you a pretty output.

Other than that, if you have any questions feel free to ask.
Logged

twitter.com/timmedin | http://blog.securitywhole.com
Gmoraes
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #2 on: July 15, 2009, 11:31:10 AM »

First, thank you!

Second, I know it's illegal, thats why i'm testing in my own network.

Third, the target is in the same network

Fourth, the target is in the same network

Fifth, isn't fragroute the program that fowards the packets coming to your computer out? i guess i was wrong =/

Sixth, MSN was just an example, i wanted to see all data input the source sends to the internet. i didn't know msn convertations were encrypted.

I'll take a look at this WireShark, i read about it but never used.

So, All i need is arpspoof and WireShark?
Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #3 on: July 15, 2009, 12:53:10 PM »

Depends on what all you want to see.  As timmedin mentioned, Wireshark is one of your best friends, for capturing the traffic, and getting it all.  Another tool you MIGHT find useful, since you're doing it all on the same network segment, would be Ettercap.  It captures things like usernames and passwords quite nicely, and can do the arp man-in-the-middle for you.

Good luck, and happy learning.

Tim (Hayabusa0194)
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
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #4 on: July 15, 2009, 02:28:36 PM »

I also use NetWitness when I need to reassemble data into readable format.   Wireshark has some incredible tools for piecing together and interpreting readable data from various protocols.  I think that NetWitness takes that to a new level.
Logged

~~~~~~~~~~~~~~
Ketchup
Gmoraes
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #5 on: July 15, 2009, 02:44:47 PM »

Thanks guys,
i'm going to test WireShark, Ettercap and NetWitness, and i'll let you know how it went.
Just so i don't get confused, isn't fragroute used to forward the packets from the source computer?
Logged
UNIX
Hero Member
*****
Offline Offline

Posts: 1235


View Profile
« Reply #6 on: July 16, 2009, 12:17:02 AM »

If I am not wrong Cain & Abel might be interesting for you too.
Logged
Gmoraes
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #7 on: July 16, 2009, 08:14:14 AM »

Thanks awesec, i'll take a look at this one when i get out of work.
Ok, i did some test yesterday, and the source computer only works when i turn webmitm on, if i dont, they lose internet connection.
The problem is many sites doesn't accept the credential created by Webmitm.
Am I doing something wrong or that's how it suppost to work? is there anything i have to put in the credential so make it bypass some sites?
ex: i try doing to hotmail.com and they didn't let me because of the credential.
Another thing, i tested WireShark yesterday, is there any kind of filter i would be looking for? there's way to much information coming thru.
Thanks guys, i'm really appreciating your help.
Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1632



View Profile
« Reply #8 on: July 16, 2009, 09:54:10 AM »

Well, depending on what you're trying to see...  if it's ssl encrypted, you won't find much, without first either having the certs to decrypt the traffic, or doing an arp man-in-the-middle for the ssl session.

If it's not SSL, then it depends, again, on what you want to narrow it down to.  Do you have one IP address in mind, to grab traffic from, and want to eliminate others?  You can filter on ip.addr == ipaddress (where ipaddress is the target IP you want traffic to and from)  or if you know both ends, you can do the same thing twice, with && in between, to catch all traffic between the two IP's.  You can also experiment with port filters, if you KNOW everything you want is on 80, or another port.

It's all stuff you'll need to practice and play with.  If you're not used to doing traffic analysis with Wireshark, there are numerous books, online tutorials, and even paid CBT and video learning courses for it.  Laura Chappell's stuff is excellent to learn from.  Well worth the time and money, if you can afford them.

Tim (Hayabusa0194)
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 #9 on: July 18, 2009, 09:55:12 AM »

My comment about FragRoute was incorrect. I got it confused with another tool, the name of which I can't remember.
Logged

twitter.com/timmedin | http://blog.securitywhole.com
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.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
 
         
Advertisement

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