Menu

Instalasi Kali Linux di Windows (WSL)

  • Open PowerShell as administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  • Restart
  • Open PowerShell as administrator and run:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
  • Restart
  • Download and install the WSL2 Linux Kernel from here: https://aka.ms/wsl2kernel
  • Open PowerShell as administrator and run: wsl --set-default-version 2
  • Install Kali Linux from the Microsoft Store Note: to upgrade an existing WSL1 kali-linux installation, type: wsl --set-version kali-linux 2
  • Run Kali and finish the initial setup

Install Win-KeX

  • Install win-kex via:
kali@kali:~$ sudo apt update
kali@kali:~$
kali@kali:~$ sudo apt install -y kali-win-kex

Run Win-KeX

Win-KeX supports three modes:

  • Window Mode: To start Win-KeX in Window mode with sound support, run kex --win -s Refer to the Win-KeX Win usage documentation for further information.
  • Enhanced Session Mode:
  • To start Win-KeX in Enhanced Session Mode with sound support and arm workaround, run kex --esm --ip -s Refer to the Win-KeX ESM usage documentation for further information.
  • Seamless mode: To start Win-KeX in Seamless mode with sound support, run kex --sl -s Refer to the Win-KeX SL usage documentation for further information.