<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>windows subsystem for linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/windows-subsystem-for-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 20 Nov 2020 19:55:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Use Windows 10 as a hacking system by installing Kali Linux</title>
		<link>https://www.osradar.com/use-windows-10-as-a-hacking-system-by-installing-kali-linux/</link>
					<comments>https://www.osradar.com/use-windows-10-as-a-hacking-system-by-installing-kali-linux/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 22 Nov 2020 22:44:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ethical hacking]]></category>
		<category><![CDATA[kalilinux]]></category>
		<category><![CDATA[windows subsystem for linux]]></category>
		<category><![CDATA[Windows Subsystem Linux]]></category>
		<category><![CDATA[WSL]]></category>
		<category><![CDATA[WSL2]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=25615</guid>

					<description><![CDATA[<p>Hello! Windows and GNU/Linux is a relationship that was previously similar to water and oil. In fact, the differences were so vast that it was impossible to think of any kind of compatibility. However, this has changed over the years. In fact, Microsoft&#8217;s approach to GNU/Linux has been such that they have even included the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/use-windows-10-as-a-hacking-system-by-installing-kali-linux/">Use Windows 10 as a hacking system by installing Kali Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Windows and GNU/Linux is a relationship that was previously similar to water and oil. In fact, the differences were so vast that it was impossible to think of any kind of compatibility. However, this has changed over the years. In fact, Microsoft&#8217;s approach to GNU/Linux has been such that they have even included the possibility of using Linux functions within the same Windows system. This is possible by means of Windows Subsystem for Linux (WSL), which we have previewed <a href="https://www.osradar.com/how-to-install-and-use-bash-in-windows-10/" target="_blank" rel="noreferrer noopener">here.</a> In this way, it is possible to use Linux proprietary distros such as Ubuntu. However, today we will learn how to install <a href="https://www.kali.org/" target="_blank" rel="noreferrer noopener">Kali Linux</a>. Which is a distribution focused on ethical hacking. Consequently, we can use it to test and increase the security of certain systems. Please stay with us to learn how to use Windows 10 as a hacking system by installing Kali Linux.</p>



<h2>Prerequisites</h2>



<p>Windows 10 2004 or higher</p>



<p>As we have mentioned, to use this functionality it is necessary to enable WSL. We have explained those steps in this <a href="https://www.osradar.com/how-to-install-and-use-bash-in-windows-10/" target="_blank" rel="noreferrer noopener">post.</a> However, this time we will use the most recent version that corresponds to WSL2. For this we will use the PowerShell with administrator privileges. With this intention, press the Win+X combination and select the following option: </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="271" height="623" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/kali.png" alt="Please run PowerShell as administrator. " class="wp-image-25616" srcset="https://www.osradar.com/wp-content/uploads/2020/11/kali.png 271w, https://www.osradar.com/wp-content/uploads/2020/11/kali-130x300.png 130w" sizes="(max-width: 271px) 100vw, 271px" /><figcaption>Please run PowerShell as administrator.</figcaption></figure>



<p>Please copy and execute the commands strictly:</p>



<pre class="wp-block-preformatted">Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux</pre>



<p>Now, reboot the computer and once again from a PowerShell with administrator privileges the following commands:</p>



<pre class="wp-block-preformatted">dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart</pre>



<pre class="wp-block-preformatted">dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart</pre>



<p>Once the computer is restarted. Back to the system, it is necessary to manually update the Linux Kernel in order to use WSL2. Don&#8217;t worry, just download and install this <a href="https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi" target="_blank" rel="noreferrer noopener">file.</a> Now we only have to activate WSL2 by default for the Linux instances in the system. With this intention, once again from the console with administrator privileges, run the following command:</p>



<pre class="wp-block-preformatted">wsl --set-default-version 2</pre>



<p>And that&#8217;s it. WSL2 is now enabled to install Kali Linux.</p>



<h2>What is the most attractive thing about Kali Linux, the GNU/Linux distribution specialized in ethical hacking.</h2>



<p>Kali Linux is one of the most complete ethical hacking distributions we can find. Additionally, it is a Debian-based distro and comes with a large collection of ethical hacking and security programs. Consequently, it is possible to carry out all kinds of security tests and audits. The usual thing is to have Kali Linux installed on a computer. Likewise, having it in a USB memory stick to load it when we need to use it. It can even be loaded from a <a href="https://www.osradar.com/how-to-enable-and-use-hyper-v-on-windows-10/" target="_blank" rel="noreferrer noopener">virtual machine</a>. However, through WSL2 we will use it differently. Since it allows 3 different modes of use.</p>



<ul><li>Accessing the tools from Bash with CMD</li><li>Window Mode. Which allows you to run a Kali Linux graphical interface in a new window, like a virtual machine.</li><li>Seamless Mode. A mode that places the Kali taskbar on top of the desktop. Which allows you to open programs in windows that run next to those of Windows.</li></ul>



<p>Additionally, Kali Linux on Windows 10 supports sound, root session and multiple user sessions. It even allows clipboard sharing by copy and paste between Windows and Kali applications. Sounds great, doesn&#8217;t it? But the most interesting thing is being able to convert Windows 10 as a hacking system by installing Kali Linux.</p>



<h2>Installing Kali Linux on Windows 10</h2>



<p>After configuring the computer, just download and install Kali Linux from this <a href="https://www.microsoft.com/en-us/p/app/9pkr34tncv07?activetab=pivot:overviewtab" target="_blank" rel="noreferrer noopener">link.</a> You will be immediately redirected to the Microsoft Store. Please click on Get to start the download and installation. Then you must complete the initial setup of the distro. Additionally, it is required to add the username and password. The final result will be as in this picture:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="979" height="512" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/kali2.png" alt="Initial configuration of Kali Linux" class="wp-image-25623" srcset="https://www.osradar.com/wp-content/uploads/2020/11/kali2.png 979w, https://www.osradar.com/wp-content/uploads/2020/11/kali2-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/kali2-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/kali2-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Initial configuration of Kali Linux</figcaption></figure>



<h2>Preparing the system to use the graphical mode of Kali Linux in Windows 10.</h2>



<p>The first thing you have to do is update the software lists and updates. With this in mind, from bash execute the following command:</p>



<pre class="wp-block-preformatted">sudo apt update &amp;&amp; sudo apt upgrade</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="572" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/11/kali3-1024x572.png" alt="" class="wp-image-25626" srcset="https://www.osradar.com/wp-content/uploads/2020/11/kali3-1024x572.png 1024w, https://www.osradar.com/wp-content/uploads/2020/11/kali3-300x167.png 300w, https://www.osradar.com/wp-content/uploads/2020/11/kali3-768x429.png 768w, https://www.osradar.com/wp-content/uploads/2020/11/kali3-696x388.png 696w, https://www.osradar.com/wp-content/uploads/2020/11/kali3-1068x596.png 1068w, https://www.osradar.com/wp-content/uploads/2020/11/kali3.png 1290w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, the next step will be to install Win-KeX. This is the tool that allows you to run a graphical environment over WSL. Consequently, Kali Linux runs in the same way as a physical device. To do so, please run the following command.</p>



<pre class="wp-block-preformatted">sudo apt update &amp;&amp; sudo apt install kali-win-kex</pre>



<p>The wizard will download, install and configure all the necessary packages. In addition, this process can take a while and take up almost 2&nbsp;GB of hard disk space. After finishing the process, we are ready to use Kali Linux in graphic mode.</p>



<h2>How to open Kali Linux in Window Mode.</h2>



<p>In this mode, Kali will run the desktop within a single window. Consequently, Linux will be isolated from Windows elements. This is the closest to mounting it in a virtual machine. To open this mode, the command to be executed is:</p>



<pre class="wp-block-preformatted">kex --win -s</pre>



<p>Please note, that you can enter the options by pressing the F8 key.</p>



<h2>Open Kali Linux in Seamless mode</h2>



<p>This mode allows you to view Kali&#8217;s windows as if they were elements of Windows on the current desktop. Even with the bar on top of everything. Consequently, run the following command:</p>



<pre class="wp-block-preformatted">kex --sl -s</pre>



<p>In this way we have seen how to use Windows 10 as a hacking system by installing Kali Linux. You know, now you have the best of every ecosystem in one operating system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/use-windows-10-as-a-hacking-system-by-installing-kali-linux/">Use Windows 10 as a hacking system by installing Kali Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/use-windows-10-as-a-hacking-system-by-installing-kali-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Learn how to install and use bash in Windows 10</title>
		<link>https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/</link>
					<comments>https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Sun, 15 Mar 2020 16:45:21 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<category><![CDATA[ubuntu on windows]]></category>
		<category><![CDATA[windows subsystem for linux]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=994</guid>

					<description><![CDATA[<p>Hi. Bash on Windows 10? Doesn&#8217;t sound coherent, does it? The truth is I talk about bash, immediately Linux comes to mind. In fact, it&#8217;s a Unix shell developed by Brian Fox and adopted by default in most Linux and macOS distributions. Moreover, it is a computer program whose function is to interpret commands. It [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/">Learn how to install and use bash in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi. Bash on Windows 10? Doesn&#8217;t sound coherent, does it? The truth is I talk about bash, immediately Linux comes to mind. In fact, it&#8217;s a Unix <a rel="noreferrer noopener" aria-label="shel (opens in a new tab)" href="http://linuxcommand.org/lc3_lts0010.php" target="_blank">shel</a>l developed by Brian Fox and adopted by default in most <a rel="noreferrer noopener" aria-label="Linux  (opens in a new tab)" href="https://www.linux.com/what-is-linux/" target="_blank">Linux </a>and macOS distributions. Moreover, it is a computer program whose function is to interpret commands. It was written for the GNU project and is POSIX compatible. Under those circumstances, it is logical to think that this program is exclusive to Linux-based distributions. However, for some time now Microsoft has been flirting with GNU and what Linux stands for. In fact, since some time ago, Microsoft offers the Windows for Linux (WSL) subsystem. This innovation of Windows allows the user to have contact with the Linux system, without having to leave the primary system. Well, in this post we will see how to install and use bash in Windows 10.</p>



<h2>How to enable the Windows Subsystem for Linux</h2>



<p>WSL is a feature that allows Windows 10 users to use the Bash of the available Linux distribution. In addition, WSL provides a Linux-compatible kernel interface developed by Microsoft. Also, we can have the typical Linux directories like <em>Home</em> or <em>Bin</em> in Windows and the Windows directories in Linux bash. But maybe the most relevant aspect is to be able to use Bash commands inside Windows without the need to resort to a virtual machine. Well, let&#8217;s see how to enable this system. In the first place, follow this path to enter the optional features of Windows. <strong>Control Panel&gt;Programs&gt;Turn windows features on or off</strong></p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl-1024x548.png" alt="Enter the optional features of Windows" class="wp-image-1011"/><figcaption>Enter the optional features of Windows</figcaption></figure>



<p>In the box below, scroll down to find Windows Subsystem for Linux. Please check the appropriate box.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wls2.png" alt="" class="wp-image-1013"/><figcaption>Check the box to install WSL</figcaption></figure>



<p>Wait a few seconds while the features are installed. Then restart the computer to confirm the changes.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl6.png" alt="After the changes are made, please restart the computer." class="wp-image-1014"/><figcaption>After the changes are made, please restart the computer.</figcaption></figure>



<h2>Download and Install Ubuntu 18.04 LTS</h2>



<p>Once the configuration is enabled, just go to the Windows Store and download the available distro. At the moment the following options are ready for download: Ubuntu, Kali, Open Suse Leap 15-1, Debian and Alpine WSL. Undoubtedly in the future more will be added. Well, this time we will use Ubuntu 18.04 LTS. You can download it from this <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="https://www.microsoft.com/en-us/p/ubuntu-1804-lts/9n9tngvndl3q?activetab=pivot:overviewtab" target="_blank">link</a>. Press Get and wait while the program downloads.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl3-1024x548.png" alt="" class="wp-image-1016"/></figure>



<p>Once the download is complete, you can launch the program from the same store. Or you can also type Ubuntu from the Windows search engine. Please wait a few moments while the installation is completed. Then assign any user name and add a password.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl4.png" alt="Add a username and password to complete the installation." class="wp-image-1020"/><figcaption>Add a username and password to complete the installation.</figcaption></figure>



<h2>Using Ubuntu for the first time</h2>



<p>Once the preparations have been made, it&#8217;s time to test the operation of Ubuntu. With this intention, update the list of packages in the repositories by running the following command:</p>



<pre class="wp-block-preformatted"> sudo apt-get update </pre>



<p>Then type the password and press enter. Immediately the ubuntu bash will start working.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl5-1024x548.png" alt="Updating repository packages" class="wp-image-1022"/><figcaption>Updating repository packages</figcaption></figure>



<p> Well, finally we&#8217;ve seen how to install and use bash in Windows 10. From this moment on, just type Ubuntu in the search bar to launch the app. Before I say goodbye, I invite you to see our post about Microsoft employees infected with <a rel="noreferrer noopener" aria-label="COVID-19 (opens in a new tab)" href="https://windowsmen.com/microsoft-employees-affected-by-covid-19/" target="_blank">COVID-19</a>. Bye</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/">Learn how to install and use bash in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
