The Following 19 Users Say Thank You to dadaniel For This Useful Post: | ||
Arie, bibek, brkn, death_jax, dzano, Jordi, juiceme, ladoga, lorenzo, mariusmssj, mr_pingu, ranbaxy, reinob, shanttu, shawnjefferson, smoothc, thedead1440, tortoisedoc |
![]() |
2013-02-01
, 04:20
|
Posts: 1,539 |
Thanked: 1,604 times |
Joined on Oct 2011
@ With my N9
|
#2
|
![]() |
2013-02-01
, 09:43
|
|
Posts: 20 |
Thanked: 46 times |
Joined on Apr 2012
@ Austria
|
#3
|
The Following User Says Thank You to dadaniel For This Useful Post: | ||
![]() |
2013-02-01
, 10:21
|
Posts: 771 |
Thanked: 393 times |
Joined on Feb 2012
|
#4
|
![]() |
2013-02-01
, 11:41
|
|
Posts: 20 |
Thanked: 46 times |
Joined on Apr 2012
@ Austria
|
#5
|
packet sniffer tool on n9 whoa :shock:
need to know if this will work on stock kernel :<
![]() |
2013-03-01
, 07:53
|
Posts: 20 |
Thanked: 17 times |
Joined on Nov 2011
@ Zagreb, Croatia
|
#6
|
![]() |
2013-03-01
, 08:06
|
|
Posts: 1,348 |
Thanked: 1,863 times |
Joined on Jan 2009
@ fr/35/rennes
|
#7
|
![]() |
2013-03-01
, 08:40
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#8
|
![]() |
2013-03-01
, 20:19
|
|
Posts: 1,348 |
Thanked: 1,863 times |
Joined on Jan 2009
@ fr/35/rennes
|
#9
|
The last month I looked for a way to use my n9 as package sniffer and I figured out some usefull stuff ...
... my train of thought was - how can I sniff whatever it's transmitted through my stock wifi-hotspot (joikuspot) ...
... so here's a guideline of what I got working and how it works:
mitm
My device:
Nokia n9, Linux RM 696 2.6.32.54-dfl-161-20121301 open mode, meego Harmattan PR1.3
Pre-dependencies:
1. tcpdump + tcpxtract
2. ngrep
3. dsniff [dsniff itself]
4. ssldump?
1. tcpdump + tcpxtract:
tcpdump is a very powerful package analyzer - you can dump nearly all traffic with this tool ...
tcpxtract is a tool to rebuild data from tcpdump-pcap files...
let's install the packages [and dependencies]:
open a website on the client ... tcpdump will capture it.
when you think you are finished, kill tcpdump [crtl+c]
now we will convert the captured traffic:
I LIKE!
2. ngrep
ngrep is a very powerful tool as well - you can analyze traffic live...
I'm going to show you how to filter the traffic by some regular expressions to look for logins:
first install the necessary dependencies and ngrep itself:
... What it doesn't do is capturing htaccess logins, I use dsniff for it.
3. dsniff
dsniff? - omg, it's awesome! it includes:
I took the libdb4.6_4.6.21-16_armel and libnids1.21_1.23-2_armel from the debian repository.
Here's dsniff_2.4b1+debian-18_armel
dsniff itself is very simple to use - it has a build-in filter. I used it to sniff the authentication for htaccess logins as well as ftp logins:
4. sslstrip?
sslstrip strips down your https connections to http ...
... I found a way to pipe your local connection through sslstrip, but not with the hotspot connected client.
All I did was to modify my APN connection - I activated the http_proxy on 127.0.0.1 and port 10000, and changed a gconf setting (gconftool-2 -t string -s /system/proxy/mode "manual") - deactivate and activate the connection again and fire up sslstrip.
An alternative for testing is to set the http proxy in firefox.
What I figured out was: The Joikuspot doesn't use the APN entry from the phone settings, because I tried to add a second APN with some changed settings and it won't show up in the properties of Joikuspot. - Maybe that's why it doesn't take the proxy settings from the APN ... anyway, I'm still working on a workaround!
Here's sslstrip-0.9 (taken from http://www.thoughtcrime.org/)
cheers!
------------------------------------------------------------------------------
-- www.true-binary.com
------------------------------------------------------------------------------
-- aptitude -vvvvvv moo
-- What is it? It's an elephant being eaten by a snake, of course.
------------------------------------------------------------------------------
Last edited by dadaniel; 2013-01-31 at 23:48.