Kali Linux


Kali Linux is an advanced penetration testing Linux distribution used for penetration testing, ethical hacking and network security assessments preinstalled with over 600 penetration-testing programs, including nmap (a port scanner), Wireshark (a packet analyzer), John the Ripper (a password cracker), Aircrack-ng (a software suite for penetration-testing wireless LANs), Burp suite and OWASP ZAP (both web application security scanners Kali Linux can run natively when installed on a computer’s hard disk, can be booted from a live CD or live USB, or it can run within a virtual machine. It is a supported platform of the Metasploit Project’s Metasploit Framework, a tool for developing and executing security exploits.

I

Requirements

*Kali Linux requires a minimum of 3.6GB hard disk space for installation depending of the version, Version 2020.2 requires at least 3.6GB.
*A minimum of 257MB RAM for i386 and AMD64 architectures.
*A bootable CD-DVD drive or a USB stick.

How to Install Kali Linux as an App in Windows 10


Introduction


Recently Kali Linux was released as an application in the Microsoft Store, Through utilization of the Windows Subsystem for Linux (WSL) compatibility layer, its now possible to install Kali in a Windows environment WSL is a feature in Windows 10 that enables users to run native Linux command-lines tools, Bash, and other tools previously not available. Below is a detailed guide on how to get WSL Kali up and running.

Installing Kali Linux in Windows 10

  1. Run powershell as an administrator and execute the following command:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  1. Download the Kali Linux app (134MB) from the Microsoft Store and launch once it completes.

  1. Create a user account during the installation process (copy new credentials down!).

  1. Run the command cat /etc/issue to verify the environment.
  2. Locate the newly created Kali directory in Window This directory can typically be found at C:UsersAppDataLocalPackagesKaliLinux In order to view this directory it will be necessary to reveal hidden items (view -> show hidden files).
Continue…..
  1. Copy the file path to the Kali directory (C:UsersAppDataLocalPackagesKaliLinu) and then add it as a security exception in Windows Defender (Windows Defender Security Center -> Virus and Threat Protection -> V&T Protection Settings -> A/R Exclusions -> Add Exclusion -> Folder).

  1. Run the command sudo apt-get update (ignore the error – W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument).
  2. Run the command sudo apt-get dist-upgrade.
  3. Begin installing packages as desired.
  4. Run the command sudo apt-get clean.
  5. Install and run xfce4 and XRDP. Xfce4 is a free and open-source desktop environment for Unix operating systems. In this instance it will provide a visual environment for any packages you install that require the use of a GUI.

Run the following commands:
wget https://kali.sh/xfce4.sh
cat xfce4.sh (verification)
sudo sh xfce4.sh (runs installation script) *this may take a while depending on the internet connection

  1. Start the remote desktop server on port 3390 by running the following command: sudo /etc/init.d/xrdp start.

  1. Open a remote connection to the server (start -> run -> mstsc) @ localhost/127.0.0.1:3390.

  1. Enter the credentials for the kali user created earlier. In order to connect to the remote environment it may also be necessary to add an exception in Windows Firewall for Remote Desktop (Control Panel -> Windows Defender Firewall -> Allow and app or feature through firewall -> Remote Desktop).

  1. After experiencing inception, logout of the remote session (click the logo in the top right and uncheck save session on the way out).

  1. Shutdown the xrdp server by running the command: sudo /etc/init.d/xrdp stop.
  2. Logout of the kali instance (exit).

Download window 10

Leave a Reply

Your email address will not be published. Required fields are marked *