maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Ettercap - n900 (https://talk.maemo.org/showthread.php?t=42680)

tchouky 2010-01-29 17:30

Ettercap - n900
 
Hi,

I ve successfully compiled Ettercap for my N900.
I have all the options included and pretty much everything seems to work (plugins, PCRE, ncurse & gtk, ...).

The only thing i know of that doesnt is the SSL dissector, which requires valid redirection commands. And since the current kernel doesnt support connection tracking, iptables can't use the NAT table.
So that's some more work... (that i probably wont do :p)

Ive successfully arp spoofed & injected into HTTP streams, using ettercap filters, so it appears to be fine for me.

Here are the binaries:
ec-n900.tgz

I cba making a .deb, this is a tgz of my /opt/ettercap
So the install process is the following:
  • copy tgz to /opt/
  • tar xzvf
  • now you gota make symlinks to /bin/ for ettercap etterfilter and etterlog, and symlinks to /usr/lib for libnet and libpcre.
    ex: ln -s /opt/ettercap/bin/ettercap /bin/ettercap

now you can pwn people everywhere :)

hawaii 2010-02-01 18:27

Re: Ettercap - n900
 
I've hit you up on Twitter. We've got stuff to talk about :D

Thanks for advising me. I'm gonna re-build my enviro and find out what the hell was wrong with my packages since it wouldn't build in DNS dissecting and arpspoofing wasn't actually sending any data out.

Laughingstok 2010-02-01 19:54

Re: Ettercap - n900
 
Ettercap, what a nastily brilliant "tool."

:D

OptX 2010-02-03 15:44

Re: Ettercap - n900
 
I get a error about libnet.so.1. Says no such file or dir. ....
I made ln -s /opt/ettercap/lib/libnet.so.1.0.3 /usr/lib/libnet.so.1.0.3

What did i do wrong ?

jd4200 2010-04-15 20:51

Re: Ettercap - n900
 
Quote:

Originally Posted by OptX (Post 508818)
I get a error about libnet.so.1. Says no such file or dir. ....
I made ln -s /opt/ettercap/lib/libnet.so.1.0.3 /usr/lib/libnet.so.1.0.3

What did i do wrong ?

Just for anyone else who had the same problem:
There are two files that need linking, so open up x-term and type:
ln -s /opt/ettercap/lib/libnet.so.1.3.0 /usr/lib/libnet.so.1
and
ln -s /opt/ettercap/lib/libpcre.so.3 /usr/lib/libpcre.so.3

Ettercap can be run with gui by running:
ettercap -G

If you get a permission error then: chmod 777 /opt/ettercap/bin/ettercap

ssjtoma 2010-04-19 18:12

Re: Ettercap - n900
 
works like a charm, awesome!

Hotshot 2010-04-19 18:19

Re: Ettercap - n900
 
Ummm what does this app do?

zimon 2010-04-19 18:25

Re: Ettercap - n900
 
Quote:

Originally Posted by Hotshot (Post 618120)
Ummm what does this app do?

http://ettercap.sourceforge.net/

It hints how important it would be to have software packages GPG signed. DEBs are not.

crash16 2010-04-19 18:30

Re: Ettercap - n900
 
Quote:

Originally Posted by tchouky (Post 501286)
Hi,

I ve successfully compiled Ettercap for my N900.
I have all the options included and pretty much everything seems to work (plugins, PCRE, ncurse & gtk, ...).

The only thing i know of that doesnt is the SSL dissector, which requires valid redirection commands. And since the current kernel doesnt support connection tracking, iptables can't use the NAT table.
So that's some more work... (that i probably wont do :p)

Ive successfully arp spoofed & injected into HTTP streams, using ettercap filters, so it appears to be fine for me.

Here are the binaries:
ec-n900.tgz

I cba making a .deb, this is a tgz of my /opt/ettercap
So the install process is the following:
  • copy tgz to /opt/
  • tar xzvf
  • now you gota make symlinks to /bin/ for ettercap etterfilter and etterlog, and symlinks to /usr/lib for libnet and libpcre.
    ex: ln -s /opt/ettercap/bin/ettercap /bin/ettercap

now you can pwn people everywhere :)

i can get this to work for some reason...when i type ettercap it says 'command not found'

blanix 2010-04-19 19:30

Re: Ettercap - n900
 
Thank you!!!!!!! It works perfect.
Pleaseeeee, could you make a guide for metasploit????

Muzzat 2010-05-16 20:32

Re: Ettercap - n900
 
Hello,

Thank you for ettercap!

I have some question.
I tried sniffering traffic.

Sniff>Unified sniffing wlan0
host>scan for hosts
192.168.1.1 (router, target2)
192.168.1.100 (victim computer, target1)
192.168.1.103 (my ip)
mitm>arp poising
start sniffing

BUT
I see something but not the all traffic.

on victim computer the arp -a gets:
router and my ip mac addr sometimes same sometimes different.

Maybe the mitm attack doesnt work normally?
How can i run it manualy?

Otherway in ettercap from the plugins the chk_poison plugin gets: No poisoning the all :(

Whats the wrong?

diamondeyes 2010-06-06 12:07

Re: Ettercap - n900
 
I have followed al steps but when i want to start ettercap

X-terminal:
$ sudo gainroot
$ ettercap -G

I get an error about "Ettercap: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory"

Can anyone please help me? :confused:

naturegodtm 2010-06-22 23:39

Re: Ettercap - n900
 
bump come on has this thread died?

vendetta711 2010-07-30 12:56

Re: Ettercap - n900
 
Ive tried an ARP poison on my home network and once I start the poisoning the target computers are unable to access the internet!
After some googling this is what I found on the ettercap website:
NOTE: if you manage to poison a client, you have to set correct routing table in the kernel specifying the GW. If your routing table is incorrect, the poisoned clients will not be able to navigate the Internet.

how do you set the routing tables?

echoblack 2010-08-18 10:31

Re: Ettercap - n900
 
Hum didn't work for me. The program ran but in ncurses mode the Enter key was not mapped correctly or something.
Then in GTK mode. I scanned for hosts and it only found 2 out of 7. Then when I tried to add them to the Targets lits it made entries named "invalid" and wold not work. Then I put the entries in the Targets list manually and it Said it started Sniffing then I whent to Arp poison -sniff remote connections... and it just didn't do anything. When I ran the plugin check-poison it said "this plugin must be ran during a poising session"

I did this stuff to install it.....
I cba making a .deb, this is a tgz of my /opt/ettercap
So the install process is the following:

* copy tgz to /opt/
* tar xzvf
* now you gota make symlinks to /bin/ for ettercap etterfilter and etterlog, and symlinks to /usr/lib for libnet and libpcre.
ex: ln -s /opt/ettercap/bin/ettercap /bin/ettercap


ln -s /opt/ettercap/lib/libnet.so.1.3.0 /usr/lib/libnet.so.1
and
ln -s /opt/ettercap/lib/libpcre.so.3 /usr/lib/libpcre.so.3

kaos_king 2010-10-26 15:25

Re: Ettercap - n900
 
Are people using wlan0?

I tried a unified sniff with wlan0 and got:

Quote:

Originally Posted by ettercap GUI
Interface "wlan0" not supported (802.11 plus BSD radio information header)

Any ideas guys?

**Edit** - Figured out it was because my card was in monitor mode.

Although, this does not help me though as ettercap cannot see wlan0 as an interface if its not in monitor mode - any ideas on that one? TIA

colin.stephane 2010-10-27 08:08

Re: Ettercap - n900
 
Quote:

Originally Posted by tchouky (Post 501286)
Hi,

I ve successfully compiled Ettercap for my N900.
I have all the options included and pretty much everything seems to work (plugins, PCRE, ncurse & gtk, ...).

The only thing i know of that doesnt is the SSL dissector, which requires valid redirection commands. And since the current kernel doesnt support connection tracking, iptables can't use the NAT table.
So that's some more work... (that i probably wont do :p)

Ive successfully arp spoofed & injected into HTTP streams, using ettercap filters, so it appears to be fine for me.

Here are the binaries:
ec-n900.tgz

I cba making a .deb, this is a tgz of my /opt/ettercap
So the install process is the following:
  • copy tgz to /opt/
  • tar xzvf
  • now you gota make symlinks to /bin/ for ettercap etterfilter and etterlog, and symlinks to /usr/lib for libnet and libpcre.
    ex: ln -s /opt/ettercap/bin/ettercap /bin/ettercap

now you can pwn people everywhere :)

Hi,

To ease the installation, I have managed to build ettercap, libltdl3 & libnet as debian packages optified for or loved device :D

You can get it here :

http://bigbob.fun.free.fr/ettercap-c...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap-g...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap_0.7.3-1.2_armel.deb
http://bigbob.fun.free.fr/libnet1_1.1.4-2_armel.deb
http://bigbob.fun.free.fr/libltdl3_1...emo1_armel.deb

As usual, as root change to the directory you put the files, and type :

Code:

dpkg -i libnet1_1.1.4-2_armel.deb libltdl3_1.5.26-3maemo1_armel.deb ettercap-common_0.7.3-1.2_armel.deb ettercap_0.7.3-1.2_armel.deb
Activate all repositories in case of dependencies troubles http://www.nokian900applications.com...or-nokia-n900/ and fixe deps with :

Code:

apt-get install missing_deps
Hope it help ...

A++

udaychaitanya16 2011-04-03 19:16

Re: Ettercap - n900
 
Quote:

Originally Posted by colin.stephane (Post 852862)
Hi,

To ease the installation, I have managed to build ettercap, libltdl3 & libnet as debian packages optified for or loved device :D

You can get it here :

http://bigbob.fun.free.fr/ettercap-c...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap-g...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap_0.7.3-1.2_armel.deb
http://bigbob.fun.free.fr/libnet1_1.1.4-2_armel.deb
http://bigbob.fun.free.fr/libltdl3_1...emo1_armel.deb

As usual, as root change to the directory you put the files, and type :

Code:

dpkg -i libnet1_1.1.4-2_armel.deb libltdl3_1.5.26-3maemo1_armel.deb ettercap-common_0.7.3-1.2_armel.deb ettercap_0.7.3-1.2_armel.deb
Activate all repositories in case of dependencies troubles http://www.nokian900applications.com...or-nokia-n900/ and fixe deps with :

Code:

apt-get install missing_deps
Hope it help ...

A++

Thank you for your immence help.Now ettercap is working but Ettercap -G is not working.It says its not compiled.But ettercap gtk as a deb is there in your packages.what might be the problem?

Thank you verymuch

mariuscm 2011-04-03 20:40

Re: Ettercap - n900
 
Quote:

Originally Posted by colin.stephane (Post 852862)
Hi,

To ease the installation, I have managed to build ettercap, libltdl3 & libnet as debian packages optified for or loved device :D

You can get it here :

http://bigbob.fun.free.fr/ettercap-c...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap-g...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap_0.7.3-1.2_armel.deb
http://bigbob.fun.free.fr/libnet1_1.1.4-2_armel.deb
http://bigbob.fun.free.fr/libltdl3_1...emo1_armel.deb

As usual, as root change to the directory you put the files, and type :

Code:

dpkg -i libnet1_1.1.4-2_armel.deb libltdl3_1.5.26-3maemo1_armel.deb ettercap-common_0.7.3-1.2_armel.deb ettercap_0.7.3-1.2_armel.deb
Activate all repositories in case of dependencies troubles http://www.nokian900applications.com...or-nokia-n900/ and fixe deps with :

Code:

apt-get install missing_deps
Hope it help ...

A++

hi! first of all, thanks for all your work!
this is what i get when i run the first command:
Code:

Nokia-N900:/home/user/MyDocs/Downloads/Ettercap# dpkg -i libnet1_1.1.4-2_armel.deb libltdl3_1.5.26-3maemo1_armel.deb ettercap-common_0.7.3-1.2_armel.deb ettercap_0.7.3-1.2_armel.deb
(Reading database ... 51817 files and directories currently installed.)
Preparing to replace libnet1 1.1.4-2 (using libnet1_1.1.4-2_armel.deb) ...
Unpacking replacement libnet1 ...
Preparing to replace libltdl3 1.5.26-3maemo1 (using libltdl3_1.5.26-3maemo1_armel.deb) ...
Unpacking replacement libltdl3 ...
Preparing to replace ettercap-common 1:0.7.3-1.2 (using ettercap-common_0.7.3-1.2_armel.deb) ...
Unpacking replacement ettercap-common ...
Preparing to replace ettercap 1:0.7.3-1.2 (using ettercap_0.7.3-1.2_armel.deb) ...
Unpacking replacement ettercap ...
Setting up libnet1 (1.1.4-2) ...
Setting up libltdl3 (1.5.26-3maemo1) ...
dpkg: dependency problems prevent configuration of ettercap-common:
 ettercap-common depends on libpcre3 (>= 4.5); however:
  Package libpcre3 is not installed.
dpkg: error processing ettercap-common (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ettercap:
 ettercap depends on libpcap0.8; however:
  Package libpcap0.8 is not installed.
 ettercap depends on libpcre3 (>= 4.5); however:
  Package libpcre3 is not installed.
 ettercap depends on ettercap-common (= 1:0.7.3-1.2); however:
  Package ettercap-common is not configured yet.
dpkg: error processing ettercap (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ettercap-common
 ettercap
Nokia-N900:/home/user/MyDocs/Downloads/Ettercap#

...and when i tried the dependencies fix:
Code:

Nokia-N900:/home/user/MyDocs/Downloads/Ettercap# apt-get install missing_deps
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Couldn't find package missing_deps
Nokia-N900:/home/user/MyDocs/Downloads/Ettercap#

all the repositories are enabled so it's not that for sure.

thanks in advance for your help

padi2007 2011-04-04 17:14

Re: Ettercap - n900
 
@mariuscm you have to type (as root) apt-get -f install libpcap0.8 libpcre3

had the same problem but now its solved :)

Unhuman 2011-04-10 00:04

Re: Ettercap - n900
 
Is anyone else having problems with arp spoofing? Even the simplest arp spoof (no iptables) with target1=router target2= only 1 client, fails like 2 out of 3 times. The client loses connectivity and gets 'no internet access'error in windows.

aathava 2011-05-10 17:25

Re: Ettercap - n900
 
when i run ettercap -G

/home/user # ettercap -G
/bin/sh: ettercap: not found

I extracted to /opt/ and symlinked as said
what could be the problem

aathava 2011-05-11 15:48

Re: Ettercap - n900
 
Quote:

Originally Posted by colin.stephane (Post 852862)
Hi,

To ease the installation, I have managed to build ettercap, libltdl3 & libnet as debian packages optified for or loved device :D

You can get it here :

http://bigbob.fun.free.fr/ettercap-c...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap-g...-1.2_armel.deb
http://bigbob.fun.free.fr/ettercap_0.7.3-1.2_armel.deb
http://bigbob.fun.free.fr/libnet1_1.1.4-2_armel.deb
http://bigbob.fun.free.fr/libltdl3_1...emo1_armel.deb

As usual, as root change to the directory you put the files, and type :

Code:

dpkg -i libnet1_1.1.4-2_armel.deb libltdl3_1.5.26-3maemo1_armel.deb ettercap-common_0.7.3-1.2_armel.deb ettercap_0.7.3-1.2_armel.deb
Activate all repositories in case of dependencies troubles http://www.nokian900applications.com...or-nokia-n900/ and fixe deps with :

Code:

apt-get install missing_deps
Hope it help ...

A++

This worked for me
If you want to get the gui working you should also do “dpkg -i ettercap-gtk_0.7.3-1.2.armel.deb

jd4200 2011-05-20 00:16

Re: Ettercap - n900
 
Quote:

Originally Posted by colin.stephane (Post 852862)
Hi,

To ease the installation, I have managed to build ettercap, libltdl3 & libnet as debian packages optified for or loved device :D

You can get it here :

I'm trying this method, but I keep getting dependency errors:
Code:

dpkg: dependency problems prevent configuration of ettercap:
 ettercap depends on libpcap0.8; however:
  Package libpcap0.8 is not installed.

libpcap doesn't seem to be in the repos, and trying to install a copy from the net works, but throws up more dependency errros (libc6) which causes apt-get refusing to install any package.
Any hints?


All times are GMT. The time now is 22:19.

vBulletin® Version 3.8.8