<?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>ethical hacking Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ethical-hacking/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>
	</channel>
</rss>
