BlackArch Wiki

FAQ

Is BlackArch Linux the right pentesting distribution for me?

BlackArch Linux is a Linux pentesting distribution based on ArchLinux. If you’re not familiar with ArchLinux, or Linux in general, we strongly suggest you avoid BlackArch due to the learning curve for new users.

Where do I start with BlackArch?

You must first get an ISO on the downloads page and install it by following the instructions of the installation script. You can find a installation guide to show the step by step process. If you encounter any problems and need help, the best place to ask is our Matrix channel.

Is BlackArch Linux up to date?

BlackArch is constantly being updated and offers the latest packages available on Github. We release a new ISO four times a year (quarterly). These new images contain packages that are up to date, and usually include bug fixes. If you find any package that is outdated and wish to see it up to date, please report it as an issue on our Github repository.

How can I fetch/install the latest update available?

By simply running pacman -Syu --needed --overwrite='*' blackarch. This command requires root privileges.

Why do I get invalid keyring signature?

It could happen for a wide range of reasons. Below you will find a few suggestions.

  • You don’t have an internet connection (as you can imagine, a rare problem and can be verified quickly).
  • You may have a DNS problem, that can’t resolve pgp.mit.edu accordingly. Please check your DNS settings (pgp.mit.edu works best with 8.8.8.8 DNS Server).
  • You may have a network issue, different from the above one, which is hard for us to help since it can be a myriad of things e.g. DNS caching.
  • You may have a clock/time issue.
  • You may have something blocking your communication with mit.edu.server e.g. firewall.
  • If you’re connected through a VPN, try to temporarily disable it and run strap.sh again.
  • Your keyring signatures may be out of date, this can be resolved by running pacman -Sy && pacman -S archlinux-keyring blackarch-keyring

After testing al lthe items described above, if you stil have problems using strap.sh, try the options below:

1st option:

rm -rf /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux blackarch
pacman-key --update --keyserver keyserver.ubuntu.com

2nd option:
You could try to change to pgp.mit.edu’s IP address using the following command:
nslookup pgp.mit.edu | awk '/^Name:/ {N=$2}; /^Address:/ {A=$2}; END {print A}'
then run:

curl -O https://blackarch.org/strap.sh
chmod -x strap.sh
sha1sum strap.sh
sh strap.sh

3rd option:
You could try to temporarily switch to another mirror:
sudoedit /etc/pacman.d/blacakrch-mirrorlist
It’s very important to follow the suggestions above as well as checking the ArchLinux Wiki to assist you as needed. If you still encounter any problems; pay us a visit at #BlackArch.

4th option:
Easiest Option Update the Arch Linux and BlackArch Linux keyrings which will refresh all the keys and automatically resolve curruption.

pacman -S archlinux-keyring blackarch-keyring && pacman -Syu

Where can I get help for a problem that I’m facing?

Depending on the problem you’re facing, you can visit our Github and submit an issue on our issue page, such as:

You can also take some time to browse our other repositories.
If you still cannot find a solution to your problem, visit our Matrix channel and ask for help. But please be advised, BlackArch users are in different parts of the globe (different time zones). Therefor, be patient. Ask your question clearly and wait for a reply.

How can I contribute to BlackArch?

BlackArch Linux is a huge project, we are adding new applications and features everyday.
If you would like to help us with anything, visit our Matrix channel. Just remember to wait for a reply, we are in different time zones.

Troubleshooting

Checkout the troubleshooting for more solutions to common problems.