To create a custom (non-persistent) Kali Linux live-build environment with Aircrack-ng, Fluxion, and other tools pre-installed, you can follow these steps:
- Install the necessary dependencies:
sudo apt-get update
sudo apt-get install live-build pbuilder debootstrap
- Create a source list for the Kali repositories:
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list.d/kali.list
- Import the Kali Linux GPG key:
wget -q -O - http://archives.kali.org/archive-key.asc | sudo apt-key add -
- Create a live-build configuration file:
sudo nano /etc/live-builds/kali-custom
- Add the following content to the configuration file:
# Kali Linux Custom Live Build
# Base system
aarch64 CODENAME kali-rolling
# Architecture
arch i386 amd64
# Desktop environment
desktop kde
# Packages
packages aircrack-ng fluxion
# Install packages from sources
src aircrack-ng fluxion
# Sources list
sourceslist /etc/apt/sources.list.d/kali.list
# GPG key
gpgkey http://archives.kali.org/archive-key.asc
- Build the custom live image:
sudo live-build --build --force-architecture i386,amd64 kali-custom
- Once the build is complete, you can find the live image in the
/var/cache/live-builds/kali-custom/directory.
This process will create a custom Kali Linux live image with Aircrack-ng and Fluxion pre-installed. You can use this image to create bootable USB drives or ISO files for your custom Kali Linux environment.
References: