This Linux distribution might have different package manager than many have used to, but it has one of the greatest wikis for possible problem situations. See Arch Linux Wiki.
This virtual machine has only those tools included that are needed to do the most of the exercises in the course, in case you don't have enough space on hard drive. Package ecosystem is also much better than in Kali Linux, if you are willing to install more by yourself.
Image is distributed in OVA format and uses Gnome Desktop Environment as default.
VirtualBox 6.1 guest additions included. Use same version for the best experience.
For VMware, open-vm-tools are included.
- Username: arch
- Password: arch
You can directly install Black Arch tools if you need some special ones. Only few which are mandatory, are preinstalled to save the space.
See their tools section for available tools.
Update package index
sudo pacman -Sy
Install package (You can look from here https://archlinux.org/packages/ for official packages and https://blackarch.org/tools.html for pentesting tools.)
sudo pacman -S <package-name>
Remove package
sudo pacman -R <package-name>
Upgrade all packages
sudo pacman -Syu
Clean package cache:
sudo pacman -Sc
Installing AUR packages (from https://aur.archlinux.org/packages/)
Arch Linux has huge user supplied package ecosystem, which is located in the different repository. See https://aur.archlinux.org/packages/. Usually you need some kind of helper for installing these packages.
yay
helper has been pre-installed for installing AUR packages.
Install AUR package (Note, that sudo not included)
yay -S <aur-package-name>
Remove AUR package
yay -R <aur-package-name>
Upgrade all packages
yay
Afl test cases are in different location /usr/share/afl/testcases/
Restart apache with
sudo systemctl restart httpd.service
For compiling 32-bit versions of the binaries, 32-bit support must be enabled. This is not implemented in the provided VM version by default.
Edit file /etc/pacman.conf
Uncomment the following lines:
[multilib]
Include = /etc/pacman.d/mirrorlist
Then install 32-bit development packages:
sudo pacman -Sy && sudo pacman -S multilib-devel
Task 3A might not be possible to do directly on Arch Linux (protected). It is possible to implement this in Kali based Docker image for example.
Some tools are missing, but this is intentional.