Kali Linux ARM build scripts
Shell C
Switch branches/tags
Nothing to show
Clone or download
Steev Klimaszewski
Latest commit acaa937 Jul 18, 2018
Permalink
Failed to load latest commit information.
kernel-configs Enable CH341 module in chromebook kernel configs Jun 29, 2018
misc rpi3*: Create libfakeioctl for properly working with apps Jul 5, 2018
patches patches: Add 4.14 and 4.16 wifi injection patches Jul 4, 2018
.gitignore Update gitignore to ignore img files Jun 21, 2018
LICENSE Initial commit Oct 29, 2013
README.md Merge remote-tracking branch 'origin/master' Jun 17, 2018
banana-pi.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
banana-pro.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
bbb.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
build-deps.sh build-deps: We need libfl-dev for the libl.a file Jul 10, 2018
chromebook-arm-acer.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
chromebook-arm-exynos.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
chromebook-arm-veyron.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
cubieboard2.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
cubietruck.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
cubox-i.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
cubox.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
efikamx.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
kalitap.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
luna.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
mini-x.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
nanopi2.sh nanopi2: Regenerate ssh keys, and resize filesystem on first boot Jul 17, 2018
nanopi3.sh nanopi3: symlink fw_printenv to fw_setenv to actually set the environ… Jul 17, 2018
odroid-c.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
odroid-c2.sh some: Make sure man-db is installed so people have man pages Jul 14, 2018
odroid-u2.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
odroid-w-devkit.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
odroid-w.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
odroid-xu.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
odroid-xu3.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
riot.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
rpi-hyperpixel.sh rpihyperpixel: Make the script executable too... Jul 18, 2018
rpi-tft.sh rpi/tft: Increase image size to 4.5GB because of the kernel git checkout Jul 16, 2018
rpi.sh rpi/tft: Increase image size to 4.5GB because of the kernel git checkout Jul 16, 2018
rpi0w-nexmon-p4wnp1.sh rpitft/p4wnp1: Add size check of rootfs before syncing so we get it i… Jul 16, 2018
rpi0w-nexmon.sh some: Make sure man-db is installed so people have man pages Jul 14, 2018
rpi2.sh rpi2: Fix kernel headers version typo Jul 16, 2018
rpi3-nexmon-hyperpixel.sh rpi2/3: Update to latest 4.14.50 kernel debs Jul 16, 2018
rpi3-nexmon.sh rpi2/3: Update to latest 4.14.50 kernel debs Jul 16, 2018
trimslice.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
usbarmory.sh most: Make sure we copy the bashrc for the root user Jul 12, 2018
utilite.sh all: Quote the basedir, maybe this will help with things Jul 12, 2018

README.md

Kali-ARM-Build-Scripts

Offensive Security Kali Linux ARM build scripts. We use these to build our official Kali Linux ARM images, as can be found at http://www.kali.org/downloads/

  • These scripts have been tested on a Kali Linux 32 and 64 bit installations only, after making sure that all the dependencies have been installed.

  • Make sure you run the build-deps.sh script first, which installs all required dependencies.

  • You will need to use the cross compilers from our github account.

armel images (RPi) will use https://github.com/offensive-security/gcc-arm-eabi-linaro-4.6.2

armhf images will use https://github.com/offensive-security/gcc-arm-linux-gnueabihf-4.7

arm64 images (ODROID-C2) will use https://releases.linaro.org/archive/14.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz

A sample workflow would look similar to (armhf):

mkdir ~/arm-stuff
cd ~/arm-stuff
git clone https://github.com/offensive-security/gcc-arm-linux-gnueabihf-4.7
export PATH=${PATH}:/root/arm-stuff/gcc-arm-linux-gnueabihf-4.7/bin
git clone https://github.com/offensive-security/kali-arm-build-scripts
cd ~/arm-stuff/kali-arm-build-scripts
./build-deps.sh
./chromebook-arm-samsung.sh 1.0

If you are on 32bit, after the script finishes running, you will have an image file located in ~/arm-stuff/kali-arm-build-scripts/chromebook-1.0/ called kali-1.0-chromebook.img and a sha1sum file for it. You will need to use your own preferred compression if you want to distribute it.

On 64bit systems, after the script finishes running, you will have 3 files located in ~/arm-stuff/kali-arm-build-scripts/chromebook-1.0; the sha1sum for the uncompressed image file, the image file compressed via xz, and the sha1sum file for the compressed image file.

Last Updated : 8th June, 2018 21:12:35 UTC