1

I want to install Kali Linux as a virtual machine in VirtualBox for pentesting wireless routers and network hosts. I want to hide my host OS, which is Windows 8, so that other machines see my computer as a Linux computer only.

What kind of network connection do I need to configure in the VM? Bridge adapter? How should I configure it to hide the host?

4
  • 1
    Hiding the host will involve some configuration in Windows. That part is off-topic here. Commented Feb 11, 2014 at 22:30
  • I think what you need is Bridged adapter. The virtual NIC is bridged to a physical NIC in this case. In this case, both the guest and host will be treated as separate machines in a network. \
    – Ramesh
    Commented Feb 11, 2014 at 22:33
  • 3
    You can't use a virtualised OS to do "Wifi pen-testing". VirtualBox will provide your Linux VM with a virtual WIRED adapter, no matter whether you bridge or NAT it.
    – tink
    Commented Feb 11, 2014 at 23:03
  • wifi + bridged something is a usually a no-go ( some details there networkengineering.stackexchange.com/questions/25100/… ). The only way is to have somehow the wifi device "passed through" to the VM so that it isn't visible/usable anymore on the host and thus does not involve any network handling by the hypervisor.
    – A.B
    Commented Mar 6, 2021 at 11:28

1 Answer 1

1

You need to change network type of host machine to Bridge and Virtual machine(Linux) to NAT.

Here is how to setup bridge network on host machine

Bridge on linux

or

Bridge on Windows

As mentioned here

NAT: Just like your home network with a wireless router, the VM will be assigned in a separate subnet, like 192.168.6.1 is your host computer, and VM is 192.168.6.3, then your VM can access outside network like your host, but no outside access to your VM directly, it's protected.

Bridged: Your VM will be in the same network as your host, if your host IP is 172.16.120.45 then your VM will be like 172.16.120.50. It can be accessed by all computers in your host network.

In this way only NAT will be visible in ip ranges unless you use Nmap to discover host

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .