Tag Archives: kali linux

How to install kali Linux on termux

Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing. Also, in Security Research, Computer Forensics, and Reverse Engineering.

with the definition of Kali Linux, you can understand what it is, and if not don’t worry we have a complete guide about it. How to start with Kali Linux. Then, in this article, we are going to discuss Kalimux on termux.

Requirements to install Kali Linux on termux

On termux it’s possible to run Kali Linux , the spelling on termux is KALIMUX. Now before we continue let discuss what are requirements in order to run KALIMUX.

Kali Linux or Kalimux features

Also, before we dig into this guide let discuss Kalimux features. Then, you will see that kalimux has some good features that will impress you.

  • [+] Stable and latest!
  • [+] Gui in android!
  • [+] Real-time Kali Linux!
  • [+] Easy for Beginners!

KALIMUX installation

Let start the installation of Kali Linux on termux. First we are going to update and upgrade termux.

Then, open your termux terminal and type this command:

apt-get update -y 
apt-get upgrade -y

Next step is to install python if not yet installed otherwise it will not install kalimux.

pkg install python -y
pkg install python2 -y

Then, having git installed is required or you can install it with the command: pkg install git -y

Now it’s time to clone kalimux from GitHub by using this command:

git clone https://github.com/noob-hackers/kalimux

Then, navigate in the kalimux folder in order to install it.

cd kalimux
sh kalimux.sh

So after installation completes the text files will occur just copy it by long click on the text.


Using kali Linux as GUI using VNC viewer

Then, after we have done to install Kali Linux or KALIMUX in termux. Also, we need to download the VNC viewer from the play store. and for more details read Graphical Environment on Termux

How to install Windows Subsystem for Linux – complete Guide

source: from kali.org

Windows Subsystem for Linux (WSL) allows users to run a Linux terminal environment. Also, install packages from the Kali archive, and run Linux applications and workflows on Windows 10.

You may want to run Kali Linux or Ubuntu on your Windows 10. In this article, we are going to see how you can run Kali Linux or Ubuntu in Windows 10.

In the previous article we saw how to install kali Linux properly on your computer in 2021, now let us see how to run it on Windows 10.

What is Windows Subsystem for Linux (WSL)?

The Windows Subsystem for Linux lets developers run a GNU/Linux environment. Then, as you know already what is WSL now let us see what is WLS 2.

What is WSL 2?

WSL 2 is a new version of the Windows Subsystem for Linux architecture that powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows. 

What are the prerequisites to Install Win-Kex?

First, let us see what are prerequisites before jump on installing Win-Kex.

To install Win-Kex you need to have Windows 10 version 2004 or higher running on your computer. Also, using windows Terminal.

You may also like How to install Kali NetHunter on an Android device.

Installation of Windows Subsystem for Linux

There are 2 options available for installing Windows Subsystem for linux (WSL):

  • Simplified install: The wsl –install simplified install command requires that you join the  Windows Insiders Program and install a preview build of Windows 10.
  • Manual install: It follows the six steps that will discuss in this article.

Also, if you run into an issue during installation, Windows provide the Troubleshooting installation.

In this article, we are going to discuss Manual Installation.

Install Kali Linux in Windows Subsystem on Linux 2

Step 1- Enable the Windows Subsystem for Linux.

In order to install Kali Linux, you must first enable the “Windows Subsystem for Linux”, then, open Windows PowerShell as administrator and run:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Then, after running this command, Restart windows PowerShell, then reopen it again, and run:

Step 2 – Check requirements for running WSL 2

To update to WSL 2, you must be running Windows 10.

  • For x64 systems: Version 1903 or higher, with Build 18362 or higher.
  • For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.
  • Builds lower than 18362 do not support WSL 2. Use the Windows Update Assistant to update your version of Windows.

To check your version and build number, select Windows + R type winver, select ok. or you can enter ver command in windows command prompt.

Step 3- Enable virtual Machine feature

Before installing WSL 2, you must enable the Virtual Machine Platform optional feature. Your machine will require virtualization capabilities to use this feature.

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Then, Restart your machine to complete the WSL install update to WSL2.

Step – 4 Download the Linux Kernel update package

After you finished restarting your pc, then download and install the WSL2 Linux Kernel from here: https://aka.ms/wsl2kernel.

Step 5 – Set WSL 2 as your default version

Then open PowerShell as administrator and run:

wsl --set-default-version 2

Step 6 – Install your Linux distribution of choice

This last step is the installation of Kali Linux from the Microsoft Store. Also, to upgrade an existing WSL1 kali-linux installation, type: wsl --set-version kali-linux 2

After you have installed Kali Linux from Wicrosoft Store, Then run kali and finish the initial setup: set up your username and password

Install Win-Kex

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

Refer to the Win-KeX Win usage documentation for further information.

How to install kali Nethunter in android

For kali Linux users they would like to have in hand everywhere the amazing operating system for penetration testing and for hacking. Because of that, the community of kali Linux decided to give kali Linux users the opportunity of having kali Linux or Kali NetHunter in their smartphones the project of Offensive Security.

from kalilinux.org

What is Kali linux NetHunter?

Kali NetHunter is a free & open-source Mobile Penetration Testing Platform for Android devices, based on Kali Linux.

What is the kali NetHunter App Store?

The kali NetHunter App Store is an installable catalog of android applications for penetration testing and forensics. The client makes it easy to browse, install, and keep track of updates on your devices.

Who can install Kali NetHunter?

Kali NetHunter is available for:

  • For un-rooted devices (NetHunter Rootless).
  • For rooted devices that have a custom recovery (NetHunter Lite)
  • For rooted devices with custom recovery for which a NetHunter specific kernel is available (NetHunter).

What are core of kali NetHunter?

  • Kali linux container that includes all tools and applications that  kali provides
  • Kali NetHunter App Store
  • Android client to access the kali NetHunter App store
  • Kali NetHunter Desktop Experience(kex) help to run full kali linux desktop sessions for screen mirroring via HDMI or wireless screen casting.

Kali NetHunter App is available in both rooted editions (NetHunter Lite & NetHunter).

Beyond the penetration testing tools included in Kali Linux, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and many more.

Nb: Kali NetHunter is an open-source project developed by Offensive Security and the community.

What are Editions of NetHunter?

NetHunter can be installed on almost every Android device under the sun using one of these editions:

NetHunter Rootless

Usage: the core of NetHunter for unrooted, unmodified devices

Features: Appstore, kali cli, All kali packages, kex, Metasploit w/o DB,

NetHunter Lite

Usage: The full NetHunter package for rooted phones without a custom kernel.

Features: Appstore, kali cli, All kali packages, kex, Metasploit w/o DB, metasploit with DB, NetHunter App , requires TWRP,


Usage: the full NetHunter package with custom kernel for supported devices

Features: Appstore, kali cli, All kali packages, kex, Metasploit w/o DB, metasploit with DB, NetHunter App , requires TWRP, requires Root, WIFI injection, HID attacks.

Which Devices and ROMs can support NetHunter?

NetHunter Lite can be installed on all Android devices that are rooted and have a custom recovery. The full NetHunter experience requires a devices specific kernel that has been purpose built for Kali NetHunter.

The NetHunter gitlab repository contains over 164 kernels for over 65 devices. Offensive Security publishes over 25 images for the most popular devices on the NetHunter download page.

Where to find NetHunter and how to Download it?

If you are willing to install NetHunter and you don’t know where to get it. You can find NetHunter on the download official page from Offensive Security NetHunter project.

https://www.offensive-security.com/kali-linux-nethunter-download Remember once the zip file has downloaded

NetHunter Rootless Edition

if you want to install NetHunter on any stock, unrooted Android device without voiding the warranty. you have to install termux, on termux you can now install Kali NetHunter.

What you need to install Kali netHunter?

For Android user you need a device witch has an unmodify stock, no root or custom recovery.

How to install Kali NetHunter on termux?

  • Install the NetHunter-Store app from https://store.nethunter.com
  • From the NetHunter Store, install Termux, NetHunter-keX client and Hacker’s keyboard
  • open Termux and type:
pkg install wget
wget -O install-nethunter-termux https://offs.ec/2MceZWr
chmod +x install-nethunter-termux


nethunter: Start Kali NetHunter command line interface

Also, use command nethunter kex passwd: to configure the kex password (only needed before 1st use)

Then, if you want to start kali nethunter desktop use nethunterkex command.

nethunter kex stop: stop kali nethunter desktop Experience

To use KeX, start the KeX client, enter your password and click connect Tip: For a better viewing experience, enter a custom resolution under “Advanced Settings” in the KeX Client


  1. Run sudo apt update && sudo apt full-upgrade first thing after installation. If you have plenty of storage space available you might want to run apt install kali-linux-default as well.
  2. All of the penetration testing tools should work but some might have restrictions, e.g. metasploit works but doesn’t have database support. If you discover any tools that don’t work, please post it in our forums.
  3. Some utilities like “top” won’t run on unrooted phones.
  4. Non-root users still have root access in the chroot. That’s a proot thing. Just be aware of that.
  5. Galaxy phone’s may prevent non-root users from using sudo. Just use “su -c” instead.
  6. Perform regular backups of your rootfs by stopping all nethunter sessions and typing the following in a termux session: tar -cJf kali-arm64.tar.xz kali-arm64 && mv kali-arm64.tar.xz storage/downloads That will put the backup in your Android download folder. Note: on older devices, change “arm64” to “armhf”
  7. Please join us in our forums to exchange tips and ideas and be part of a community that strives to make NetHunter even better.