Kali Linux 2020.4 With Major Changes | Last Update of Kali in 2020

We are back with another big update of Kali Linux in this year. Kali Linux 2020.4 is rolling out. The 4th and last quarter update was released on 17 Nov 2020, This update has lots of good features that are awesome.
Kali Linux 2020.4 update is here
YAY, downloading the Kali Linux Update

Kali Linux 2020.4 released yesterday. The key-features of these updates are following:

  • ZSH is the new default shell – We said it was happening last time, Now it has. ZSH. Is. Now. Default.
  • Bash shell makeover – It may not function like ZSH, but now Bash looks like ZSH.
  • Partnership with tools authors – Kali teaming up with byt3bl33d3r.
  • Message at login – Proactively pointing users to resources.
  • AWS image refresh – Now on GovCloud. Includes Kali’s default (command line) tools again. And there is a new URL.
  • Packaging Guides – Want to start getting your tool inside of Kali? This should help.
  • New Tools & Updates – New Kernel and various new tools and updates for existing ones, as well as setting Proxychains 4 as default.
  • NetHunter Updates – New NetHunter settings menu, select from different boot animations, and persistent Magisk.
  • Win-KeX 2.5 – New “Enhanced Session Mode” brings Win-KeX to ARM devices
  • Vagrant & VMware – Kali now supports VMware users who use Vagrant.

ZSH is Default Shell

In Kali's previous quarterly release, 2020.3, we gave a heads up that we will be switching from Bash to ZSH as our default shell going forwards (where possible). We are happy to announce that after testing and feedback from users, the switch has now happened. Say hello to to ZSH.

ZSH is coming with a fresh installation of Kali Linux 2020.3. Didn't get it ? Try the following command to install ZSH.
echo Hello World. I'm $0
BASH is still there it is not removed if we like to use BASH we need to run following command:
chsh -s /bin/bash
Then we just need to switch to ZSH by using zsh command.
zsh in kai linux
Image source 'Kali Official Website'
If we want the ZSH in default (and replace bash) now in our Kali Linux system then we just need to run following command:
chsh -s /bin/zsh
ZSH will be the default shell on Kali's desktop images (amd64/i386), and cloud. For the time being, other platforms (e.g. ARM, containers, NetHunter, WSL) will still use Bash. The devs hope to switch more over in later versions. If we use adduser, regardless of the platform, it will also default to Bash for the time being (to avoid some edge cases of items breaking). In time, this will be changed as well.
How do We get it? Good question! If we:
  1. Do a fresh install of Kali Linux 2020.4 or later, it will “just happen” during the setup.
  2. If we are updating Kali, you will need to switch each user to ZSH (e.g. non-root & root since Kali Linux does not use the root account since 2020.1).
We need to switch. How do we? This can be done by applying our default zshrc file. If we are not already using ZSH, we can simply copy it over. If we are, we will need to overwrite (make sure to backup first).
[ -e ~/.zshrc ] && cp -i .zshrc{,.bak}
cp -i /etc/skel/.zshrc ~/
chsh -s /bin/zsh
zsh

Bash Shell Makeover

Kali Linux now has a universal, cross-shell theme.

Whilst we were tweaking ZSH, Kali Linux Developers also updated the Bash prompt ($PS1), to make it feel similar (but not act similar) to our ZSH prompt. We started playing with the Bash prompt in [Kali Linux 2020.3]((https://www.kali.org/news/kali-2020.3-release/), when the colors changed for non-root users, from red to blue. Before then, we had not changed it since Kali Linux was first released.

Kali Linux BASH MakeOver
Image Source kali.org
How to get this newer BASH?

Very similar answer to ZSH, but this time using .bashrc instead. If you are doing:

  • A fresh installation of Kali Linux 2020.4 or later, it’s already applied.
  • If we are updating Kali, you will need to configure each user (e.g. non-root & root)

If we have made any alterations to ~/.bashrc, make sure to back it up before replacing it.

cp -i .bashrc{,.bak}
cp -i /etc/skel/.bashrc ~/
source ~/.bashrc

Partnership with tools authors: byt3bl33d3r’s CrackMapExec (CME)

Kali Linux is part of the greater community and we want to support tool authors where possible. If we have not heard of CrackMapExec (a.k.a CME), we may be missing a trick (or three) when it comes to doing infrastructure assessments (especially involving Active Directory).

We noticed that byt3bl33d3r made the decision to move to a sponsorware model. We may or may not agree with his decision, but we understand his reasoning. The tools which he makes are highly valuable and relied upon by many. We want to support him and our Kali Linux users. After various calls and email exchanges, we are delighted to reveal Kali has partnered with byt3bl33d3r.

What does this mean for me? The Kali package of CME is now pulling from a private source, allowing Kali Linux users to get access to the newest changes in CME 30 days before the tool is made public to everyone else. If we don’t use Kali, you either need to sponsor directly or wait for it to be released after 30 days.

Why are you doing this? Because we believe in open source and the community as a whole. This way, everyone benefits; both authors and users.

Kali is open source. What is stopping me from stealing/ripping/cloning from you? The code will be distributed with a banner saying something along the lines of, “for Kali users only”. Removing/altering the code will break the software license thus breaking copyright law. Do not be that guy.

Is that it? Yes! Kali Linux is open source. We understand and respect software licenses, and by doing so we hope to keep everything open source as much as possible. Putting checks & protection in place, you may be happy using someone else’s cracked/pirated software (warez) – but do we know what has been altered under the hood?

But Kali Linux being open source, has to respect other people license agreements, as do any other respectable organizations. This also includes when tools which have their license agreements changed in software updates, as a result, we have removed them from Kali.

They have more to announce about direction step in a 2021.x release (as well as looking for other authors to to sponsor with). Stay tuned for more information.

Message At Login

Have noticed there being a large uprise of the amount of people saying “Kali Linux is missing ‘XYZ'” or “XYZ feature is broken”, when this is not always the case. We have done our best to write up various issues on our docs pages, however it appears they are not always being read. We also know that not everyone has a unix beard as long as @elwood-offsec, but hope you still are an experienced Linux user. There is always a reason why something is the way it is, but it may require more than the usual basic troubleshooting.

With all of that said, we are wanting to improve our communications going forwards. Most of the actions in Kali are done by the command line. So now, upon logging into a Kali terminal or console, you may be presented with a mixture of the following (depending on the configuration of your system, as it is dynamic):

% ssh kali@172.16.13.37
Last login: Thu Nov 12 15:12:29 2020 from 172.16.13.1
┏━(Message from Kali developers)

┃ This is a minimal installation of Kali Linux, you likely
┃ want to install supplementary tools. Learn how:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/

┃ This is a cloud installation of Kali Linux. Learn more about
┃ the specificities of the various cloud images:
┃ ⇒ https://www.kali.org/docs/troubleshooting/common-cloud-setup/

┃ We have kept /usr/bin/python pointing to Python 2 for backwards
┃ compatibility. Learn how to change this and avoid this message:
┃ ⇒ https://www.kali.org/docs/general-use/python3-transition/

┗━(Run "touch ~/.hushlogin"
┌──(kali㉿kali)-[~]
└─$

We hope this helps various common problems to be quickly fixed, but at the same time, not feel intrusive. Each of the issues have a link to our documentation page in order to correct the issue. After its been addressed, the message should not be displayed again. For whatever reason (unable or do not want to), you can permanently hide any messages from us being displayed by doing: touch ~/.hushlogin (per user) or touch /etc/kali-motd/disable-all (for a global setting).

We have a few other things in the works to help communicate items out planned for 2021.x. Stay tuned!

AWS EC2 Cloud Image Refresh

Kali Linux has been on AWS since 1.0.6. Over the years, we have done various refreshes of our build-scripts to produce the cloud images. Finally with Kali 2020.2, we have a fully automated system in place. However during the changeover, we were shipping the image without any GUI or any tools by default. This was to give the cleanest, smallest image as possible. In hindsight, we didn’t communicate this change over well, and a lot of you noticed “tools missing” (as kali-linux-default was not included). However, in 2020.4, we have created a new metapackage, kali-linux-headless, and included it which only has the default set of command line tools.

Upon doing the refresh, we have worked with AWS to get Kali Linux added to “GovCloud“. Which may be useful to a certain audience. With how the accounts were setup, we have had to start from fresh. As a result, we have a new marketplace entry.

What does this mean for people who are using the old entry? As Kali Linux is a rolling distribution, not a lot! You can still keep updating Kali Linux as usual. However, you will no longer be able to spin up the latest version using the latest instance. For that, you will need to switch to the new entry.

Note: We have tried to say it as many different places as possible, but putting it here is not going to hurt. The default login for AWS EC2 username is “kali” (not the standard “ec2-user”).

Kali Docs & Packaging Guides

In 2019.4, we moved https://docs.kali.org/ from a WordPress solution to https://www.kali.org/docs/using Hugo. In September, we finished (for now) tweaking the theme, making it easier to use, super fast at loading and easier to anyone to edit.

We have started to go though all the pages and refreshing them, bringing them all up-to-date, and adding more in. We are doing it section by section, and so far have completed the first three (so we still have a way to go! After it is completed, it will be easier to keep them up-to-date, making it an on-going task. For the sections that are missing or lacking content, we have been generating issues to help track. If you want to help get involved with Kali Linux, this is an easy place to start.

We have also created various new pages, all about our packaging process:

We have also the pages from our login messages:

And various other pages created:

New Tools & Updates

As with every Kali release, there are new tools and updates. The kernel got an upgrade to 5.9, so you benefit with all the loveliness that that brings. We have switched to “proxychains4” (aka ProxyChains-NG) as the default (everything from v3 should still work: same flags and configuration files & folder locations for legacy users, else the paths will reflect the version if starting from fresh). Also, GNOME was updated to 3.38 & KDE to 5.19.

New tools in Kali Linux:

One last thing. We have tweaked how we handle our wallpaper packages:

  • kali-wallpapers-all ~ Give me all the wallpapers
  • kali-wallpapers-2019.4 ~ Default for Kali Linux between 2019.4 and 2020.3
  • kali-wallpapers-2020.4 ~ Default for Kali Linux between 2020.4 and onwards
  • kali-wallpapers-legacy ~ Nostalgic value

Kali NetHunter

@yesimxev has added a new settings menu, allowing for easy back up and restore of configuration files. It also allows us to change the Kali NetHunter boot animation. How is this as a teaser?

Kali NetHunter

Call on all boot animation devs out there:. If we have a cool boot animation we’d like to share, please submit a merge request to our Kali NetHunter boot animation repository .

The new images also contain a “Magisk persistence” module, so we no longer have to flash Magisk again after we installed Kali NetHunter.

Win-KeX 2.5

Win-KeX 2.5 includes a new “Enhanced Session Mode (–esm)”, which works like the “Window” mode but uses the Remote Deskop Protocol (RDP) & client native to Windows. This mode will allow users of “Windows on ARM” devices to use Win-KeX and it adds sharpness to Win-KeX on HiDPI devices.

We have also added a “–ip” option to address a bug in WoA causing massive packet losses when using “localhost”. To start Win-KeX with sound on arm devices, just type:

kex --esm --ip --sound

The “–ip” parameter has one little downside though: Win-KeX asks for the Kali Linux user password when launched for the first time and stores it in the Windows credentials store. Since the IP address changes after every reboot, you will be prompted again. This is a known WSL2 bug and we’ll expect it to be fixed soon so that we can drop the “–ip” parameter and we’ll never have to enter the password again.

win-key

Kali Vagrant & VMware

We have had a Vagrant image since Kali Linux 2018.3. However, it’s always been for VirtualBox. Until now. We are now also producing a VMware Vagrant image!

Note, we will need to have a separate license for both VMware and Vagrant for this to work, as it is a paid-for plugin.
For more information, we can see here and here.

Kali ARM devices

They have been working away on their ARM images as usual, and this release is no exception. They have reduced the amount of pre-generated images (now 14) as there has not been the demand for these other devices. We have left their build scripts (now up to 43 devices supported), in case we wish to generate the images ourself.

Community Shoutouts

Following on from last time, these are people from the public who have helped Kali and the team for the last release. We are super grateful and want to praise them for their work (giving credit where due!):

  • @1y for generating a ARM build script for a new device, imx6-ull-evk
  • @dracode for the awesome work on Nethunter, in particular the GPS fixes.
  • @mirivan for all the amazing additions and fixes to NetHunter as well as helping out with the issue tracker.
  • @TheMMcOfficial for his continued help with NetHunter and DuckHunter
  • @Martinvlba for his great contributions to NetHunter, especially hostapd
  • @s133py for all the tireless work on NetHunter and helping with issues

Not a community member per se, but we do want to give an honorable mention to GitLab. Kali Linux is now a Open-Source Partner (different to their Open-Source Program). We made the switch middle of 2019, and we could not have been happier. Thanks GitLab for supporting us, and for everything we do for the open-source communities as a whole!

GitLab

Download Kali Linux 2020.4

Fresh Images: So what are you waiting for? Start downloading already!

Seasoned Kali Linux users are already aware of this, but for the ones who are not, we do also produce weekly builds that you can use as well. If you cannot wait for our next release and you want the latest packages when you download the image, you can just use the weekly image instead. This way you’ll have fewer updates to do. Just know that these are automated builds that we do not QA like we do our standard release images. But we gladly take bug reports about those images because we want any issues to be fixed before our next release.

Existing Upgrades: If we already have an existing Kali Linux installation, remember you can always do a quick update, followed by setting the default shell to ZSH. If you’re already using ZSH, and want our new configuration, you can do the following:

kali@kali:~$ echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list
kali@kali:~$
kali@kali:~$ sudo apt update && sudo apt -y full-upgrade
kali@kali:~$
kali@kali:~$ cp -i /etc/skel/.bashrc ~/
kali@kali:~$
kali@kali:~$ cp -i /etc/skel/.zshrc ~/
kali@kali:~$
kali@kali:~$ chsh -s /bin/zsh
kali@kali:~$
kali@kali:~$ [ -f /var/run/reboot-required ] && sudo reboot -f
kali@kali:~$

We should now be on Kali Linux 2020.4. We can do a quick check by doing:

kali@kali:~$ grep VERSION /etc/os-release
VERSION="2020.4"
VERSION_ID="2020.4"
VERSION_CODENAME="kali-rolling"
kali@kali:~$
kali@kali:~$ uname -v
#1 SMP Debian 5.9.1-1kali2 (2020-10-29)
kali@kali:~$
kali@kali:~$ uname -r
5.9.0-kali1-amd64
kali@kali:~$

NOTE: The output of uname -r may be different depending on the system architecture.

How much liked Kali's this 2020.4 update? let us know in the comment section.
author-img
Kali Linux

Comments

2 comments
Post a Comment
  • Unknown photo
    UnknownAugust 20, 2020 at 8:30 AM

    what is the default account in kali 2020.3 ? I tried root/toor kali/kali , both not work

    Delete Comment
    • Kali Linux photo
      Kali LinuxAugust 20, 2020 at 3:33 PM

      It is kali/kali. Did you put other username and password during installation? or check for caps lock.

      Delete Comment
    google-playkhamsatmostaqltradent