.

BackTrack VM

<<

yatz

Full Member
Full Member

Posts: 222

Joined: Tue May 25, 2010 2:58 pm

Post Tue May 25, 2010 3:12 pm

BackTrack VM

Hello all, long time reader but never posted before.

I'm in the process of trying to prove a colleague that WEP is about the worst business risk in history, but I ran into a problem trying to crack a WEP key using a BackTrack VM.

Is it possible to access the wlan device from within the VM?  From what I can tell, the VM tools act kind of like an adapter and only contain an interface to a physical ethernet device.  Mapping the wireless device to a VM adapter shows up only as standard ethernet (ie. no monitor mode...).

I've tried this on VirtualPC, VMware and VirtualBox.

Thanks!
yatz
"Live as though you would die tomorrow, learn as though you would live forever."

CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
<<

hayabusa

User avatar

Hero Member
Hero Member

Posts: 1662

Joined: Mon Jan 29, 2007 2:59 pm

Post Tue May 25, 2010 3:41 pm

Re: BackTrack VM

VM's and wireless often don't mix properly, because the VM's treat network interfaces as generic ethernet ones.  Once upon a time, quite some time back, I think I managed to get a USB wireless working under a VM (VMWare) but decided it wasn't worth the trouble to keep fighting with it, so instead, I booted the laptop to the BackTrack bootable cd, and loaded my wireless there, instead of inside a VM.
~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
<<

Ketchup

User avatar

Hero Member
Hero Member

Posts: 1021

Joined: Fri Jul 04, 2008 7:44 pm

Location: Philadelphia, PA

Post Tue May 25, 2010 4:44 pm

Re: BackTrack VM

I definitely had a wifi USB dongle working in VmWare at one point.  I was still using VmWare Server 1.x then.  I don't believe that you will have much luck with built-in adapters in VmWare though.
~~~~~~~~~~~~~~
Ketchup
<<

rattis

User avatar

Hero Member
Hero Member

Posts: 1172

Joined: Mon Jul 27, 2009 1:25 pm

Post Tue May 25, 2010 10:29 pm

Re: BackTrack VM

Virtualiztion doesn't care what kind of network card it is, it only cares that it's a network card. So it passes it through that way.

BillV and I have bought different versions of these: http://www.amazon.com/802-11b-Wireless- ... B002BFMZR8. I know it works with the Live CD. From what I understand I should be able to get it to work with the Virtual. I'm not sure how Billv got his working. (We had an off forum conversation about them).

Dale Pearson got the same device to work with a Bootable Backtrack USB stick.
OSWP, Sec+
<<

dynamik

Recruiters
Recruiters

Posts: 1119

Joined: Sun Nov 09, 2008 11:00 am

Location: Mile High City

Post Tue May 25, 2010 10:44 pm

Re: BackTrack VM

I'm not sure what virtualization packages you're having problems with, but USB pass-through works very well in VMware Workstation 7.

Here's the new revision of that adapter that some of us have been purchasing (I haven't really had a chance to play with it yet): http://www.amazon.com/High-Gain-Long-Ra ... RJ4R1QKAS2

If you're just looking for network connectivity, the physical hardware won't matter for a VM. However, if you're trying to work specifically with wireless (i.e. injection), you're going to need to have the adapter appear as a wireless connection in the VM.
The day you stop learning is the day you start becoming obsolete.
<<

mambru

Jr. Member
Jr. Member

Posts: 98

Joined: Wed Jun 03, 2009 3:11 pm

Post Tue May 25, 2010 11:51 pm

Re: BackTrack VM

We conduct our wireless pentests using Backtrack 4 running on VMWare Workstation 7 and the wireless adapter that chrisj and dynamik mention, and we have no problems at all with them, it runs smoothly.
<<

yatz

Full Member
Full Member

Posts: 222

Joined: Tue May 25, 2010 2:58 pm

Post Wed May 26, 2010 7:47 am

Re: BackTrack VM

dynamik wrote:If you're just looking for network connectivity, the physical hardware won't matter for a VM. However, if you're trying to work specifically with wireless (i.e. injection), you're going to need to have the adapter appear as a wireless connection in the VM.


Yeah, that's what I think my problem is.  Right now I'm just trying to crack a WEP key, which will require having the adapter show up as a wireless device in the VM, as you say.  If I can get this working, then I won't need another computer and can set up a mini lab on my primary box.

I have tested other network-based exploits like MS08-067 and a few browser-based ones, but the wireless attacks are more challenging (if not impossible) if you can't switch to monitor mode.


mambru wrote:We conduct our wireless pentests using Backtrack 4 running on VMWare Workstation 7 and the wireless adapter that chrisj and dynamik mention, and we have no problems at all with them, it runs smoothly.


This looks promising, but I don't know why a specific wireless device should matter since the VM layer sits in between.  I suppose as a USB device the association can be directed strictly to the VM which can't be done with integrated or PCMCIA cards... Does this sound right?  If so, then any USB wireless card should work, so long as you have the right driver and the hypervisor supports USB passthrough.


hayabusa wrote:it wasn't worth the trouble to keep fighting with it


I may want a dedicated box anyway for the reason you say, hayabusa.  I was trying to avoid scrounging one up though since the ones we have lying around are lying around for a reason...
"Live as though you would die tomorrow, learn as though you would live forever."

CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
<<

rattis

User avatar

Hero Member
Hero Member

Posts: 1172

Joined: Mon Jul 27, 2009 1:25 pm

Post Wed May 26, 2010 9:18 am

Re: BackTrack VM

dynamik wrote:Here's the new revision of that adapter that some of us have been purchasing (I haven't really had a chance to play with it yet): http://www.amazon.com/High-Gain-Long-Ra ... RJ4R1QKAS2


from what I've read, the 2000mw one is using a different chip set, and I don't think it supports injection yet. I was going to get that one, until I heard it had a new chip set, and if I recall, it wasn't on aircrack's list of good chip sets. (I could be wrong).

EDIT:
I did a quick look, looks like it's a mixed bag on injection. They're seems to be some instructions out there that will get it to work.
Last edited by rattis on Wed May 26, 2010 9:23 am, edited 1 time in total.
OSWP, Sec+
<<

yatz

Full Member
Full Member

Posts: 222

Joined: Tue May 25, 2010 2:58 pm

Post Wed May 26, 2010 10:21 am

Re: BackTrack VM

This might be a good time to ask what exactly you mean by "injection."  Is this referring to a MITM scenario or something more basic?
"Live as though you would die tomorrow, learn as though you would live forever."

CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
<<

rattis

User avatar

Hero Member
Hero Member

Posts: 1172

Joined: Mon Jul 27, 2009 1:25 pm

Post Wed May 26, 2010 10:53 am

Re: BackTrack VM

yatz wrote:This might be a good time to ask what exactly you mean by "injection."  Is this referring to a MITM scenario or something more basic?


Packet injection, and I maybe wrong since I'm just learning about it, is injecting packets into a wifi connection. Usually used to cause de-authentication so you can generate the right kind of traffic needed to break the keys.

This link should give you a rough idea.
http://en.wikipedia.org/wiki/Wireless_s ... _injection

This link gives a description and how to do it (with the card I have in my laptop)
http://www.ubuntugeek.com/how-to-enable ... -card.html
Last edited by rattis on Wed May 26, 2010 10:55 am, edited 1 time in total.
OSWP, Sec+
<<

Beckman11

User avatar

Newbie
Newbie

Posts: 19

Joined: Tue May 04, 2010 2:38 pm

Post Wed May 26, 2010 12:37 pm

Re: BackTrack VM

I am working on trying to get my usb wireless card to show up in vmware.  Actually I have tried other usb devices and have not been successful with any devices and as far as I know the settings are right to detect usb. Any help would be greatly appreciated as this is keeping me from learning different pen-testing things I need to know.  I am running the latest vmware server (http://www.vmware.com/products/server/).  Ideas???
Security+
<<

yatz

Full Member
Full Member

Posts: 222

Joined: Tue May 25, 2010 2:58 pm

Post Wed May 26, 2010 1:31 pm

Re: BackTrack VM

What is the guest OS you are using?
"Live as though you would die tomorrow, learn as though you would live forever."

CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
<<

Beckman11

User avatar

Newbie
Newbie

Posts: 19

Joined: Tue May 04, 2010 2:38 pm

Post Wed May 26, 2010 1:53 pm

Re: BackTrack VM

yatz wrote:What is the guest OS you are using?


I am using BT4
Security+
<<

rattis

User avatar

Hero Member
Hero Member

Posts: 1172

Joined: Mon Jul 27, 2009 1:25 pm

Post Wed May 26, 2010 1:57 pm

Re: BackTrack VM

Beckman11 wrote:I am working on trying to get my usb wireless card to show up in vmware.  Actually I have tried other usb devices and have not been successful with any devices and as far as I know the settings are right to detect usb. Any help would be greatly appreciated as this is keeping me from learning different pen-testing things I need to know.  I am running the latest vmware server (http://www.vmware.com/products/server/).  Ideas???


Just to dot all the I's. did you install the vwmare tools for the guest?
OSWP, Sec+
<<

yatz

Full Member
Full Member

Posts: 222

Joined: Tue May 25, 2010 2:58 pm

Post Wed May 26, 2010 3:05 pm

Re: BackTrack VM

Oh and one other thing, the USB device can only associate to one device at a time, so it cannot be active in the host if you want it to be used in the guest.  It may be a minor point, but something to keep in mind.
"Live as though you would die tomorrow, learn as though you would live forever."

CCNA, MCSA, MCTS, Sec+, Net+, Linux+, CEH
Next

Return to Wireless

Who is online

Users browsing this forum: No registered users and 1 guest

.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software