2010-01-25

[Video] How to: Install BackTrack 4 (Final) in VirtualBox + Extra

Links
Watch video on-line: http://g0tmi1k.blip.tv/file/3129332
Download video: http://www.mediafire.com/?363gzdoeikqzv1k



What is this?
This video shows how to install BackTrack 4 (Final) in VirtualBox, as well as applying a few tweaks and updating it. You can also use this method to install BackTrack on a real machine, just skip out the first part.




What do I need?

> BackTrack 4 (Final) (bt4-final.iso MD5: af139d2a085978618dc53cabc67b9269)
> VirtualBox


Software

Name: BackTrack
Version: 4 (Final)
Home Page: http://www.backtrack-linux.org/
Download Link: http://www.backtrack-linux.org/downloads/

Name: VirtualBox
Version: 3.1.2
Home Page: http://www.virtualbox.org/
Download Link: http://download.virtualbox.org/virtualbox/3.1.2/VirtualBox-3.1.2-56127-Win.exe


Commands:
fix-splash800

bash /media/cdrom0/VBoxLinuxAdditions-x86.run

nano /root/.bash_profile
start-network
startx

apt-get -y update
apt-get -y upgrade
apt-get update && apt-get dist-upgrade -y

/pentest/exploits/fast-track.py -i

apt-get install crark
apt-get install wbox
apt-get install vlc



Notes:

This could take a while, depending on your computer's speed & internet connection. You may have your own tweaks you want to apply - these are just mine.

Song: Infected Mushroom - Slowly
Video length: 08:59
Capture length: 94:41

Blog Post: http://g0tmi1k.blogspot.com/2010/01/tutorial-video-how-to-install-backtrack.html
Forum Post: http://www.backtrack-linux.org/forums/backtrack-videos/1660-%5Bvideo%5D-how-install-backtrack-4-final-virtualbox-extra.html




~g0tmi1k

49 comments:

  1. i am stuck at "kate /root/.bash_profile". the bash profile thing pops up and i type "start-network" what do i type after that on second line. do i save it when i close it or leave it open without saving.

    ReplyDelete
  2. Hello,

    start-network
    startx

    (In my video I believe, I forget to do "startx" the first time - I add it in after a restart!)

    Yes, you will need to save it, else there wouldnt be any point doing it ;)

    ~g0tmi1k

    ReplyDelete
  3. Hi g0tmi1k, superb post, got it up and running in a sec. Question, what kind of USB wifi card do you recommend? So I can also install wireless adapter in the Virtualbox..Im searching the net, but al posts seems about BT3. tnx and let me know!

    Tha-Butcher

    ReplyDelete
  4. @Rutger
    Thank you! (=
    I have two,
    1x Alfa AWUS036H
    1x Linksys WUSB54GC

    Both work fine with all the backtracks.

    ReplyDelete
  5. Great job. I have been looking for a tutorial like this for a bit now. Thanks !!

    BraneRift

    ReplyDelete
  6. @Brane
    Thanks for the thanks!

    ReplyDelete
  7. what's best, linux ubuntu 32 or 64 bit ??

    for best compatibility with software

    ReplyDelete
  8. @p0rr0n
    Its a little bit off-topic...
    Short answer - I've found 32bit (x86) to work "smoother" if it doesn't limit your hardware too much.

    ReplyDelete
  9. hi again, i've got a problem when i do the partition on a real machine...

    i have:

    C:\ Windows XP
    E:\ Windows 7
    and
    F:\ This one i made for Backtrack..

    now when i'm on the partition part i have no way to select any of this partitions..

    i can just choose how many space i want for the partition making.. how can i skip this part and choose my "F:\" Partition ?

    Anyway, if i make a new partition following the guide steps i get an error.. "Could't make the partition, Go back", something like that..

    if u couldn't understand let me know...

    thx and sry for my bad english...

    ReplyDelete
  10. Oh i forgot... i did all this like u said on VirtualBox...

    But, i have problems with the network.. i don't get a "Gateway", iwconfig says there is no wireless connection, shows no interface and much more..

    if u know why i could have this kind of problem just let me know..

    thx again and..
    sry 4 double posting...

    ReplyDelete
  11. @p0rr0n
    By the sounds of it, you made the partition when you were in windows. Personally I would of done it in bt4 myself...
    If you look a the video @ 02:01 (step 4 of the install), if you click manual instead, and then you can select your partition.

    If your having problems, its worth looking here:
    http://www.backtrack-linux.org/tutorials/

    and im guessing if you dont have "gateway" via iwconfig - bt4 doesnt have a driver for your wifi card! Best you ask on the forums for help!

    g0tmi1k

    ReplyDelete
  12. i used the manual way and it worked..

    first, i had some trouble, but i fixed it by putting "/" instead of /dos or /windows...

    hahaha with a little bit of luck but i did it..

    Thnks m1lk

    ReplyDelete
  13. Good morning

    g0tm1lk funyny name .. but you make a extraordinary job, with only 3 minutes i spent all night at work :)

    I tryit to make all steps like in your video tutorial, but i stoped now because i have a problem, in the 03:46 sec in this video you have 3 icons with files, well i have only 2 and missed VBOX .. I followed every step exactly, so i do not understand where i do something wrong

    ..

    I hope that some day one of us who learn what you teach us do some things that you will feel proud for all the work and time spent to make these videos

    Regards

    ReplyDelete
  14. @tmjrry1

    Thanks for the thanks!

    Open up Konqueror -> goto Storage media -> then insert the Guest addon cd -> Refresh the screen.

    If that doesn't work for you, you will have to manually mount the CD with either:
    mount /media/cdrom0/ -o unhide
    mount -t cd9660 /dev/cdrw /mnt/cdrw
    mount -t iso9660 -r /dev/cdrom /mnt/cdrom

    ReplyDelete
  15. I installed virtualbox and backtrack this afternoon also at home and all was well with the VBOX file, I think it's for the proxy or something like that, because at work the internet conections sometimes gives problems, because is corporate network. However tonight I will try again with the steps listed by you.

    Ok ., now in the house i got another problem and i have tried to solve it myself :)

    When you get to install wicd-client (04:24 sec. video) It is impossible to know the commands used, because you are very fast, so no one knows what you have done with the kate editor, when you put:

    start-network
    wicd-client

    you save it ? where ? then in terminal program you put enter and then you disconect VBoxGuest and a pop-up appears indicating that if you want to force the uninstall., what are the commands step by step to do the same thing ?

    My method to install wicd was to put in terminal program the next command:

    sudo /usr/bin/start-network

    then

    sudo /usr/bin/wicd-client on

    But I do not know if i have done the right thing, because the command i found it on the Internet looking for a solution so i do not know if it's right or wrong.

    See you

    ReplyDelete
  16. RE: 9 July 2010 12:56

    Is working :)

    ..

    Now i have another problem ., i just send you a PM with the attach file to see the error (heorot)

    ReplyDelete
  17. @tmjrry1
    I'm not sure how the proxy would effect it....

    Anyway, my video are not tutorials, more like demonstrations - hence the speed. Saying that, it wasn't meant to be THAT quick.
    But back to your question, I just did the shortcut to save (Ctrl + S), then closed it.
    Because I open kate via command line I also put a file in the arguments, it opens that file up straight away! So the path is: /root/.bash_profile

    The pop up thing is me right clicking on the CD icon (second one in from the left hand side), at the bottom of the virtualbox window

    Im not installing wcid, I'm just making it start as soon as I log in!

    ReplyDelete
  18. hello g0tm1ilk, i have a question, isnt on virtual machine, they cant support or read wireless card?

    ReplyDelete
  19. Thanks for the help, but when i click on the green addition button after opening firefox nothing happens. Also whenever I try install or update something after that it does not work. Thanks!

    ReplyDelete
  20. @Phillip
    Sorry, I don't fully get what you mean. I'm going to need more information/the error.

    ReplyDelete
  21. Enter the path to the metasploit directory
    Hit enter for default (/pentest/exploits/framework3/):

    keep repeating this action... what is that mean?

    ReplyDelete
  22. At 3:30 when I open the browser I can't add any user additions. When I try to type ls in to the konsole next I get "Konqbrowser.desktop konsole.desktop". What should I do to get the desired results?

    ReplyDelete
  23. @Phillip
    3:30 - thats changing the keyboard layout.
    3:54 - I type in "ls".

    Have you mounted the CD in VirtualBox?
    Have you mounted the CD in backtrack?
    Have you change the directory to the CD?

    ReplyDelete
  24. I haven't done any of those. I how do I mount the CD?

    ReplyDelete
  25. Start wit this...
    Mounting the CD in VirtualBox
    *just like in the video @03:30*
    Open up Konqueror -> Storage Media
    In BackTrack -> Tools *I think* -> Install guest Addions.
    *wait*
    Back in Konqueror, Refresh (F5).

    ReplyDelete
  26. Hello.I cannot select it the virtualboxban the name of the network card because he does not allow it that let me select it.you would be able to help?

    ReplyDelete
  27. I have a Acer aspire 6930 vista

    ReplyDelete
  28. @károly
    I don't fully understand what your trying to do and whats happening.
    What can't you select? The network card?
    Could you upload a screen shot?

    ReplyDelete
  29. hello milk... d/l the zip dont think it is the iso (image) how to install it? In hind sight should have d/l the iso. Not sure. either way to you have a video for both

    ReplyDelete
  30. @T
    I'm not sure what you have downloaded, as BackTrack 4 R1 is a ISO file, and its not zipped up, so I dunno what you downloaded and where from.
    You're best to download it from the official source:
    http://www.backtrack-linux.org/downloads/

    Sorry, but I'm not making a video on showing you how to download the ISO file! There is no need.
    However you can follow the video in this post, to install backtrack in VirtualBox.

    ReplyDelete
  31. hi gotmi1k,
    i have a small problem, in ur video, ur fast tract is version 4.0 and mine one is 4.0.1 and inside the menu dun hv the no. 7 = installation menu. so wad do i do? skip it?

    and on the shell-openvas nvt sync, the receiving file list stucking at 1400 files...so wad is next? just follow from the video?

    ReplyDelete
  32. @Ong Kian Fui
    Yes, fast-track has remove a few "update" features I believe since I did the video, so it may not work any more. If it's not there - you can't use it... *See below for a replacement script*

    With OpenVAS, how long did you wait? Try waiting 10 minutes and see if it's still "stuck"...

    You may like a project that sickness416 has been working on. You can read/download it here:
    http://sickness.tor.hu/?p=283

    ReplyDelete
  33. Good day, g0tmi1k!

    Excellent video, i only run into a small problem and hope you can help with it.
    (A tad offtopic)
    I bought a wifi device, got all the drivers for it, installed them on Ubuntu but when i mount my device in Vbox the lights go off and it doesnt work. It shows no Wlan0, but it does show on lsusb.

    I really want to start with BT but i'm stuck!

    Respect,
    Demi

    ReplyDelete
  34. @demiaxz
    Which WiFi device did you buy?
    Which version of ubuntu are you using?
    Where/which drivers did you get?
    Have you mounted the USB device in VirtualBox?
    What have you tired?

    Side note: You may get more/quicker help on the ubuntu forums....

    ReplyDelete
  35. Good evening!

    First off, i have googled and checked the fora's for over days now, i gave up on them seeing noone seems capable enough of fixing it.

    I've started over. Got the newest katana and now i'm booting from a usb. Using the onboard card in my laptop i can browse the internet, but it is not capable of getting/sending packets it seems. I have my WL-329 SL V1 oo1 Sitecom plugged in right now but it seems not to work. got it on the point where it says it finds nothing when doing a sudo iwlist scanning.

    I got the drivers from this device from it's CD, mailed the folders with the drivers to myself and installed them with Ndiswrapper.

    I dont know if it's possible to get it started, maybe it's me bieng cursed, heh.

    Good to see you still active, i really hope you can help me out.

    Demi

    ReplyDelete
  36. @demiaxz
    Well... I'm a little bit confused, as I understand it, you need to send/receive packets to surf the internet! I think you need to re-check what's what. ;)

    Before you start scanning, it's worth checking that the hardware is being detected correctly. Try running: lspci & ifconfig

    Personally, I haven't used katana. Though as I understand its a multi-boot ISO with portable windows apps? Looking at the release dates:
    > Katana 2.0 = 2010-10-11
    > Backtrack 4 r2 = 2010-11-19
    Meaning you might not be using the latest version of backtrack (The latest version improves/supports more WiFi cards).

    A note about using Ndiswrapper, if you do choose to use this - you will be unable to use airodump-ng/aireplay-ng.

    ReplyDelete
  37. @demiaxz
    For some reason your last comment didn't get posted - however I did get emailed a copy.

    No, not every device is able to crack WiFi cards. The wifi card need to support "monitor mode" (Able to capture data), and "inject" (Allows for attacks - speeds up the process). Don't forget to check the Aircrack-ng WiKi:
    http://www.aircrack-ng.org/doku.php?id=install_drivers

    If you want help with cracking your wifi network, you need to give a little bit more information (e.g. What encryption, what commands you have tired and the exact error out).

    Going back to my last message "A note about using Ndiswrapper, if you do choose to use this - you will be unable to use airodump-ng/aireplay-ng". You told me in your message that you are using Ndiswrapper, therefore this is a reason why it's not working for you ;)

    Going back to Vbox - did you mounted the USB WiFi in Virtualbox? Other wise, the VM will not know of your WiFi card!
    If yes, can you see the device when you try: lspci & ifconfig ? If not, unplug wait a few seconds, then try again. (If you can use another USB port - great!).
    Personally, I've had the odd issue with VirtualBox + USB. Works about 4/5 times.

    About the USB setup - backtrack has detect your on-board wifi card? You're able to connect to your network and surf the net?
    Did you use Ndiswrapper? Or did it just work "out-of-the-box"?
    Like I said at the top, if you would like some help cracking your network - You need to help me first (with some more information! Details of the network + commands + output)

    Now about "no dictionary" issue - it SOUNDS like you targeting a WPA/WPA2 network? You NEED a dictionary/wordlist (same thing) to crack a WPA/WPA2 network, and the passphase HAS to be in this file. I've done a few guides on this... IF the network is WEP, then you just need enough packets (IV's), and due to the poor algorithm it suffers from a brute force attack.
    Again, if you want help on it, you need to give a little ;)

    ReplyDelete
  38. G0tm1lk,

    I currently dont have annything ndiswrapper related running currently, so just out of the box.

    In Vbox, i did mount the usb device, but i currently have the desire to hurt that program in every possible way.

    About the USB setup,
    Backtrack makes me able to browse the internet, connect me to a network and scan for them.

    I have indeed tried to crack my wpa2 network. So i'll check that guide right away.

    And sure i'll give you the outcome of what-ever you wish for, but i would need some of them you wish to see! :)

    Demi

    ReplyDelete
  39. Offtopic ; Double currently. x)

    ReplyDelete
  40. @demiaxz
    What issues are you having with VirtualBox?
    Alot of people like VMware Player - which is also free - and report its handles USB better.

    With the USB setup - sounds like you have it working then?

    ReplyDelete
  41. hi there, i have tried it out. but in my network settings, I cannot choose my wifi adapter. what should i do?

    ReplyDelete
  42. @invi
    Are you saying that you can't select your WiFi card in VirtualBox or BackTrack? Which network settings?

    If you run BackTrack in a VM (VirtualBox, VMware, etc), will only detect your WiFi card as a WiFi card if it is USB.

    ReplyDelete
  43. This comment has been removed by the author.

    ReplyDelete
  44. @g0tmi1k
    I had problem with Bridged adapter setting in Virtualbox, it didnt let me choose my wifi adapter.
    However, after reinstalling, it work correctly now.
    Thanks for help and video :D

    ReplyDelete
  45. @invi
    I'm glad you have it working now. (=

    ReplyDelete
  46. hello,
    i have a problem with updating BT4 in virtual machine. i saw your video it was one year old and now they hav launched BT5r1,
    i installed bt4 in virtual box and everythin is goin fine, i can brows but when i do the command like
    apt-get update (it gives )
    Err http://archive.offensive-security.com pwnsauce/universe Packages
    404 Not Found
    Err http://archive.offensive-security.com pwnsauce/multiverse Packages
    404 Not Found
    W: Failed to fetch http://archive.offensive-security.com/dists/pwnsauce/main/binary-i386/Packages.gz 404 Not Found

    W: Failed to fetch http://archive.offensive-security.com/dists/pwnsauce/microverse/binary-i386/Packages.gz 404 Not Found

    W: Failed to fetch http://archive.offensive-security.com/dists/pwnsauce/macroverse/binary-i386/Packages.gz 404 Not Found
    ===========================================
    when i do this command
    apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    ========================================
    i want to use bt4 bcoz i wana do practice on it.
    i have a book and there is an example from bt4.
    i m not very expert like u in linux thats why i use this version so that i can learn. in every distro of bt version they change the file name and the place of file.thats the main problem to find those files.
    plz help regarding this
    thanks in advance , here is my email id
    rur0uni@ymail.com

    cheers mate

    ReplyDelete
  47. @rur0uni
    Since the release of backtrack 5, backtrack have stop supporting backtrack 4 and lower.
    With this, they have also shut down the repository.
    This is why it's timing out & not being found.

    I would highly suggest upgrading to backtrack 5 (and find a more up-to-date book/resource too!).

    Best of luck.

    p.s. I'm not a expert! ;)

    ReplyDelete
  48. Hey how are u got everything to work on bt5 but i cant connect to internet on virtual box i have wired connection please help. Wicd gives me connected but i cant open firefox pleeease help.

    ReplyDelete
  49. @Dizer
    Have you got an Ip address? Use ifconfig to check.
    Are you able to ping google?
    What mode is the VM network interface set to? Bridged?

    ReplyDelete