LESSON 10 · BEGINNER10 min read

Install and Verify the Core Security Toolkit

Understand what Kali already includes, install the remaining core tools on Kali or Ubuntu, verify each version, and keep a reproducible toolkit record.

OWASP Top 10 · MITRE ATT&CK · NIST CSF 2.0Free to readModule 3 of 14
YOUR NEXT SMALL WINS

By the end, you’ll be able to…

  • Distinguish tools that ship with Kali from packages you must install.
  • Install the core network, web, password, and framework tools from trusted sources.
  • Verify every tool with a version command and record the result.
  • Troubleshoot missing packages, permissions, and display problems without guessing.

01Know What Is Already Installed

Kali Linux is a Debian-based distribution built for security work. It uses a rolling release model, so packages update frequently. Much of the toolkit is preinstalled through metapackages such as kali-linux-default, which pulls in hundreds of tools grouped by purpose. Ubuntu is a general-purpose distribution; it has good security packages, but you install most of them yourself. Neither choice makes you a better or worse tester. The lab is what matters.

Before installing, check what exists. command -v nmap prints the path if the program is on PATH. dpkg -l | grep -i nmap lists installed packages. apt-cache policy nmap shows the installed and candidate versions and which repository provides them. On Kali, also check the applications menu and the Kali tools page. A missing menu entry does not always mean a missing package.

Learn three package words. A package is an archive of files plus metadata: name, version, dependencies, and scripts. A repository is a trusted source of packages, usually signed. A dependency is another package that must be installed for the first one to work. apt resolves dependencies and checks signatures; that is why installing from the distribution is safer than downloading random binaries.

Take a snapshot before a large install. Record the current package list with dpkg --get-selections > packages-before.txt and apt-mark showmanual > manual-before.txt. If an install pulls in a conflicting service or changes a library, you can compare, revert, or remove it deliberately. A snapshot is faster than reconstructing a working desktop from memory.

Do not add random PPAs, third-party repositories, or curl | bash installers from tutorials. A package repository can run maintainer scripts as root. Use official project documentation and distribution packages. If a project only ships a binary, verify its checksum and signature, read the install script, and install it as a normal user where possible. This is the same supply-chain judgement you will apply to any software.

02Install the Network and Web Toolkit

On Kali, update first with sudo apt update, then install or confirm the core set with sudo apt install -y nmap wireshark tcpdump sqlmap gobuster ffuf nikto whatweb burpsuite. Many will already be installed; apt will say so. On Ubuntu, use the same command without burpsuite, and enable the universe repository if a package is missing. Metasploit is not in the Ubuntu repositories; follow the official Rapid7 documentation or use Kali for that tool.

Each tool answers a different question. Nmap discovers hosts and services. Wireshark analyses packets in a graphical interface; tshark is its command-line sibling; tcpdump captures packets without a GUI. Burp Suite is an intercepting proxy for web traffic. sqlmap automates detection and exploitation of SQL injection. Gobuster and ffuf discover files, directories, and virtual hosts. Nikto checks web servers for common issues. Whatweb fingerprints web technologies. None of them replaces understanding the protocol.

Wireshark needs special permissions to capture packets. During installation, Debian and Ubuntu ask whether non-superusers should be able to capture; choose Yes if you understand the risk, then add your user to the wireshark group with sudo usermod -aG wireshark $USER and log out and back in. If you prefer not to grant that access, run tshark with sudo for lab captures. Never capture traffic on a network you do not own.

Burp Suite Community Edition is free. Download it from the official PortSwigger page, compare the published SHA-256 checksum with sha256sum, make the installer executable with chmod +x, and run it. On Kali, the burpsuite package is an alternative. Community Edition has limitations: its projects are temporary compared with Professional, and some scanner features are restricted. For this course, the proxy, Repeater, and manual testing are enough. A desktop environment is required; Burp is not a headless tool.

Install the remaining tools on Kali with sudo apt install -y hydra john hashcat metasploit-framework. On Ubuntu, install hydra, john, and hashcat from the repositories, and use official documentation for Metasploit. Install Python tooling with sudo apt install -y python3 python3-pip pipx, then pipx ensurepath and restart your shell. Use pipx or a virtual environment for Python command-line tools; do not pip install into the system Python, which recent distributions block to protect the operating system.

install-toolkit.shShell
# Kali Linux: install or confirm the core toolkit.sudo apt updatesudo apt install -y nmap wireshark tcpdump sqlmap gobuster ffuf nikto whatweb burpsuitesudo apt install -y hydra john hashcat metasploit-frameworksudo apt install -y python3 python3-pip pipxsudo usermod -aG wireshark $USERpipx ensurepath# Ubuntu: the same set without Kali-only packages.# sudo apt install -y nmap wireshark tcpdump sqlmap gobuster ffuf nikto whatweb# sudo apt install -y hydra john hashcat python3 python3-pip pipx# After a group change, log out and back in before capture tests.groups
Outputstdout
Reading package lists... Done
nmap is already the newest version (7.95-1).
wireshark is already the newest version (4.2.2-1).
The following NEW packages will be installed:
  ffuf gobuster nikto sqlmap whatweb
...
Adding user analyst to group wireshark
Success. Run 'newgrp wireshark' or log out and back in.

03Install the Password, Hash, and Framework Tools

Hydra tests login services with supplied usernames and password lists. It is an online attack: every attempt reaches the target, so it can lock accounts or fill logs. Use it only against a lab service you built, with a synthetic account and a short list. John the Ripper and Hashcat are offline crackers: they work on hash files you already possess, not on a live login prompt. John is flexible and CPU-friendly; Hashcat uses GPUs and supports many hash modes. Extracting password hashes from a system you do not own is unauthorised access, even if you never crack them.

Metasploit Framework is an exploitation and payload framework. It can make a complicated chain easy to run, which is exactly why it demands scope discipline. msfconsole starts it; the first launch may initialise a database. Use it only against a deliberately vulnerable lab target you control. A module that looks harmless can open a session, change a service, or leave a payload behind. Know what the module does before you run it.

Python is the glue of security tooling. python3 --version and pipx --version confirm the runtime and the installer. pipx creates an isolated virtual environment for each command-line tool, so one tool's dependencies do not break another. Use pipx install NAME for tools packaged on PyPI, and pipx list to see what is installed. If a project requires a development checkout, use a venv instead of installing into the system Python.

Some tools need extra data, drivers, or first-run setup. Hashcat needs an OpenCL runtime; in a VM it may run on the CPU and be slow, and hashcat -I shows which devices it can see. John the Ripper has several builds; the Kali package is the jumbo version with many hash formats. Wireshark may need a display, and Burp definitely does. Read the first-run messages instead of assuming the tool is broken.

Licences and editions matter. Burp Suite Community is free but limited; Metasploit Framework is open source while Metasploit Pro is commercial; some wordlists and plugins have their own terms. Reading a licence is part of tool selection. In a professional engagement, the client may also restrict which tools may be used or which data may leave the network.

04Verify Every Tool and Record the Version

A tool is not installed until you have run it and read its version. Version output proves three things: the program starts, the expected binary is on PATH, and you know which behaviour to expect. It also makes your notes reproducible. A report that says 'used nmap' is weaker than one that says 'Nmap 7.95, command saved, output saved'.

Most tools accept --version. Some do not. Hydra prints its version at the top of its help output, so use hydra -h and read the first lines. Nikto uses -Version with a capital V. Gobuster uses a version subcommand. Burp is a GUI application; read Help > About. When a flag does not work, check the manual rather than trying variants until something happens.

Record more than the version number. Note the package name, the repository, the install date, and the command you used to verify it. For a manually downloaded installer, record the SHA-256 checksum and the download URL. If the tool later behaves differently, this table tells you whether an update, a configuration change, or a different binary is responsible.

Use package metadata for the authoritative version when available: dpkg -s nmap | grep Version. The program's own output may include a build number or a bundled library version that differs from the package version. Both are useful; label which one you recorded. For Python tools installed with pipx, pipx list shows the version and the virtual environment.

Keep a version table in Markdown and update it after every change. A table is easy to diff, easy to paste into a report, and easy to review before a project. It also exposes drift: if Kali's rolling updates move three tools in one week, you will see it and can re-test the commands in your notes.

verify-toolkit.shShell
nmap --version | head -n 1tshark --version | head -n 1tcpdump --versionsqlmap --versionhydra -h 2>&1 | head -n 3john --versionhashcat --versiongobuster version | head -n 1ffuf -Vnikto -Version | head -n 1whatweb --versionmsfconsole --versionpython3 --versionpipx --versioncommand -v nmap sqlmap hydra# Authoritative package version from apt.dpkg -s nmap | grep Version
Outputstdout
Nmap version 7.95 ( https://nmap.org )
TShark (Wireshark) 4.2.2 (Git commit 4.2.2-1)
tcpdump version 4.99.4
1.8.2#stable
Hydra v9.5 (c) 2023 by van Hauser/THC
john-1.9.0-jumbo-1
v6.2.6
3.6
ffuf version: 2.1.0
Nikto 2.5.0
WhatWeb version 0.5.5
Framework Version: 6.4.0-dev
Python 3.12.3
1.4.3
/usr/bin/nmap
/usr/bin/sqlmap
/usr/bin/hydra
Version: 7.95-1

05Keep a Version Table and a Smoke Test

A version table is a living inventory, not a certificate. Columns should include the tool, package name, verification command, observed version, source, and date. Add a notes column for build details, missing features, or a known limitation. When a tool is updated, add a new row rather than overwriting the old one; the history shows what changed between projects.

A smoke test is a harmless command that proves the tool starts and can read its configuration. nmap --version, tshark -D to list interfaces, sqlmap --version, hashcat -I, and msfconsole --version are good examples. Do not use an intrusive scan as a smoke test. If a smoke test fails, fix it before you plan an experiment; a tool that cannot print its own version will not produce trustworthy evidence.

After a large update, run the smoke tests again and compare the table. If a version changed, re-read the release notes for flags or defaults that affect your saved commands. Kali's rolling release is convenient, but it means the toolkit you verified last month is not necessarily the toolkit you have today. The table turns that drift into a visible, testable event.

Export the package list after verification with dpkg --get-selections > packages-installed.txt and apt-mark showmanual > packages-manual.txt. These files are small, easy to store, and useful when you rebuild the lab. They do not replace a snapshot or a backup, but they tell you exactly what you had when the table was written.

toolkit-inventory.mdMarkdown
# Toolkit inventory| Tool | Package | Verify command | Version observed | Verified on || --- | --- | --- | --- | --- || Nmap | nmap | nmap --version | 7.95 | 2026-11-01 || TShark | wireshark | tshark --version | 4.2.2 | 2026-11-01 || tcpdump | tcpdump | tcpdump --version | 4.99.4 | 2026-11-01 || sqlmap | sqlmap | sqlmap --version | 1.8.2 | 2026-11-01 || Hydra | hydra | hydra -h | 9.5 | 2026-11-01 || Hashcat | hashcat | hashcat --version | 6.2.6 | 2026-11-01 || Gobuster | gobuster | gobuster version | 3.6 | 2026-11-01 |Source: Kali Linux apt repository, installed 2026-11-01.Snapshot after verification: 03-toolkit-verified.
LET IT CLICK

The ideas worth keeping.

  • Kali ships many tools, but installation is not verification; run each tool and read its version.
  • Use distribution packages and official downloads, and verify checksums before installing binaries.
  • Different tools answer different questions; learn the purpose before memorising flags.
  • A version table and smoke tests make the toolkit reproducible and expose drift after updates.
TURN UNDERSTANDING INTO SOMETHING YOU CAN DO

Make it yours.

Type and test your code right here in the interactive workspace. Run your solution, check the output, and compare with the worked guide when ready.

01

Exercise 1: Install and verify two network tools

Install nmap and tshark on your Kali VM, confirm both binaries are on PATH, run their version commands, and capture one line of output from each. Describe what you would check if tshark reported that it could not find an interface.

Explore a worked solution
one_possible_solution.mdCybersecurity
sudo apt update
sudo apt install -y nmap tshark
command -v nmap tshark
nmap --version | head -n 1
tshark --version | head -n 1
tshark -D

Expected: a path such as /usr/bin/nmap, a line beginning with 'Nmap version', a line beginning with 'TShark', and a numbered list of interfaces. If tshark cannot find an interface, check that the VM has a network adapter, run ip -brief address, confirm your user is in the wireshark group, and log out and back in. If there is still no interface, test with sudo tshark -D and read the error.

command -v proves PATH, the version command proves the binary starts, and tshark -D proves it can see capture interfaces. Those are three different checks, and a tool can pass one while failing another.

02

Exercise 2: Build a five-row version table

Choose five tools from this lesson. Verify each one, record the package name, command, version, source, and date in a Markdown table. Then explain how you would investigate a package name that no longer exists.

Explore a worked solution
one_possible_solution.mdCybersecurity
Example rows:
| Nmap | nmap | nmap --version | 7.95 | Kali apt | 2026-11-01 |
| sqlmap | sqlmap | sqlmap --version | 1.8.2 | Kali apt | 2026-11-01 |
| Hydra | hydra | hydra -h | 9.5 | Kali apt | 2026-11-01 |
| Hashcat | hashcat | hashcat --version | 6.2.6 | Kali apt | 2026-11-01 |
| Gobuster | gobuster | gobuster version | 3.6 | Kali apt | 2026-11-01 |

If a package name disappears, run apt search KEYWORD and apt-cache search KEYWORD, check the project's official install page, and read the distribution release notes. The binary name may differ from the package name, so also try command -v BINARY and dpkg -l | grep -i KEYWORD. Do not add an unknown repository as a shortcut.

The table is evidence of a working install, not just a list. When a name changes, the package search and official documentation tell you whether the tool moved, split, or was replaced.

A SMALL QUESTION. A USEFUL NEXT STEP.

What stayed with you?

Check the ideas while they’re fresh. Your answers stay in this page and feedback appears as you go.

A LITTLE ACTIVE RECALL0 / 3 answered
01Which command verifies that nmap starts and reports its version?
02Why should you compare a downloaded installer with its published SHA-256 checksum?
03What is pipx designed to do?

Keep exploring.

The official references behind this lesson, when you want a second angle or the full details.

One lesson closer.

Reading is a start. Trying it yourself makes the connection.

Completion is saved in this browser. It records reading and hands-on practice progress.