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 26 guests online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow Sniffing HTTP packets
EH-Net
May 23, 2013, 06:09:10 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 HTTP packets  (Read 2478 times)
0 Members and 1 Guest are viewing this topic.
Knb15
Jr. Member
**
Offline Offline

Posts: 50


View Profile
« on: October 04, 2010, 09:04:43 AM »

I have been playing with Wireshark, listening to tutorials to try to learn and understand how i can begin using the tool at my job (i have authorization from the head honcho).

My task is to basically monitor HTTP traffic generated by our workstations to be able to track time that is spent being unproductive on websites instead of time spent working.

The problem:

I can track port 80 traffic when Wireshark is running on the workstation. However, is there a way to sniff packets coming in and out of the router itself?

The problem is that the internet traffic doesn't go through our server, therefore when i capture packets on the server, it captures all network traffic generated by our applications, but no HTTP traffic generated by the workstations. Is there a better way or a more centralized way to capture these packets from the workstations, where i can then filter them by IP address and analyze packets by workstation?
Logged
MaXe
Hero Member
*****
Offline Offline

Posts: 669


I've just upgraded myself to a cyborg muahahaa!!1


View Profile WWW
« Reply #1 on: October 04, 2010, 09:29:46 AM »

Arp Spoof the entire network (with permission) so all the clients are going through your machine. (MAKE SURE it is capable of handling the amount of connections and that you're forwarding the traffic to the gateway so you won't experience a network wide DoS.)

You can also set up a new server as a router which uses perhaps an IDS to monitor the connections made and instead of possible intrusions it is configured to detect sites such as facebook.com etc.

There is a third alternative and that is to use an enforced web proxy such as Squid.

Well, I hope it helped just a little bit  Wink
Logged

I'm an InterN0T'er
Damashii
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #2 on: October 04, 2010, 11:00:20 AM »

KNB15:
  If you have access to the routers, you might be able to set up a span port. On Cisco routers/switches they have a feature called span ports, that enable you to replicate all the traffic from one or more ports to another port. On Linksys they call it port mirroring. Either way, you could set up a system with an interface connected to this port, and the interface in promisc mode. The switch would replicate all traffic designated for a certain port to the port where you connected your system. You would then be able to listen in on all traffic going to and coming from the internet. Wireshark would then be able to report all unproductive web viewing. You would also be able to expand the systems capabilities by installing a IDS on that machine, and it could report any suspicious activities.
Hope this helps.
Logged
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1057


aka dynamik


View Profile WWW
« Reply #3 on: October 04, 2010, 01:38:29 PM »

Great advice so far.

Also, check out a tap (you can buy high-end ones, but it's easy to make your own too: http://09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0.com/category/diy/). A hub may work too, depending on the speed of the connection.
« Last Edit: October 04, 2010, 01:41:04 PM by dynamik » Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
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.07 seconds with 22 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.