Active Topics

 


Reply
Thread Tools
Posts: 309 | Thanked: 115 times | Joined on May 2010 @ Malaysia
#1
Hi, i've written an english tutorial on howto install NeoPwn V2..i've compiled some of the tutorial from N900-pentesting blog and phonesfera forum (spanish forum). there's some incomplete/misguiding guide on how to install neopwn from these sources, so i tried to correct it and it works for me..

i'd like to thank some of the users who helped me during the installation including badfusion, OptX, xopher, megaltariak and some other users..(sorry if i miss anyone here)

i'll try to make it as noob friendly as possible as i'm a noob myself

*USE OPENSSH FOR EASIER COPYING AND INSTALLATION
*USUAL WARNING, INSTALL THIS IF ONLY YOU KNOW HOW TO DO IT. I WILL NOT HELD RESPONSIBLE IF ANYTHING HAPPENS TO YOU OR YOUR PHONE. i've tried installing it and succeed without problems, and i'm sharing it..don't cry to me if it doesn't work, however, i'll try to help

YOU WILL NEED AT LEAST 4GB OF FREE SPACE IN ORDER TO INSTALL NEOPWN

*enable extra-testing and extra-devels to avoid missing packages dependencies..u can always disable it after u are done installing the kernel-power in step 10

(Step 1) Install the following packages -

Code:
apt-get install bash pymaemo-optify python2.5-qt4 python2.5-sip4 rootsh
*the above command are typed in single line

(Step 2) Create a directory for the neopwn setup files -

Code:
mkdir /home/user/MyDocs/neo

(Step 3) Copy get-it_files.tar.gz from your Pc/Mac to the setup folder by using OPENSSH or MASS STORAGE MODE

scp /files.tar.gz root@(Enter N900 IP):/home/user/MyDocs/neo

or

transfer directly using Mass Storage mode to the folder home/user/MyDocs/neo

(Step 4) Change to that directory

Code:
cd /home/user/MyDocs/neo/
(Step 5) Extract the NeoPwn setup files

Code:
tar -zxvf get-it_files.tar.gz
(Step 6) Copy the files to their required directories
Code:
cp neopwn /usr/bin/

cp neopwn.sh /usr/bin/

cp neopwn.png /usr/share/pixmaps/

cp neopwn.desktop /usr/share/applications/hildon/

(Step 7) Restart hildon-home

Code:
killall hildon-home
(Step 8) Setup the control panels User Interface

Code:
mkdir -p /opt/neopwn

tar zxvf control-panel-ui.tar.gz -C /opt/neopwn/

*STEP 9 AND 10 HAS TO BE DONE ON THE N900 TERMINAL*

(Step 9) Install the kernel drivers
Code:
dpkg -i kernel-power_2.6.28-maemo40-wl1_armel.deb

dpkg -i kernel-power-modules_2.6.28-maemo40-wl1_armel.deb

(Step 10) Flash the N900

Code:
dpkg -i kernel-power-flasher_2.6.28-maemo40-wl1_armel.deb
*this will install kernel-power..reboot afterwards

(Step 11) Unmount and Format your MicroSd ready NeoPwn files

Method 1 - using the whole micro SD for neopwn

Code:
umount /media/mmc1

mke2fs -t ext3 /dev/mmcblk1p1
Now Reboot

or

Method 2 - Using specific partition for neopwn

Use GParted to create and format the ext3 partition (eg: third partition of the microSD mmcblk1p3 - for .neopwn) - tutorial on how to create a partition using GParted - http://www.networkedmediatank.com/sh....php?tid=26629

*NOTE AT THIS TIME, AFTER REBOOT, THE PHONE OR FILE MANAGER WILL DISPLAY AN ERROR "MEMORY CARD FORMAT UNSUPPORTED". THIS IS NORMAL. PLEASE PROCEED WITH THE STEPS.


(Step 12) Make a directory for MicroSd card to be mounted on to the partition

Code:
mkdir /.neopwn
(Step 13) Mount the partition Microsd card on the /.neopwn directory

Code:
mount -t ext3 /dev/mmcblk1p1 /.neopwn/ -o noatime

(type this if you formatted the card using "mke2fs -t ext3 /dev/mmcblk1p1)


or
Code:
mount -t ext3 /dev/mmcblk1p3 /.neopwn/ -o noatime

(type this if you formatted the card using GParted and created an ext3 partition on partition 3-mmcblk1[p3])


*IMPORTANT - COPY THE FILES w00t.tar.gz FROM YOUR PC/LAPTOP TO THE DEFAULT DIRECTORY OF PHONE (/home/user/MyDocs) BY USING USB CONNECTION -> MASS STORAGE MODE

* THEN

Code:
cp -r /home/user/MyDocs/w00t.tar.gz /.neopwn
*this will copy the w00t.tar.gz from the MyDocs to .neopwn..which will take quite some time (10-20minutes)

CONTINUED ON THE SECOND POST

Last edited by one1002; 2010-11-09 at 14:34.
 

The Following 6 Users Say Thank You to one1002 For This Useful Post:
Posts: 309 | Thanked: 115 times | Joined on May 2010 @ Malaysia
#2
*FROM THIS STEP TO 17, COMMANDS ARE TO BE TYPED IN THE N900 TERMINAL ITSELF.

(Step 16) Change to the /.neopwn Directory

Code:
cd /.neopwn
(Step 15) Extract the files

Code:
tar -zxvf w00t.tar.gz
(it'll take at least 45 minutes to 1 hour to extract due to the large file. Make sure the phone is connected to the charger to avoid data corruption while extracting)

(Step 16) synchronize (Run twice just to make sure)

Code:
sudo gainroot

cd /.neopwn

sync

sync
(Step 17) Give permission for neopwn to execute

Code:
sudo gainroot

chmod +x /usr/bin/neopwn

chmod +x /usr/bin/neopwn.sh
*When done, do this (i prefer leafpad, but any editor is up to you - leafpad/vim) -

ONLY DO THIS IF YOU USE METHOD 2 IN STEP 11 (using GParted to create partition), if not, you may skip this step and continue to step 18

Code:
leafpad /opt/neopwn/control-panel-ui/etc/conf.py

find and change the line that has "mmcblk1p1" to "mmcblk1pX" where X = neopwn partition, eg: mmcblk1p3 if neopwn is on partition 3. then save.

(step 18) To be able to use packet injection, download the modules script here http://rapidshare.com/files/42906623...on_modules.rar or megaupload mirror http://www.megaupload.com/?d=XHZ5CTA7 and add the enable/disable packet injection to the desktop by :

a)Enter through ssh and put the files "rmneo.desktop" and "insneo.desktop" (These are the shortcuts) in

/usr/share/applications/hildon/
b)Then put the icons stop.png and go.png in

/usr/share/pixmaps/
c)Finally,put the "rmneomod.sh" and "insneomod.sh" injection script in the folder

/home/user/
d)Disconnect from the SSH

*FROM THIS STEP ONWARDS, COMMANDS ARE TYPED IN THE N900 TERMINAL ITSELF.

(Step 19) Give permission for the script to execute by
Code:
sudo gainroot

chmod +x insneomod.sh

chmod +x rmneomod.sh
*exit the terminal

(Step 20) Add the shortcuts (Green Light, Stop Hand, and NeoPwn) to the desktops (*THIS STEP IS OPTIONAL)

(Step 21) Test if the packets injection is working and if the modules are being loaded correctly

a)tap the "Green Light" icon to turn on packet injection
b)type

Code:
lsmod |grep wl12
to check the loaded modules

b)and now ur card has turned into monitor mode. To be sure, test like this :

Code:
ifconfig wlan0 down

iwconfig wlan0 mode monitor

ifconfig wlan0 up

aireplay-ng -9 wlan0
c)it should say "Injection is working!"

(Step 22) Run NeoPwn V2 from the menu or desktop shortcut

***AFTER THIS,WHAT YOU DO WITH IT IS YOUR BUSINESS..AS I WOULD NOT CREATE A TUTORIAL IN HOW TO CRACK WEP USING NEOPWN AND GRIMWEPA..PLEASE SEARCH IT YOURSELF

(Step 23) After done cracking your target WEP, turn off packet injection to avoid high battery consumption by pressing the "Stop Hand" icon
* Check if the modules have been unloaded by

Code:
lsmod |grep wl12
and you are done..i'll try to help if there's any of you guys having problems installing it, but pls note that i can't answer all, so i'd leave it to anyone who can help solve it as well..

Last edited by one1002; 2010-11-09 at 06:41.
 

The Following 12 Users Say Thank You to one1002 For This Useful Post:
Kieron's Avatar
Posts: 388 | Thanked: 115 times | Joined on Oct 2009 @ London, UK
#3
 

The Following User Says Thank You to Kieron For This Useful Post:
Kieron's Avatar
Posts: 388 | Thanked: 115 times | Joined on Oct 2009 @ London, UK
#4
Note: if you get errors installing the dependencies, you need to make sure you have the extras/devel repos enabled. You might want to include this in your guide, I had this issue when doing the tut on a clean flash.

K
 

The Following 2 Users Say Thank You to Kieron For This Useful Post:
Posts: 309 | Thanked: 115 times | Joined on May 2010 @ Malaysia
#5
thank you..i'll edit it right away
 
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#6
I really hope the public release it released soon; I tried the image that is floating around the web, but I found it quite fishy; I don't trust it so deleted it not long after testing it.
 
Posts: 309 | Thanked: 115 times | Joined on May 2010 @ Malaysia
#7
Originally Posted by jd4200 View Post
I really hope the public release it released soon; I tried the image that is floating around the web, but I found it quite fishy; I don't trust it so deleted it not long after testing it.
yes we all are still hoping that the project isn't abandoned..
 
Posts: 8 | Thanked: 1 time | Joined on Oct 2010 @ Brazil
#8
Fellow,

All this stuff is still working on the PR1.3?
 
Kieron's Avatar
Posts: 388 | Thanked: 115 times | Joined on Oct 2009 @ London, UK
#9
Nokia-N900:/home/user# sh insneomod.sh
: not foundh: line 2:
does not exist in /proc/modules
does not exist in /proc/modules
does not exist in /proc/modules
': No such file or directoryer/MyDocs/neo/compat.ko
': No such file or directoryer/MyDocs/neo/rfkill_backport.ko
': No such file or directoryer/MyDocs/neo/cfg80211.ko
': No such file or directoryer/MyDocs/neo/mac80211.ko
': No such file or directoryer/MyDocs/neo/wl1251.ko
insmod: error inserting '/home/user/MyDocs/neo/wl1251_spi.ko': -1 Unknown symbol in module
Nokia-N900:/home/user#

What has gone wrong?

Modules aren't loaded either by the looks of it:

Nokia-N900:/home/user# lsmod |grep wl12
wl12xx 77568 0
mac80211 152220 1 wl12xx
crc7 1216 1 wl12xx
cfg80211 27280 2 wl12xx,mac80211
Nokia-N900:/home/user#


K

Last edited by Kieron; 2010-11-08 at 18:24.
 
Kieron's Avatar
Posts: 388 | Thanked: 115 times | Joined on Oct 2009 @ London, UK
#10
Originally Posted by jd4200 View Post
I really hope the public release it released soon; I tried the image that is floating around the web, but I found it quite fishy; I don't trust it so deleted it not long after testing it.
It's not fishy, at all. The excuse that was made up buy the dev was just to scare people away. Trust me.

Also, there probably will be no public release - if you check the other thread, you can see the email he has sent regarding the indefinate unavailability.
 

The Following User Says Thank You to Kieron For This Useful Post:
Reply


 
Forum Jump


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