Dishing Tech

Dishing Tech is a unique tech blog that offers news, how to's, tips, tweaks on pretty much anything tech related. We Dish out the latest news on gadgets and hardware. Provide Mac and iDevice reviews as well as provide tutorials on hacking, jailbreaking, internet security and visualisation.

10 December 2011

Installing BackTrack 5 R2 on Mac or PC with Parallels Desktop (For Hacking WiFi)



BackTrack 5 R2 is the latest and greatest package of the popular and useful suite of hacking, security and network auditing tools. I built upon the backtrack-linux team and created a better package: BackTrack 5 R2 | DishingTech Edition.


An added benefit of this download is that it has the latest compat-wireless drivers which means that your wifi card such as an rtl8188ru or awus036nh device will work straight out of this virtual machine (VM). It is also much quicker importing the VM then installing the ISO from the BackTrack-Linux.org website as you will see with the video below.
Screenshot: What the BackTrack DishingTech Edition looks like
Rationale


Linux commands can be quite difficult for people to understand, and it is quite time consuming the amount of effort one must exert (typing, remembering, troubleshooting, installing drivers etc.) to achieve what they want. This version is the latest version you can get particularly designed for people into wireless hacking. It has Parallels Tools installed and packages such as Reaver, Reaver Inflator GUIFeeding BottleMinidwep GTK, WPSCrackGUI and Aircrack-ng which are very easy to use and in most cases you simply click a few buttons and you are done.


Note: This Parallels Desktop VM for dummies and noobs will work on both Windows PC and Mac. I am using a Mac for this demonstration, but in a Parallels Workstation (Windows PC) environment it would be a very similar process. The VM was created in Mac OS X Lion (10.7) using Parallels Desktop 7. It should work for other versions such as Snow Leopard (10.6) and possibly Parallels Desktop 5 (let me know!).


For people starting out, I highly recommend using Xiaopan OS as it is a much smaller download (70mb) and easier to use. However, it does not have an attractive interface and is not as feature packed as BackTrack.


Video: Download & Install BackTrack 5 R2 & Parallels Tools | Mac & PC





1 What is Needed


1.1 Software
You need some software to run Linux on your system. This is the recommended method (See video 0:00 - 0:56 above for an explanation):
  • Install Parallels Desktop (Mac) or (PC)
  • Download all of these files and place them in the same folder (~2.48GB in total):

Password to extract and download is: dishingtech 

2 Other Downloads
  • UnrarX (or something similar, windows equivalent is WinRAR) to extract the split RAR files you downloaded
  • jDownloader. Makes future downloading quicker (optional)

You can install BackTrack yourself if you decide you do not want to import the BackTrack DishingTech Edition mentioned previously:

Where to download the ISO
http://www.backtrack-linux.org/downloads/


Install BackTrack (Watch: 3:40 - 6:40)


Install Parallels Tools (Watch: 8:58 - 9:58)
• Requires internet to get the latest version
• Load prl-tools-lin.iso in BackTrack
• Double Click Parallels Tools icon
• Open Terminal
• Type cd /media/cdrom/ (enter)
• Drag install file into Terminal (enter)


Startup Commands (Watch: 7:20 - 7:29
• root, toor, startx


Install Synaptic Package Manager (Watch: 10:55 - 14:35)
• Open Terminal
• Type apt-get install synaptic (enter)
• After installation go to System -> Administration -> Synaptic Package Manager


How to Change Screen / Monitor Resolution (Watch: 3:21 - 3:40)

1.2 Hardware
An aircrack-ng compatible wireless device (I suggest something with the Realtek RTL8187L chipset). Read here for more info about compatibility. The 8187L is quite old, but it is the best all rounder in terms of range and hacking ability. It is also really easy to setup.

I am more inclined to rate directional antennas more as they can access networks further away. But they are not the most mobile devices. Omni directional antennas have a circular radius range. This paper explains the differences. These are the models I really like, from research and personal use, I suggest the ALFA. Power ranges from 500mW to 2000mW which helps with range. You could also make your own setup with an aftermarket antenna (e.g. TP-Link 2.4GHz 24dBi TL-ANT2424B) or homemade cantenna. Antennas and models are very interchangeable. So you can create your own setup.


1.2 What Devices I Use
  • UBDo-gt5 802.11b/g Long-Range Outdoor USB AP/CPE with Integrated 12dBi 2.4GHz Antenna 
  • AWUS036H 1000mW Includes 5dBi, 7dbi or 9dbi Omni Directional 

1.3 My Ultimate Dream Setup | Fixed System
1km - 2.5km range (direct line of sight). Only for accessing not for hacking, aircrack-ng drivers not available yet:
  • AWUS036NHR 2000mW 802.11b/g/New chipset model RTL8188RU (33dBm) with
1.4 Other Possible Setups
  • Chipsets (If you are really keen, you could buy just the chipset and build your own case and attach your own antenna)
  • AWUS051NH 802.11a/b/g/n Ralink RT2770 RT2750 (27dBm)
3 How to Install the BackTrack VM

Step 1: Install UnrarX or WinRAR (if you do not have one of them installed already)

Step 2: Have all the parts into the same folder, click BackTrack.pvm.part01.rar



Step 3: Click password and add the dishingtech password. Then click extract (will take awhile, be patient it will work)


Step 4: Move extracted files to a folder


Step 5: Add Existing Virtual Machine


Step 6: Locate config.pvs


Step 7: You are ready, only if you have 8GB installed if not go to Step 8



Step 8: Right click to configure VM



Step 9: Change Memory setting to about half of what you have installed


Step 10: Type in root (click enter) then type the password toor (click enter)

4 Next
So after you have installed the VM you are ready to get hacking. Check, youtube for videos on Minidwep, Reaver, Aircrack-ng and FeedingBottle to see how they work.
    5 What you need to know
    Default BackTrack boot login details are as follows:
    • name = root
    • password = toor
    • type startx to get into BackTrack
    If not using the VM provided or are using an alternative method, you can save some time through adding startx command to the boot sequence.


    So what extra time saving features and updates will you get, that you can't get from the freely available download?
    • Everything accessible on the desktop
    • Custom build for WEP / WPA / WPS cracking, especially with Realtek RTL8187L interface (other cards should work too)  
    • No need to install BackTrack on Parallels, just open.
    • Parallels VM Image
    • Easy to use scripts with helpful prompts, minimal typing required to hack WEP networks
    • Link to kismet.conf file on desktop
    • Helpful document to hack networks manually (simple copy and paste into terminal)
    • Macchanger GUI App (Able to change your MAC Address)
    5.1 Automated scripts


    These scripts are on the desktop of BackTrack DishingTech Edition. However, if you installed the original ISO you can download / copy commands here manually. If scripts do not work, try pasting and pushing enter for each command in terminal one at a time. Especially for the alternative mode. 
    When entering or understanding variables in the scripts:
    • BSSID is the MAC address, they are a mix of numbers of letters e.g. 00:32:13:A3:9C. Your wifi card and the network you want to hack has these numbers.
    • ESSID is the network name e.g. dishingtech
    • CH is channel (e.g. frequency the network is running at between 1-14, typically 11 or 6)
    • ENC is encryption (e.g. WEP, WPA)
    • PWR is signal strength in dbm, lower the number, stronger the signal
    • Beacons are essentially traffic from the network to your wifi card
    • Data is the IVs for the capture files .cap, many of these are needed between (20,000 to 200,000+ to hack the wifi network). This is done automatically every 5000 IVs when you run the script.
    • Interface = where your card is located  (e.g. wlan0 or mon0)
    5.2 Handy tips
    • To pause a script running, e.g. network scan push spacebar, to rerun click spacebar again
    • Parallels Tools and VM Tools, makes life easier. It allows you to copy and paste, drag and drop files and access drives between machines, as well as other cool things
    • Copy in terminal is ctrl + c
    • Paste in terminal is shift + control + v
    • Open new tab in terminal is shift + control + t
    • Be patient, if you are along way from the device (I suggest somewhere between 80 - 100% signal strength is ideal), or there is not much traffic on the other end, or if they use 104-bit key (aka 128-bit) it can take awhile.
    • Try running a network scan with Kismac (you will have to disconnect your device in the VM to use Kismac on Mac) or the Network-SCAN script. Then move the antenna to closer or in the direction of the device you want to hack and watch the PWR, lower the number = higher signal strength. 
    If you have Backtrack, Ubuntu or linux already installed are just wanting the automated scripts listed above, you can download that here.


    But you might have place the folder on the desktop to set permissions first for all the files with this script.

    6 Backtrack-linux.org tested and working cards   


    Backtrack-linux.org were able to test the following cards using compat-wireless drivers. This list is a little outdated and a significant number of other cards would pass these tests, also the ones that failed, may work now with driver / BackTrack updates. Note that "passed" means "passed an aireplay -9" injection test:


    • AWUS036H (rtl8187, r8187) - both mac80211 and IEEE drivers - passed
    • AWUS036NH (Ralink RT2870/3070) - using the mac80211 rt2x00usb drivers - passed
    • BCM4312 802.11b/g LP-PHY (rev 01) - using the mac80211 b43, works well - passed
    • Rockland N3 - (Ralink RT2870/3070) - using the mac80211 rt2x00usb drivers - passed
    • Edimax EW-7318USG USB - (Ralink RT2501/RT2573) - using the mac80211 rt2500usb/rt73usb drivers - passed 
    • ASUSTek Computer, Inc. RT2573 - using the mac80211 rt2500usb/rt73usb drivers - passed
    • Linksys WUSB54GC ver 3 - using the mac80211 rt2800usb drivers - passed
    • Ubiquiti SRC - using the mac80211 ath9k drivers - passed
    • Internal Intel Corporation PRO/Wireless 3945ABG - using the mac80211 iwl3945 drivers - passed
    • Dlink WNA-2330 PCMCIA - using the mac80211 ath5k drivers-passed
    • Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) - using the mac80211 ath9k drivers - passed
    • Netgear wg111v2 - using the mac80211 rtl8187 drivers - passed
    • ZyXEL AG-225H v2 - using the mac80211 zd1211 drivers - passed
    • Intel 4956/5xxx - using the iwlagn drivers - passed

    Working, without injection
    • Broadcom Corporation BCM4321 802.11a/b/g/n (rev 03)
    • Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)


    NON working cards
    • D-Link DWL-122 - using the mac80211 prism2_usb drivers - fail
    • Linksys WUSB600N v2 - using the mac80211 rt2800usb drivers - fail
    • AWUS051NH - fail

    Other methods to install BackTrack 5:
    • Or download other VM software:
    I hope you fell in love with this virtual machine, feel free to facebook share, tweet, blogpost, forum post this article with others. Any questions or suggestions, please feel free to comment below.

    52 comments:

    1. With Parallels 7 on Mac OS 10.7.2, I get a message at the bottom of my BackTrack 5 GNOME 64 Bit Virtual Machine window, next to the shutdown button: 'Parallels Tools are outdated. Please reinstall the manually.' If I stop the BackTrack VM and start the Windows 7 VM, this message doesn't appear in the Windows 7 Parallels Desktop window. Do I need to take any action? Thanks.

      ReplyDelete
    2. Parallels Tools gets installed on the guest machine. Each virtual machine has it's own 'tools'. It is a good idea to keep these tools updated as it increases performance and fixes the bugs. To update to the latest parallels tools: 

      Start a terminal in your Ubuntu virtual machine. Type the following command to gain the root privileges:
      su
      Change the directory to the CD/DVD drive directory using
      cd /media/Parallels\ Tools/
      In the CD/DVD drive directory, enter the following command to launch Parallels Tools installation:./installI will create a new tutorial soon for apt-get update.

      ReplyDelete
    3. FileServe can only be used to download and retrieve files that you have uploaded personally. If this file belongs to you, please login to download it directly from your file manager.

      Am I missing something here?  This would be a good torrent :P

      ReplyDelete
    4. oh those assholes changed it without telling us. I am on limited bandwidth and I am not prepared to spend too much uploading a torrent. I will reupload this with another direct file host within a week, probably RSS subscribe to this page so you will be informed when the new downloads will be available.

      ReplyDelete
    5. Thanks for sharing!

      ReplyDelete
    6. So waiting for the new download link :) please soon :P YOU ROCK!

      ReplyDelete
    7. Ah, I think you are hinting I should use Mediafire, why do people fake email addresses here, you won't get a notification to say that I replied. I updated to Backtrack 5r2 and it rendered my virtual machine useless. So I am going to try to install then upload a BackTrack 5r2 torrent with Reaver :)

      ReplyDelete
    8. Hey guys, progress! I am currently downloading BackTrack R2 @Mediafirerocks  @Guest @b6aa4110b4de61b542c1ac9e4a822344 @GreyHatBrat . It is a Knome 32 bit version. Unfortunitly my BT R2 update ruined my VM. I should have a new Vmware and Parallels image tomorrow night :) I will install Reaver GUI and WiFite as well among all that is mentioned above. Thank you for your patience :)

      ReplyDelete
    9. Links are up with 10 different file hosts :)

      ReplyDelete
    10. Links are up with 10 different file hosts :)

      ReplyDelete
    11. Installed. Can connect to internet using the wired and the wireless adapters (my wireless is Alfa 036h) but no one is recognised by airmon-ng and i can't use applications.
      Tried all configurations and i can see all my net adapters in configuration but in Backtrak no one works.

      ReplyDelete
    12. I have an Alfa UB-gt5 which uses the same chipset: rtl8187L. I can see all the networks with a WICD Network Scan. Haven't tried to connect to a network but I am able to use Minidwep, Macchanger, WPSCrackGUI. Injection, monitor / managed mode all working.

      I think I know what you mean, I tried to connect to a network in BackTrack and it rejected the WEP password even though the password was correct.

      You can't exactly connect to the internet and use the packages all willy nilly. I have an rtl8188RU (drivers are rtl8192CU) on Mac, then I can bridge it. For instance, right click on Parallels Desktop icon (if on Mac) -> Devices -> Network -> Bridged Network -> AWUS036NHR. Or you can try seeing if the shared network setting works. Then I can use my rtl8187L in BackTrack (not to connect to the internet though!) for when I need to use it. You might be using LAN though. If you try to play around with those settings I think it should work.

      ReplyDelete
    13. Hello there, You've performed an excellent job. I will definitely digg it and in my opinion suggest to my friends. I am sure they will be benefited from this website.
      My web site :: handy ├╝berwachung software findet man hier

      ReplyDelete
    14. i did all the steps but it wont load, i just get "error: ELF header smaller than expected. grub rescue>" what do i do?

      ReplyDelete
    15. Out of the 532 people that have downloaded and presumably installed it, this is the first time I have become aware of this error. Are you trying to install this on a USB drive? That would explain a lot. This article may help you: http://www.infosecramblings.com/backtrack/backtrack-4-usbpersistent-changesnessus/

      ReplyDelete
    16. I just discovered something that will hopefully save someone else a lot of wasted time... You have to have Parallels 7.0.15054 or higher to update Parallels Tools. The first time i tried it, i was running 7.0.14 and my virtual machine would no longer bootup due to the failed parallels tools install. It kept saying there were no screens found, and there were errors relating to the networking, as well as input devices. 

      I had to edit the X11 config file and remove all references to Parallels from it in order for my virtual machine to boot.You can edit it using the following command:
      vi /etc/X11/xorg.confOnce you've loaded up VI, find each line and press DD (the d key twice) to delete an entire line. Once you've deleted all references to Parallels, press escape then type :wq to write your changes and quitNow you can type startx and actually load the GUI.

      ReplyDelete
    17. Thank you for that information, much appreciated. When I made the VM I installed Parallels Tools. Guess I probably should not have.

      ReplyDelete
    18. Excellent!, thanks a lot, i have a macbook pro and parallels (the best i think) is there a way to use the internal macbook pro wifi? 

      ReplyDelete
    19. That is a limitation of Apple Airports, although I think KisMAC has drivers installed, it does scan but I am not sure if it can hack networks.

      ReplyDelete
    20. I have an early 2011 Macbook Pro. After following the instructions above and installing everything, will I be able to use the Macbook Pro's internal wifi to hack networks? If not, I was looking at getting one of the adapters you mentioned above.

      Out of the AWUS036H, AWUS036NH, AWUS036NHR, which is the best one to purchase to date? I'm looking for the most simple plug n play solution. The area I will be using it is outdoors where my Macbook Pro is currently only picking up 1 weak signal. After reading your post, I assume the NHR is the best for long range but it is not easy to setup yet?

      Please respond and let me know, I will greatly appreciate it, and thanks for your wonderful post and all in one package you created for us noobs :P

      ReplyDelete
    21. Hi,
      I'm running a hackintosh on the HP ProBook 4530s and I have a supported card. But BackTrack 5 in Parallels is not detecting the card.

      Is there any way to make the internal card available to the virtual machine?

      ReplyDelete
    22. Internal cards do not work with virtualisation.

      ReplyDelete
    23. Any idea why the VM wouldn't start?  I'm running the latest version of Parallels on OSX Lion.  I followed all the steps but for some reason when I click to launch the Backtrack VM, it starts, runs about two lines of the bootstrap and then immediately kicks me back into the "Grey Backtrack 5 R2 Click to Start" screen.

      It shuts down VERY fast but it looks like the line it stops on says something to the effect of "Trying to boot from primary IDE drive..."

      ReplyDelete
    24.  I tried unpacking the downloads again, and reimporting the VW.  No dice.  I also didn't notice any critical errors in the parallels log.   It seems as if the VM process simply ends.

      ReplyDelete
    25. This is really strange behaviour. The correct drive / location is IDE 0:0 and it is a expanding disk (you might want to check those). Seems like there might be a file missing or misplaced. You should have BackTrack 5 R2-0.hdd, config.pvs, config.pvs.backup, parallel.txt, parallels.log, statistic.log and vmInfo.pvi as well as a snapshots folder. In the hdd folder: BackTrack 5 R2-0.hdd.0.{5fbaabe3-6958-40ff-92a7-860e329aab41}.hds, BackTrack 5 R2-0.hdd.drh, DiskDescriptor.xml, DiskDescriptor.xml.Backup

      ReplyDelete
    26. Everything looks in place.  Interesting to note is that the official BackTrack build from their website fails also.  It allows me to boot to the BackTrack Live CD startup screen however as soon as I choose any option, it runs a few commands and then boots me out like your VM.  Very strange. 

      ReplyDelete
    27. If I run the official BackTrack r5 build in Safe Mode this error gets displayed: PANIC: early exception 0d rip fffffffff.... error 0 cr2

      ReplyDelete
    28. I am running the latest, although I did not use the latest build when I created the VM (this caused problems for some). I created a Windows 3.1.1 image in PD 6. Many people who try to import it into PD 7 fails. However, I can still run it in PD 7. For this reason I think VMs get automatically upgraded to be compatible with PD 7 (and the latest build) when you install it. That is my theory. Do you have an older version of PD 7 you can try? Something like 7.0.15054, install BackTrack or the VM, then upgrade to the latest. I am using Lion as well and I do not have any issues. Another option might be to use AppZapper to clean out your install, maybe there is something wrong with your PD7 0_o. It also might be a good idea to run Cleanmymac and fix permissions using Disk Utility.

      ReplyDelete
    29. one more Q. Are you using an AMD processor or hackintosh for this?

      ReplyDelete
    30. Thanks.  I'll try all of those things you mention.  I'm running PD7 on a two week old MBA Intel i7.

      ReplyDelete
    31. My initial attempt was actually on 7.0.15054.  In hopes of finding a solution, I uninstalled and pulled down the latest from the Parallels website.

      ReplyDelete
    32. hey  pls pls pls begging you how come wwhen i right click on my backtrack 5 there is no parallels folder help pls mine is windows 7 help

      ReplyDelete
    33. No need to beg, just ask. You will need to install parallels tools and setup shared folders. I think that is your problem. If not. Please upload a screenshot so I can see your issues clearly

      ReplyDelete
    34. I have the some error. You own one of the Mid-2012 Macbooks, don't you? If so, your problem is also statet here: http://forum.parallels.com/showthread.php?t=260397. Parallels doesn't seem to work with the Ivy Bridge CPUs. There is no fix yet.
      However, installing BackTrack 5 R1 worked for me. I guess you have to live with it until they fix Parallels.

      ReplyDelete
    35. Did you try this? http://forum.parallels.com/showpost.php?p=628141&postcount=9 It is possible that the SMEP (Supervisor Mode Execution Protection) of the new MBP is a source of the problem.

      ReplyDelete
    36. I will try that when I find the time. Maybe it's even fixed until then. R1 is enough for what I need for now :)

      ReplyDelete
    37. Hey Ryan, I have the same problem. Did you find a fix?

      ReplyDelete
    38. Need help sir...
      I installed BTR2 on VMware....I had problem with reaver which is, nothing happened after i type reaver -i mon0 -b BSSID -vv....what i get is this messages 

      [+] Switching mon0 to channel 1
      [+]Waiting for beacon from (BSSID)
      [+]Associated with BSSID (ESSID:xxxx) <---this where the things stopped..i've waited for hours, nothing happen...

      Where did i go wrong?Did i need to set up something on BTR2 as this is the 1st time i install it...i test aircrack-ng, and my card support injection...please help sir...

      ReplyDelete
    39. I am aware that your card is supported, but did your card pass an injection test? aireplay-ng -9 mon0 What card is it? I suspect that you are too far from the AP. Alternatively you can download Reaver Pro: http://xiaopan.co/forums/threads/reaver-pro-free-download-available.136/ 

      ReplyDelete
    40. how to install and download 
      paralels virtual machines 

      ReplyDelete
    41. how do you get chrome os and windows 7

      ReplyDelete
    42. hi
      i desperately need help. i did everything you said but parallels won't load on my laptop it starts but when it starts booting the vm turns off.

      thanks

      ReplyDelete
    43. When I try to extract the files it doesn't accept the password.

      ReplyDelete
    44. make sure the parts are named consistently: http://xiaopan.co/forums/threads/backtrack-5-r2-parallels-image-dishingtech-edition.76/

      ReplyDelete
    45. I have a question... well maybe either a large question or perhaps a few small ones.. lol anyways.. Here is what my dilemma is: I will post my system here and I just want to know if it will be compatible with baktrak 5 at all: I wanted to ask before I go attempting anything. Not exactly a n00b, but I do have exp. Also, with this install, is it possible to boot the VM with out a disk, usb(?)? Or can I import it from my current hard drive? P.S. I was down under when I was in the United States Marine Corp.... Looooovvvvvveeeeeddd IT!!!! in any respect, reply's soon welcomed...... Patiently Waiting.......

      Windows 7 Home Premium

      Sevice Pack 1

      System:

      Toshiba

      Model: Satellite c655D

      Processor: AMD E-300 APU with Radeon(tm) HD Graphics 1.30GHz

      RAM: 4.00 GB (3.60 GB Usable)

      System Type: 64-bit Operating System

      Need more info, just email or post.... thanks.

      P.S. Hard drive has 284 GB total with 240 GB Free... Space not issue. ;)

      GREAT Vid!!!

      ReplyDelete
    46. hieee ,
      Alpha wireless card is nt available in mah country can you please suggest me some other card?

      Thank you

      ReplyDelete
    47. Hello again!, i finally get the AWUS036NHR and a new macbook retina 13", if i download this for my parallels i can upgrade all the tools?, i mean on this VM i can update reaver pro and other stuff like R3 or i will miss some stuff from KALI ?

      ReplyDelete
    48. i have AWUS036NHR, run vm on parallel and nothing cant make it work only show an mac error on firts run, i cant use the AWUS036NHR no idea what to do

      ReplyDelete
    49. Thanks for the upload. But I have one Question.How I can make an iso file????
      I really hate VM´s!

      ReplyDelete
    50. Hi, I was wondering if you can upload to youtube the video on how to install backtrack 5 r2 please. Im stuck on the install on parallel tools and i don't know what do to.

      Thanks
      Eran

      ReplyDelete

    Related Posts Plugin for WordPress, Blogger...