maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Tutorial] Pentesting Wireless Networks (https://talk.maemo.org/showthread.php?t=73572)

spuddy101 2012-03-16 14:56

Re: [Tutorial] Pentesting Wireless Networks
 
Quote:

Originally Posted by Mohammed Muid (Post 1180178)
So whats the point? Cant use it anyway. I can perform b a and d with xterminal. Works like a charm. So the peolple who doesnt kno this language cannot use it? Y wud even any1 use this language.

well if i can find a good java editor and a french translator i might give
it a try lol

psychologe 2012-03-17 09:02

Re: [Tutorial] Pentesting Wireless Networks
 
hi ,karam and everybody.
i compiled and make install Nmap 5.61TEST5 on my N900,,but can't work. input:nmap --iflist ,output:INTERFACES: NONE FOUND(!) ,ROUTES: NONE FOUND(!)
has someone interest ,let Nmap 5.61 work on N900.

Estel 2012-03-17 09:56

Re: [Tutorial] Pentesting Wireless Networks
 
Search for nmap thread - it was compiled already. It was working fine for some time, but since a mainstream update, this problem appears, when nmap is run as root.

As user, "INTERFACES" NONE FOUND(!)" doesn't appear, but, obviously, You can't use features that require root privileges.

If You're able and would like to take over maintainership of nmap, it would be great, as it seems that original maintainer gave up on this. But please, use an existing thread for further discussion. If You'll be able to figure out how to fix this "root bug", I would bless You ;)

/Estel

// Edit:

nmap thread:
http://talk.maemo.org/showthread.php?t=48673

karam 2012-03-19 15:35

Re: [Tutorial] Pentesting Wireless Networks
 
sorry guys i have been off for a while

as for charon
well the creator of it is french
it would be so appreciated if someone can change the language of it

as for launching charon
doesn't the shortcut work ? i remember that last version is fixed?

still planning to launch another gui for mdk3
ENGLISH and much more smoother and doesn't need the buggy icedtea6

@Estel. psychologe
i guess i will be able to fix nmap
i'll work on it as soon as i have a free time :)

D@vIcHoJD 2012-03-19 21:31

Re: [Tutorial] Pentesting Wireless Networks
 
Quote:

Originally Posted by karam (Post 1181526)
sorry guys i have been off for a while

as for charon
well the creator of it is french
it would be so appreciated if someone can change the language of it

as for launching charon
doesn't the shortcut work ? i remember that last version is fixed?

still planning to launch another gui for mdk3
ENGLISH and much more smoother and doesn't need the buggy icedtea6

@Estel. psychologe
i guess i will be able to fix nmap
i'll work on it as soon as i have a free time :)

Apparently when karam fixed problems in shortcut, made ​​a mistake instead of directing to applications, you did to application folder.:D

I have the shortcut charon, I did so, in filefox access /usr/share/application/hildon copy and paste charon.desktop file in /usr/share/applications/hildon and ready will have shortcut charon.

I hope someone charon translated into other languages ​​(en, sp, etc.):D:D

karam 2012-03-20 17:36

Re: [Tutorial] Pentesting Wireless Networks
 
oh typos are my worst fears

just uploaded a quik fix
thank you for reporting :)

stevomanu 2012-03-21 00:28

Re: [Tutorial] Pentesting Wireless Networks
 
I only looked at your metaspolit post but your packages are a little outdated in the post , have a look here at newest working ones ....

http://talk.maemo.org/showthread.php?t=81816

Great job thou ...



Quote:

Originally Posted by Verssetti (Post 1182193)
@karam
I post in Phonesfera.com how to install metasploit, ettercap, sslstrip, backtrack and more...
Tutorial Metasploit (Spanish)
Tutorial Ettercap & Sslstrip (Spanish)
Tutorial Backtrack (Spanish)


Verssetti 2012-03-21 00:47

Re: [Tutorial] Pentesting Wireless Networks
 
yep my post have one year ago. ty for the updates, update my tutorial now

stevomanu 2012-03-21 00:52

Re: [Tutorial] Pentesting Wireless Networks
 
No problem i also made a post on SET aswell have a look at that ....

http://talk.maemo.org/showthread.php?t=81964

...

Quote:

Originally Posted by Verssetti (Post 1182200)
yep my post have one year ago. ty for the updates, update my tutorial now


Estel 2012-03-21 01:50

Re: [Tutorial] Pentesting Wireless Networks
 
What is is, a positioning spam?...

Verssetti 2012-03-21 03:55

Re: [Tutorial] Pentesting Wireless Networks
 
Quote:

Originally Posted by stevomanu (Post 1182204)
No problem i also made a post on SET aswell have a look at that ....

http://talk.maemo.org/showthread.php?t=81964

...

u can visit now and look the new post ;)

droll 2012-03-21 15:09

Re: [Tutorial] Pentesting Wireless Networks
 
hi there. i just installed and then uninstalled charon. i lost 40mb of space in optfs. any ideas where i should look to manually clean up and regain the lost space?

[edit]
nvm. i guess i'll have to go thru the deb files manually and see what it's installing. sigh!

karam 2012-03-21 19:37

Re: [Tutorial] Pentesting Wireless Networks
 
@all
i have added links to install metasploit and SET
thanks to stevomanu for the tutorials

@droll

40mb of optfs
are u kidding me?

and i thought am the only space junky on the world !! lol

first charon is not more than 3mb size
uninstalling it wil remove everything and even configs

sometimes between reboots N900 shows different space values
mostly happen if you installed/uninstalled many application at the same session

dannu21 2012-03-22 05:13

Re: [Tutorial] Pentesting Wireless Networks
 
how to use this ?

droll 2012-03-22 08:51

Re: [Tutorial] Pentesting Wireless Networks
 
@karam, i don't think it's charon. it could be due to the dependencies of charon....icedtea, aircrack-ng etc. :)

karam 2012-03-22 13:03

Re: [Tutorial] Pentesting Wireless Networks
 
oh well that makes more sense

it depends on : aircrack-ng, icedtea6, iw, mdk3

so remove each one of them to restore your space

and how to use :
well i have updated to charon1-2 which has a fixed icon
just launch it and start monitore mode then choose your attack

carbonjha 2012-04-11 00:47

Re: [Tutorial] Pentesting Wireless Networks
 
1 Attachment(s)
here's the "Pyrit" r308 from svn-trunk. I compiled it within N900. just love this phone.

unzip it & put the file in /usr/bin/ folder & then do a chmod +x & run it.


about pyrit & tutorial

Spyrocheti 2012-04-17 09:52

Re: [Tutorial] Pentesting Wireless Networks
 
Quote:

Originally Posted by carbonjha (Post 1190577)
here's the "Pyrit" r308 from svn-trunk. I compiled it within N900. just love this phone.

unzip it & put the file in /usr/bin/ folder & then do a chmod +x & run it.


about pyrit & tutorial

here's an article I stumbled upon claiming pyrit doing ~4 million PMK/s...
is this possible on a single machine???
here is the link help://easymactips.blogspot.de/2011/07/kraken-has-been-released.html

spuddy101 2012-04-17 14:55

Re: [Tutorial] Pentesting Wireless Networks
 
hi carbonjha i seen to have a problem ive installed pyrit but every time i run it i get this error.
file usr/bin/pyrit,line 4,module
import pyrit_cli
import error:no module named pyrit_cli
any help much appreciated

karam 2012-04-18 18:27

Re: [Tutorial] Pentesting Wireless Networks
 
@carbonjha

added it to the 1st post :) . thanks

@spuddy101

not sure but :
Code:

apt-get install python-clientform
or
maybe try running pyrit with another python version
ex : 2.5

q6600 2012-04-18 20:37

Re: [Tutorial] Pentesting Wireless Networks
 
Hi Karam
You think you can do something like that on n900 ( a script for all the programs in there ?)
http://vimeo.com/34309678

carbonjha 2012-04-18 20:39

Re: [Tutorial] Pentesting Wireless Networks
 
1 Attachment(s)
@spuddy101
try this one! untar it, put in /usr/bin/ directory, chmod +x it then run it.

& yes, as karam said the problem is related with python. I googled the issue & build the stable 4.0 with python2.5
hope it will work.

karam 2012-04-18 21:04

Re: [Tutorial] Pentesting Wireless Networks
 
@q6600
i have already created one

but i use it with easy-debian
as it needs apache2 and dhcp-server

which is some how impossible to install in N900 without sucking the whole root space

spuddy101 2012-04-20 13:05

Re: [Tutorial] Pentesting Wireless Networks
 
Quote:

Originally Posted by carbonjha (Post 1194028)
@spuddy101
try this one! untar it, put in /usr/bin/ directory, chmod +x it then run it.

& yes, as karam said the problem is related with python. I googled the issue & build the stable 4.0 with python2.5
hope it will work.

i still have the same issue so ive just installed it on easy debian thanks for the help!

stevomanu 2012-05-09 14:01

Re: [Tutorial] Pentesting Wireless Networks
 
Thanks very much for the mention to my threads in your first post .....

Not been around much so havnt seen it before .



Quote:

Originally Posted by karam (Post 1018150)
Previously i have posted tutorials about installing many hacking tools
but now after i uploaded most of them
simply do this :

Code:

sudo gainroot

apt-get install nmap driftnet charon yamas wireshark tshark kismet cleven cowpatty

This will install the following tools:
aircrack-ng : famous pack of tools for pentesting wireless networks
driftnet : this one is small tool which will allow to sniff images on a spoofed network(with ettercap or arpspoof)
dsniff : a pack of tools for sniffing wireless networks (includes arpspoof)
charon : a gui for mdk3 also wireless pentesting tool
cowpatty : a brute force tool for *.cap of WPA/WPA2 networks
cleven : a gui for aircrack-ng
yamas : an MITM script (uses arpspoof) to spoof wireless networks
kismet : information gathering tool for wireless networks
wireshark : a very popular tool for sniffing data on wireless networks
tshark : a command line for wireshark
nmap : information gathering tool inside the network

Now we are Done here after doing everything correctly you should have a really nice hacking small device
For usage of these tools use google

ONLY FOR Pentesting DoN't HaRm PeOpLe ;)

EXTRAS

1-) This is hydra6
http://talk.maemo.org/attachment.php...7&d=1330185543
Thanks for StefanL for compiling it but This one does not have support for the following services: postgres sapr3 firebird afp ncp ssh svn oracle mysql5 and regex.

2-) This is pyrit
http://talk.maemo.org/showpost.php?p...&postcount=261
Thanks for carbonjha for compiling it

3-) Metasploit and SET: thanls for stevomanu for writing up those tutorials

Metasploit: http://talk.maemo.org/showpost.php?p...98&postcount=1
SET: http://talk.maemo.org/showpost.php?p...73&postcount=1


irshad2318 2012-05-13 12:17

Re: [Tutorial] Pentesting Wireless Networks
 
heloo all
iam new to this thread
@karam can you port ngrep to n900 as it is more use full
thanks

stevomanu 2012-05-13 12:53

Re: [Tutorial] Pentesting Wireless Networks
 
Can you not build it from the source have a look here

http://ngrep.sourceforge.net/download.html



Quote:

Originally Posted by irshad2318 (Post 1206020)
heloo all
iam new to this thread
@karam can you port ngrep to n900 as it is more use full
thanks


Mohammed Muid 2012-05-13 12:54

Re: [Tutorial] Pentesting Wireless Networks
 
i want to kno how to shut the router down. as in power off. there will be no option other than rebooting the router. how??????????

StefanL 2012-05-13 12:58

Re: [Tutorial] Pentesting Wireless Networks
 
Quote:

Originally Posted by Mohammed Muid (Post 1206028)
i want to kno how to shut the router down. as in power off. there will be no option other than rebooting the router. how??????????

Pull the plug :p:eek:

irshad2318 2012-05-13 13:43

Re: [Tutorial] Pentesting Wireless Networks
 
@stevomanu

correct me if i m wrong there is no arm build

mr_pingu 2012-05-30 20:06

Re: [Tutorial] Pentesting Wireless Networks
 
I made a video of wifite, some of you might be interested:

http://www.youtube.com/watch?v=Xnb6zUw95Ew

q6600 2012-06-06 20:05

Re: [Tutorial] Pentesting Wireless Networks
 
1 Attachment(s)
Quote:

Originally Posted by carbonjha (Post 1194028)
@spuddy101
try this one! untar it, put in /usr/bin/ directory, chmod +x it then run it.

& yes, as karam said the problem is related with python. I googled the issue & build the stable 4.0 with python2.5
hope it will work.

Just a little off topic
Computed 33523.19 PMKs/s
Attachment 26798

Ps on n900 pyrit still not working
install v 4.0
apt-get install python-clientform
http://i.imgur.com/qDzm5.png

D@vIcHoJD 2012-06-23 19:28

Re: [Tutorial] Pentesting Wireless Networks
 
1 Attachment(s)
I have a problem with driftnet, when I attempt to launch the application throws an error:

Code:

Nokia-N900:~# driftnet
-sh: driftnet: Permission denied

Now try chmod + x but still the same error, could please correct this error.

By the way was by testing wifite V.85 and it works, I have not had any problem.

Below I leave the file you use for others to use, as in the video posted by mr.pingu only this version is 85.

Regards:D:D

stevomanu 2012-06-23 20:48

Re: [Tutorial] Pentesting Wireless Networks
 
I have a little issue hes a sreenshot .

http://i.imgur.com/dcwiZ.png

Many thanks

D@vIcHoJD 2012-06-24 02:36

Re: [Tutorial] Pentesting Wireless Networks
 
3 Attachment(s)
Quote:

Originally Posted by D@vIcHoJD (Post 1226418)
I have a problem with driftnet, when I attempt to launch the application throws an error:

Code:

Nokia-N900:~# driftnet
-sh: driftnet: Permission denied

Now try chmod + x but still the same error, could please correct this error.

By the way was by testing wifite V.85 and it works, I have not had any problem.

Below I leave the file you use for others to use, as in the video posted by mr.pingu only this version is 85.

Regards:D:D

I've tried and have not had that error. Not, whether it be an error with python.

Do the following, extract the folder and place it in usr/bin/file # and then gives execution permissions:

Code:

chmod + x wifiter85.py
ready: then

active monitor mode (drivers wl251): after

Code:

sudo gainroot
cd/usr/bin/Wifite
python wifiter85.py

ready and follow the steps, according wifite prompted.:D:D

Here are some pictures, trying out my network with WEP security, I've tried with other networks and have not had any problem, on my network I take just 6 minutes.:D

Try again, and please let me know how it went. Attach the script wifite revision 85, this is the one I use.

Regards.:D

Mohammed Muid 2012-06-24 14:09

Re: [Tutorial] Pentesting Wireless Networks
 
my attack doesnot complete. it search and found my wpa network. couldnot capture handshake. this wifite hacks wpa network right? but how to use driftnet? i am a noob. it spoofs images from a network right? where does it store. m a noob in this case so plz go slow on me.

spuddy101 2012-06-26 19:53

Re: [Tutorial] Pentesting Wireless Networks
 
hi i seem to be having the same issue as stevomanu could it be i missing a package to install appreciate any help thanks

akitta 2012-07-09 22:29

Re: [Tutorial] Pentesting Wireless Networks
 
yeh i'm getting
Driftnet - : Permission Denied.
karam where have your instructions gone from the thread which contained "karam.tar.gz" ?
(I think it was. : cp driftnet /usr/opt/ from karam/binaries: I still get permission denied.)
Those worked perfect for me but i've had to reflash since then.
Thanxs to everyone for theGood Work ;)
SOLVED... If your having same problem ....
Nokia-N900:/ cd /home/opt/driftnet/
Nokia-N900:/ chmod 775 driftnet
Nokia-N900:/ ./driftnet wlan0
It never gets any pics from the victim machine i use, only from my n900. arpspoof and sslstrip work like a charm.
Having trouble with mdk3.. Carn't make it select (s)percific [AP] (I live a bit far from tha pacific) even when using black/white.txt..
Soldier-ON.. Proud to be a N900 Owner and a Member :D

carbonjha 2012-07-11 22:54

Re: [Tutorial] Pentesting Wireless Networks
 
I compiled the latest version of tcpdump 4.3.0. unzip it, then copy to /usr/bin/ then run chmod +x to make it executable. I hope it will work. Please let me know if its working.

https://dl.dropbox.com/u/52592439/Ma...mp%204.3.0.zip

tcpdump is very useful when doing MITM with ARPspoof or ettercap & Im still learning it.

D@vIcHoJD 2012-07-12 01:04

Re: [Tutorial] Pentesting Wireless Networks
 
Now I tried it and it works without problems, thanks for compiling it.
You may create a .deb, to install in the system by looking at FAM, I have version tcpdump4.0.0-1, would be good to update to the version you compiled, particularly by other application that may require it .:D

Another thing more, you may correct version pyrit4.0, to run in our N900, was testing with wifite_rev85 and could correct many units in this version, but I need pyrit; to work 100%. Try a ubuntu package, forcing you to install (dpkg - force) and apparently works, but there are dependencies like python (> = 2.6), libssl1.0.0 (> = 1.0.0), that make it impossible to install, and pyrit when I run, I get the same errors as reported here::confused:

"file usr / bin / pyrit, line 4, module
import pyrit_cli
import error: no module named pyrit_cli"

This is link pyrit4.0 in ubuntu:
https://launchpad.net/ubuntu/oneiric.../0.4.0-2build1
I know they are 2 systems and architectures totally different, just wanted to see what was the problem and I think the conclusion is that, versions of python and libssl are inconsistent with pyrint4.0 in our n900.:D:D


All times are GMT. The time now is 20:06.

vBulletin® Version 3.8.8