Skip to content

Managing Kali Linux Stability in Courses

Abstract

Kali Linux uses a rolling release model, which can make environments unpredictable over time. This article explains how the Cyber Range stabilizes Kali for consistent course use.


Background on Kali Linux

Kali Linux is a specialized Linux distribution designed for penetration testing and digital forensics. It comes with a wide array of pre-installed tools such as vulnerability scanners, password crackers, and network analyzers.

Kali is a Rolling Release distribution. This means it receives continuous updates instead of scheduled, versioned releases. New features, tools, and package updates are added as they become available, giving users access to the most up-to-date software at all times. Unlike traditional distributions that release major versions on a set schedule, a rolling release constantly evolves without requiring a full system upgrade.


Rolling Releases and Courseware

Our platform helps educators teach effectively. To do so, many instructors create courseware, handouts, and/or labs. Naturally, we want those materials to continue working next semester — or even next year.

Unfortunately, rolling releases often make courseware unstable within just 3 to 6 months, especially as content grows in complexity and depends on specific tool versions.


Locking Releases

Due to recurring issues experienced by customers using Kali Linux in classes, the Cyber Range has mirrored the Kali software package repository into what we call a “Repository Vault”. This vault is a point-in-time copy which should lend consistency and stability to the Kali Linux deployments.

The Repository Vault supports the use of apt and other standard package tools, however, the available packages are locked to this specific point in time. This ensures that students are able to experience a consistent environment throughout the semester and instructors can rely on their courseware to function as intended.

Since the package versions do not change, users do not receive the latest updates. If a software or tool requires a newer version than what is available in the Vault, you will need to find an alternative installation method such as downloading the package manually or building it from source.


Unlock Kali’s Software Repository

One potential way to unlock the software repository, which allows for newer versions of software to be installed by apt, is to modify

/etc/apt/sources.list

and comment out the Cyber Range’s vault, and un-comment the official repository. This will then allow you to update Kali. However, that the act of updating Kali, especially after 6-12 months from release, causes other new problems – which is why we disabled this in our images.

We update Kali yearly and, with that update, we will rebuild Kali with a new updated Vault.


Have a Question? Contact Support

We're here to help you. If you still have questions after reviewing the information above, please feel free to submit a ticket with our Support Team and we'll get back to you as soon as possible.