How to do it...

We will now connect to a Windows machine and elevate that connection to a privileged level:

  1. Validate the IP addresses of your Kali box and your Windows machine—you should have interfaces on both of your host-only networks on both boxes. In my case, my Kali VM is and my Windows XP VM is
  2. Let's ensure we have NetBIOS over TCP enabled in Windows XP. Log in to your Windows XP VM as an administrator and click on Start | Control Panel | Network Connections.
  1. Right-click on your Local Area Connection and click on Properties:
Windows network connection screen
  1. Click on the Advanced button in the bottom ...

Get Kali Linux Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.