Skip to main content

Command Palette

Search for a command to run...

Setting Up Your First CTF Environment on Kali Linux

Published
1 min read
C
Offensive security researcher, CTF competitor, and educator. Founder of CTFSecurity — delivering professional penetration testing and free security education for the community.

Getting started with CTF competitions requires a proper environment. In this guide, we'll set up a clean Kali Linux workspace optimized for CTF challenges.

What You'll Need

  • Kali Linux (latest version)

  • VirtualBox or VMware

  • At least 4GB RAM allocated

Step 1 - Update Your System

Always start fresh:

sudo apt update && sudo apt upgrade -y

Step 2 - Install Essential Tools

sudo apt install -y gobuster ffuf feroxbuster john hashcat bloodhound

Step 3 - Set Up Your Directory Structure

mkdir -p ~/ctf/{htb,thm,competitions}/{active,completed}

This keeps your work organized across platforms.

Step 4 - Connect to HackTheBox or TryHackMe

Download your VPN config from the platform and connect:

sudo openvpn your-vpn-file.ovpn

You're ready to hack. Happy hunting!