![]() We will repeat these steps using standard Windows command line tools as a administrator. I will try my best to hone my articles over time. I wrote this article in the assumption that you have some pentesting experience, even academic-level (like Virtual Hacking Labs, TryHackMe, HackTheBox, and Offensive Security Proving Grounds), and that you are familiar with tools such as Metasploit and the Windows command line. I am a very busy person as I teach three online classes, maintain multiple GitHub Code Repositories and regularly compete in CTFs. I apologize if I do not document my steps very well or write in a manner that requires a bit of technical understanding. If you are using a Ubuntu 20.04 host and want to redirect Meterpreter shells to your attacking Kali Linux Machine from the LAN it would be as simple as sudo socat -v TCP4-L:443,reuseaddr,fork tcp4:192.168.122.50:8443 When you are done using Kali Linux it is best to shut down the xrdp server by running sudo /etc/init.d/xrdp stop at the Kali Linux prompt.This is a continuation of my previous WordPress Post on socat redirection proxies Click Use default config, and you are done.Log in with the Unix credentials setup in step 7.Once the xrdp server has started, open up Remote Desktop (mstsc) on your PC and connect to 127.0.0.1:3390 where 3390 is the port displayed in step 11.Run the following command and note the port number listed in the output. Now it is time to start up the xrdp server so that we can connect to the XFCE desktop manager using Remote Desktop.This step will take a very long time to execute and you will need to answer some questions about keyboard layout right in the middle. Execute the script downloaded by running the following.Run the following command to download the install script.Enter your password you created in the previous step when prompted and hit Y to proceed with the download and install. ![]() Run the following command to install wget which is a utility that can download files over HTTP. Now we need to setup the XFCE desktop manager but need to install some utilities first. ![]() Keep note of this information, you will need it to elevate your rights with sudo later and log into the desktop manager. This can be anything and does not need to match your Windows username and password. Once installed, it is time to setup your WSL username and password.On the first run, the install must complete. Alternatively, you can use the new Start menu shortcut or simply go to PowerShell or command prompt and type kali and hit Enter. Once installed, click the Launch button.Click the Get button to begin the download and install.Search for Kali Linux in the Microsoft App store app or click this link to open it directly. Copy and paste the following command and hit Enter to run it:Įnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux.If you already have WSL installed, skip steps 1-3. We need to install the WSL so right click on the Start Button and select Windows PowerShell (Admin).In this guide, I will walk you through installing the Windows System for Linux (WSL), Kali Linux, and configuring the XFCE desktop manager. In addition, it is possible to leverage the XFCE desktop manager for a more "native" Kali Linux experience. While there are some limitations, Kali Linux brings a lot of new command line utilities that will be very helpful to the right professional. ![]() The suite of security assessment and penetration tools can natively run on Windows 10 thanks to the work of the Windows system for Linux, also known as WSL. Attention security professionals and penetration testers, believe it or not, but Kali Linux is now available in the Microsoft App store for Windows 10.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |