May 26, 2017, 03:40:16 PM
Welcome, Guest. Please login or register.

The user's going to pick dancing pigs over security every time. -- Bruce Schneier

Author Topic: Wireless attacks with a VM  (Read 2275 times)

Offline 3therk1ll

  • *CWSP Certified*
  • Elite
  • *******
  • Posts: 579
  • Internets: +12/-1
  • Try, fail, learn, repeat
Wireless attacks with a VM
« on: March 02, 2013, 04:23:20 AM »
Hey guys,

having some trouble connecting my Alfa card to BT5 on a VM.
On holiday at the moment and I left my main BT5 OS laptop at home, I have it installed as VM in VirtualBox but when I do an ifconfig I can't see the wlan0 interface.
I tried /etc/init.d/networking restart/start but still nothing.
So far I've set the wireless to bridged and allowed promiscuous mode in the VB options but can't get any interaction with the wireless card via BT5.

Also tried to select the Alfa card via the USB devices option in VB and got this error:

Failed to attach the USB device Manufacturer_Realtek_RTL8187_ RTL8187_Wireless [0100] to the virtual machine BT5 R3.

USB device 'Manufacturer_Realtek_RTL8187_ RTL8187_Wireless' with UUID {0f26432b-d199-4319-a104-58767ff22633} is busy with a previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057)
Component: HostUSBDevice
Interface: IHostUSBDevice {173b4b44-d268-4334-a00d-b6521c9a740a}
Callee: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}

Running VB in Windows 7
Backtrack 5 R3 Gnome 32

Even when I check that Windows isn't using the card I get the same error.
Any ideas?

Every time [some software engineer] says, �Nobody will go to the trouble of doing that,� there�s some kid in Finland who will go to the trouble.

� Alex Mayfield

Offline THR4SH3R

  • Top Hat Member Moderator
  • Elite
  • ********
  • Posts: 555
  • Internets: +7/-1
  • Social what?
Re: Wireless attacks with a VM
« Reply #1 on: March 02, 2013, 03:13:39 PM »
What's up 3therk1ll ...

Have you tried bringing the card up through the terminal? Ex. ( ifconfig wlan0 up )
By looking at the error, you might just be plugging the Alfa Card in a USB 3.0 slot. VirtualBox is not compatible w/ USB 3.0 devices from what I understand. Check this video out. It might help you.

http://www.youtube.com/watch?v=clRN_JX7rCA

Good Luck & Be Easy Man!
The Only System That Cannot Be Exploited, Is The System That Does Not Exist.

Offline n1tr0g3n

  • Super Elite
  • ******
  • Posts: 4734
  • Internets: +63/-2
  • MCSA, MCP, MCTS, DCSE, CE/H, ACSP, N+,A+, CWSP
    • n1tr0g3n Information Security Blog
Re: Wireless attacks with a VM
« Reply #2 on: March 02, 2013, 09:43:09 PM »
Yeah THR4SH3R is on point and also make sure you have the wireless drivers installed for the Alfa card on Windows and you are not using a USB hub.
"It's mind over matter, If you don't have a mind then it doesn't matter

Youtube  Channnel
http://www.youtube.com/user/n1tr0g3n0x1d3
Twitter  https://twitter.com/n1tr0g3n_com
http://www.n1tr0g3n.com  
http://teamctfu.weebly.com/

Offline 3therk1ll

  • *CWSP Certified*
  • Elite
  • *******
  • Posts: 579
  • Internets: +12/-1
  • Try, fail, learn, repeat
Re: Wireless attacks with a VM
« Reply #3 on: March 06, 2013, 12:06:49 AM »
Couldn't get it to work with the VM, either by bringing up the interface or changing USB slots, I believe all mine are 3.0 rather than 2.0.
It worked fine as a live boot however.
I've bought a USB 2.0 adapter and will try that later today and post results.
Wait out
Every time [some software engineer] says, �Nobody will go to the trouble of doing that,� there�s some kid in Finland who will go to the trouble.

� Alex Mayfield

Offline Malachai

  • Top Hat Member
  • Super Elite
  • ********
  • Posts: 2800
  • Internets: +18/-7
  • #!/bin/sh Day/Night (Grey Hat)
Re: Wireless attacks with a VM
« Reply #4 on: March 06, 2013, 09:16:45 AM »
Try to load the usb device on your host machine first. Make sure it works there first then try virutalbox.

That's how i seen it works fine.
** Dont' judge me! **

*//
  Hope that Firewall works because your SCREWED  
  //*