BlackArchLinux is a lightweight expansion to Arch Linux for penetration testers.
The toolset is distributed as an Arch Linux unofficial user repository so you can install BlackArchLinux on top of an existing Arch Linux installation. Packages may be installed individually or by category.
We currently have over 650 tools in our toolset and the repository is constantly expanding. All tools are thoroughly tested before being added to the codebase to maintain the quality of the repository.
You can get in touch with the blackarch team. Just check out the following:
Please, send us pull requests!
Web: http://www.blackarch.org/
Mail: [email protected]
IRC: irc://irc.freenode.net/blackarch
Add this to
/etc/pacman.conf
:
[blackarch]
Server = http://www.blackarch.org/blackarch/$repo/os/$arch
For package signing, pull in and sign the package signing keys:
# pacman-key -r 4345771566D76038C7FEB43863EC0ADBEA87E4E3
# pacman-key --lsign-key 4345771566D76038C7FEB43863EC0ADBEA87E4E3
Now run
# pacman -Syyu
You may now install tools from the blackarch repository. To list all of the available tools, run
# pacman -Sgg | grep blackarch | cut -d' ' -f2 | sort -u
To install all of the tools, run
# pacman -S blackarch
To install a category of tools, run
# pacman -S blackarch-<category>
To see the blackarch categories, run
# pacman -Sg | grep blackarch
Install blackarch-install-scripts package
# pacman -S blackarch-install-scripts
Follow this guide
1. # blackarch-install
2. Select Install Mode:
1. Install from LiveCD.
- It will dump the current Live image into your hard drive.
2. Install from BlackArch Official Repository.
- It will install base system from Arch Linux and
add Black Arch Linux packages from the official repository
into your hard drive. You can choose the packets to install.
3. Install from Blackman.
- It will install base system from Arch Linux and
will download and compile all the BlackArch Linux packages
from their source according to PKGBULD files.
3. Partitioning:
3.1. Set the device you want to install BlackArch Linux in.
-> i.e. /dev/sda (default one)
3.2. Choose Partition Mode:
* At the moment, only /boot and / root partition are supported.
* We will add optional /home and Swap in future releases.
1. Automatic - only empty HD! new partitions will be created in
/dev/sda1 and /dev/sda2.
- This mode its thinking for Virtual Machines environment,
where hard disk isnt contain any partitions already.
It will create by default sda1 for /boot partition
and sda2 for / root partition. Also, it will format
/boot partition with ext2 type and / root partition with
ext4 type.
- The only configurable thing here its the size of both
partitions. Set it by default to 100MB for /boot and
10GB for / root partition.
- WARNING: this mode isnt tested properly in non Virtual
Machine box. So do not used it at least you know what
you are doing. You had been warned bitch. ;)
2. Manual - set manual partitions with cfdisk and format them.
- This mode will run cfdisk utility for partition creation.
Once you have set up your proper /boot and / root partition,
dont forget to Write and you are good to go.
It will ask you when Quit for the /boot and / root partition
number chosed, also the partition type is required for
format purposes.
4. Install
- BlackArch Linux will be now installed into your hard drive.
This will take a while.
5. Setup up root password.
6. Setup normal user account (optional).
7. Grub install (automatic)
8. Reboot and enjoy your BlackArch distro.