Building your Kali-Windows VM Without WSL

Are you a fan of the powerful tools that Kali Linux offers but prefer working in a Windows environment? In this tutorial, I’ll guide you step-by-step on how to create a Windows VM with all the tools you need for ethical hacking and cybersecurity research. By the end, you’ll have your own Windows-based virtual machine, loaded with tools such as Metasploit, Nmap, Wireshark, and many others—transforming it into a powerhouse similar to Kali Linux.

Why Build a Kali Windows VM?

Kali Linux is often seen as the go-to operating system for penetration testers and ethical hackers due to its wide range of built-in security tools. However, some people prefer the familiarity and compatibility of the Windows environment. By creating a Kali-like Windows VM, you can enjoy the best of both worlds: the usability of Windows combined with the powerful toolset available in Kali.

This guide is perfect for penetration testers, security researchers, and ethical hackers who want to create a Windows lab to perform their testing in a Windows-native environment.

Tools You’ll Be Installing:

  • Metasploit: For penetration testing and vulnerability scanning.
  • Nmap: A powerful network scanning tool.
  • Wireshark: Network packet analyzer.
  • FlareVM: An open-source toolkit with an arsenal of tools specifically for malware analysis and reverse engineering.

Prerequisites

Before we begin, make sure you have the following:

Step-by-Step Guide to Building Your Kali Windows VM

Let’s get into the details. I’ll walk you through how to set up the environment, download the necessary tools, and configure everything to create your own hacking lab.

Step 1: Disable All Security Controls

To get started, you need to disable all Windows security controls (Windows Defender, firewall, etc.) to avoid any interference during tool installation. This is crucial because many of the tools we’ll be using may trigger security alerts.

Open PowerShell with administrative privileges and run the following command to disable all security controls:

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/jsonsec/WindowsSoftening/main/WinSoft.ps1'));

This script disables real-time protection and Windows firewall rules to ensure smooth installation and functioning of the tools. Remember to reenable Defensive controls and whitelist your tools directories

Step 2: Download and Install FlareVM

FlareVM is a fantastic package developed by Mandiant that will transform your Windows VM into a penetration testing and malware analysis workstation, much like Kali Linux.

Then download the FlareVM installer script using:

(New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1")

Next, unblock the downloaded script to ensure Windows can execute it:

Unblock-File .\install.ps1

Step 3: Install FlareVM

Now, run the FlareVM installation script:

.\install.ps1 -NoPassword

The installation process will download and install a variety of hacking and security tools automatically. It might take some time, so be patient. Once complete, you’ll have a robust Windows hacking environment!

Step 4: Be Patient

This takes quite a bit of time and your machine will reboot at least once during the set up process. Just keep an eye on it but go enjoy your day.

Final Thoughts

Creating a Kali-like Windows VM gives you the flexibility of Windows while maintaining access to essential ethical hacking and cybersecurity tools. This tutorial covered how to build a powerful Windows lab environment using FlareVM and other essential tools.

Once set up, your VM will serve as a versatile tool for penetration testing, security assessments, malware analysis, and more. Whether you’re a beginner or an experienced ethical hacker, this custom Windows VM will streamline your workflow and offer the best of both worlds.

Happy hacking!

Useful Links


This guide should help you create an effective Windows-based environment that mimics the capabilities of Kali Linux. Feel free to share your results or ask any questions if you run into issues along the way!

Posted in

Leave a comment