How to Install BackTrack on Nokia n900

Discussion in 'Resources' started by Mr. Penguin, 23 Dec 2012.

  1. Mr. Penguin

    Mr. Penguin Administrator
    Staff Member Admin Moderator VIP

    Joined:
    18 May 2012
    Messages:
    3,087
    Likes Received:
    1,186
    Trophy Points:
    351
    How awesome would it be to have backtrack in the palm of your hand, able to hack using Reaver, minidwep, feedingbottle and aircrack ? Well you can. The n900 has a wifi card that supports monitor mode and packet injection. You can pick one of these up second hand for quite cheap and the price is only going to go down in the future. This has been confirmed to be working for BackTrack 5. R1, R2 and R3 have not been tested but we encourage you to do so and give feedback here.

    [​IMG]

    What is Required
    1. The Device: Nokia n900 Click to Buy
    2. Root & Terminal Access: Rootsh v1.8 (see attached file)
    3. Manage BT Partition and mount it: Easy Chroot v0.3.5-1 Fremantle 1 (see attached file)


    Too enable root access, via the:
    Code:
    Select All
    sudo gainroot
    See the picture below


    [​IMG]

    4. BackTrack 5: Direct Download (or torrent in the attached file below)

    Image Name: BT5-GNOME-ARM.7z
    Size (MB): 1060
    Desktop: GNOME
    Architecture: arm
    Image: IMG
    Download: Direct
    MD5sum: a66bf35409f4458ee7f35a77891951eb

    5. Micro USB cable or microSDHC card: Large enough to transfer BT to the device

    Installation

    1. Install all the required files
    2. Put the bt5.img anywhere (e.g: /home/user/bt5)
    3. Open X Terminal and type:

    Code:
    Select All
    sudo gainroot mkdir /mnt/bt5 qchroot /home/user/bt5/bt5.img /mnt/bt5/ export USER=root vncpasswd (Needs to be done once for setting up a password) vncserver -geometry 800x470 startvnc
    4. Open VNC and leave terminal open in background

    5. In VNC use these settings:
    Address: 127.0.0.1:590x

    x is a variable number you see when you typed "startvnc" inside BT5.

    You will see something like this:
    Code:
    Select All
    Log file is /home/user/.vnc/Nokia-N900:x.log" Mine was "Log file is /home/user/.vnc/Nokia-N900:1.log"
    6. Enter password you chose before
    7. Login
    8. To Close

    Code:
    Select All
    stopvnc exit qumount /mnt/bt5 exit
    Adapted from a guide by Superdump @ Maemo: http://talk.maemo.org/showpost.php?p=1006083&postcount=83

    If you just want to install Reaver use the following guide

    Hacking WPA 2 Key using Reaver on Nokia N900

    Watch this video on YouTube.
    You will need the following repos:
    Nokia Applications
    https://downloads.maemo.nokia.com/freemantle/ssu/apps/
    ./
    [empty]

    Ovi
    https://downloads.maemo.nokia.com/fremantle1.2/Ovi/
    ./
    [empty]

    Extras
    http://repository.maemo.org/extras/
    [empty]
    free non-free

    Extras-Devel
    http://repository.maemo.org/extras-devel
    [empty]
    free non-free

    Wherever you see [empty], leave that blank without any text.

    Alternatively you can install Cleven

    The Cleven application is a user interface to the aircrack-ng for the N900 device. It provides the ability to easily configure the injection drivers, scan for surrounding stations, and, using injection and authentication or deauthentication, capture Identification Vector keys. In addition, it provides interfaces to decrypt the captured files and manage the successful attacks.

    [​IMG]
    How to install Cleven: http://wiki.maemo.org/Cleven

    Other Devices
    BackTrack on Motorola: http://www.backtrack-linux.org/forums/showthread.php?t=40376
    BackTrack on Samsung Galaxy S3: http://www.backtrack-linux.org/forums/showthread.php?t=51940
     

    Attached Files:

    • Like Like x 1
  2. FareezIzwar

    FareezIzwar Active Member

    Joined:
    30 May 2012
    Messages:
    22
    Likes Received:
    2
    Trophy Points:
    33
    awesome tutorial Geek
     
  3. jimm9

    jimm9 Active Member

    Joined:
    16 Sep 2012
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    35
    Yes, CLEVEN is good when you finally get reaver installed in it.
     
  4. russell

    russell Well-Known Member
    VIP

    Joined:
    9 Aug 2012
    Messages:
    44
    Likes Received:
    30
    Trophy Points:
    236
    Backtrack Arm unfortunatly does not come with aircrack-ng pre-installed, this is because it is primairily aimed at android tablets. but fear not it is not to hard to install.

    step 1. install and boot into backtrack following mr penguins tutorial.

    step 2. run the standard update

    Code:
    Select All
    apt-get update apt-get upgrade
    step3. we need to install a dependency

    Code:
    Select All
    apt-get install zlib1g-dev
    step 4. we also need libssl-dev, but we need to download and install that ourselves.

    Code:
    Select All
    wget http://launchpadlibrarian.net/64412492/libssl-dev_0.9.8k-7ubuntu8.6_armel.deb dpkg --install libssl-dev_0.9.8k-7ubuntu8.6_armel.deb rm libssl-dev_0.9.8k-7ubuntu8.6_armel.deb
    step 5. we are now ready to download and install aircrack-ng.

    Code:
    Select All
    apt-get install source-aircrack-ng cd /var/backtrack/sources/aircrack-ng/1.1/bt9/upstream-sources/ tar -xzf aircrack-ng.tar.gz cd aircrack-ng/ make && make install
    step 6. set the path varible

    Code:
    Select All
    echo "export PATH=$PATH:/usr/local/sbin" >> ~/.bashrc export PATH=$PATH:/usr/local/sbin

    as its quite a lot of typing, i would recommend using ssh. or you could write it into a script first on you pc.

    well there it is my first ever tutorial, i hope some of you find it useful.
    --- Double Post Merged, 1 Feb 2013 ---
    here is a script that automates the process.
     

    Attached Files:

    • bt5aac.sh
      File size:
      426 bytes
      Views:
      144
      MD5:
      cfe9209aed88bf77553c4ef39d043d02
  5. 4mboss

    4mboss Member

    Joined:
    25 Feb 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    6
    hi all i'm new and my name is gabriele I wanted to know one thing if metasploit and reaver working on it use backtrack? thanks in advance..
     
  6. russell

    russell Well-Known Member
    VIP

    Joined:
    9 Aug 2012
    Messages:
    44
    Likes Received:
    30
    Trophy Points:
    236
    bt5_arm, has metasploit but it is quite out dated.
    reaver no. but reaver is in the n900 repositorys and metasploit runs on the phone
    quite well although i have noticed it getting slower with recent revisions.
     
  7. Joeblackis

    Joeblackis New Member

    Joined:
    28 Apr 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    After the installation of Backtrack ...does it work both as a mobile phone that makes calling,sms and as a linux system or just as a backtrack 5 ???
     
  8. russell

    russell Well-Known Member
    VIP

    Joined:
    9 Aug 2012
    Messages:
    44
    Likes Received:
    30
    Trophy Points:
    236
    yes, you dont install. it but run it in chroot.
     
  9. Taimoorirfan

    Taimoorirfan Member

    Joined:
    31 May 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    6
    hi before i stumbled upon this forum ive been looking to download this on many others, i wasnt as confused initially as some of them made me, i have a few queries however:
    2. Put the bt5.img anywhere (e.g: /home/user/bt5)
    1. i have a 32gb microsd on which i would like to install & boot backtrack from, so r u booting the backtrack from ur microsd or the files need to be saved on the n900 itself.
    2 im using windows 7 64 bit i have read it has compatibility issues with n900 not sure why though, however i saved the zip file on my desktop, unzipped it and from there n then i am trying to copy the bt5.img to my microsd but it says file format is too large to copy, as an alternate i tried to copy the image to my n900 that too large to copy error popped up again. i can assure u have a little over 29gb free so why doesnt a file which is around 4gb not copying on my microsd?
    3. did a little digging on that as well and some forums seem to say it has something to do with the file format or micro sd, mine is configured with fat32, do i need to reformat to another format or anything.

    a little and any help would be much appreciated as i have been cracking my head as to how to make it work. Thanks in advance and im grateful for the help as i have much love for my n900.
     
  10. russell

    russell Well-Known Member
    VIP

    Joined:
    9 Aug 2012
    Messages:
    44
    Likes Received:
    30
    Trophy Points:
    236
    you need to resize the bt5.img or format your sd card to ext 2/3/4. you will not be able to do this in windows, use a live linux. follow link for tutorial.
    http://zitstif.no-ip.org/?p=661
    --- Double Post Merged, 2 Jun 2013 ---
    link in previous post is for download of resized .img
     
    • Like Like x 1
  11. Taimoorirfan

    Taimoorirfan Member

    Joined:
    31 May 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    6
    thanks for the quick update will check it out russell
     
  12. Encik Mustar

    Encik Mustar Well-Known Member
    VIP

    Joined:
    13 Jun 2013
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    48
    is it possible can get wpa with this nokia n900?
     
  13. russell

    russell Well-Known Member
    VIP

    Joined:
    9 Aug 2012
    Messages:
    44
    Likes Received:
    30
    Trophy Points:
    236
    yes you can grap wpa handshakes,but i dont really recommend cracking them on device as the n900 can only do around 100 pmks p/s. you can use reaver though.
     
  14. Fantastic

    Fantastic Well-Known Member
    VIP

    Joined:
    19 Feb 2013
    Messages:
    122
    Likes Received:
    153
    Trophy Points:
    111
    Is it the same tutorial for kali linux?
     
  15. zetagi

    zetagi Member

    Joined:
    10 Feb 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    5
    you need to resize the bt5.img or format your sd card to ext 2/3/4. you will not be able to do this in windows, use a live linux. follow link for tutorial.
    http://zitstif.no-ip.org/?p=661
    --- Double Post Merged, Jun 1, 2013 ---​
    link in previous post is for download of resized .img

    I am looking for the re-sized bt5.img but all the links i´ve found are down. Anybody knows a mirror or could upload the img again?

    thanx​
     
  16. korrupted

    korrupted Member

    Joined:
    16 Nov 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    6
    Hi All,

    I am new to this forum. I own a nokia n900 and have the BT-ARM files.

    I also have a 8gb micro sd hc card for the installation.

    Is this a straight forward process? Or is there anything else that I need to know?

    Any advise is much appreicated in order to get Backtrack up and running.

    Thanks
     
  17. krishnagiridher

    Joined:
    25 Jan 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I decreased the image size and successfully copied into mobile..., but when I type the command "qchroot /home/user/MyDocs/bt5/bt5.img /mnt/bt5"

    getting error like "/bin/sh: qchroot: not found"

    Please let me know why am getting these error.

    Thanks,
    Krishna Giridhar
     
  18. russell

    russell Well-Known Member
    VIP

    Joined:
    9 Aug 2012
    Messages:
    44
    Likes Received:
    30
    Trophy Points:
    236
     
  19. isbana

    isbana Active Member

    Joined:
    3 Aug 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    31
    When I try to copy bt55.img it says that the file is too large for the destination file system....But it has 26Gb free space.
    How can I copy it to the phone memmory ?
     
Loading...
  • About Us

    We are a community mixed with professionals and beginners with an interest in wireless security, auditing and pentesting. Feel free to check out and upload resources.


    You can also find us on: Twitter and Facebook

  • Donate to Us

    Did you find our forums useful? Feel free to donate Bitcoin to us using the form below. Those who donate the equivlent of $10 USD or more will be upgraded to VIP membership. Don't have Bitcoin? Use your credit card to GO VIP here. Don't want to fork out some coin? There are other ways to GO VIP. Bitcoin: 1LMTGSoTyJWXuy2mQkHfgMzD7ez74x1Z8K