Skip to main content

The Basic Toolkit for Penetration Testing

Preserved article

This older publication is retained for research history. Current technical applicability has not been asserted; validate versions, commands, and assumptions before use.

Cover image
Article Metadata

Ecosystem Fit​

This page mirrors the original Medium article into the 1200km.com Docusaurus ecosystem. The original article flow, images, screenshots, infographics, and technical blocks are preserved from the export.

Unlocking Vulnerabilities: A Comprehensive Guide to Essential Tools for Pen Testing​

Introduction​

  • Penetration testing is the cornerstone of identifying and addressing vulnerabilities in systems.

  • Success depends not only on skills but also on having the right tools tailored to each phase of the pen-testing lifecycle.

Linux Configuration​

Penetration testers often use Linux as their base OS. Here are essential tools for configuring and optimizing your Linux environment for pen-testing:

Kali Linux: The Standard for Penetration Testing​

Article image

What is Kali Linux? Kali Linux is a Debian-based Linux distribution designed specifically for penetration testing and security auditing. It comes pre-installed with hundreds of tools for various security tasks.

Official site here:

  • My full guide about Kali linux under construction

Key Features of Kali Linux

  • Pre-Installed Tools: Includes Nmap, Metasploit, Burp Suite, and more, covering everything from reconnaissance to exploitation.

  • Wide Community Support: Extensive documentation and an active user community make it ideal for beginners.

  • Rolling Updates: Always up-to-date with the latest security tools and features.

  • Customizability: Offers a variety of desktop environments and installation options, including VirtualBox images and WSL (Windows Subsystem for Linux).

When to Choose Kali Linux

  • You are new to penetration testing and need a straightforward, ready-to-use environment.

  • You require a versatile distribution that works out of the box on various platforms.

Parrot Security OS: Lightweight and Privacy-Focused​

Article image

What is Parrot Security OS? Parrot Security OS is another Debian-based distribution tailored for penetration testers and security researchers, with a strong emphasis on privacy and anonymity.

Official site here:

  • My full guide about Parrot OS under construction

Key Features of Parrot Security OS

  • Anonymity Tools: Built-in Tor and anonymous browsing tools for stealth operations.

  • Lightweight Design: Consumes fewer resources compared to Kali, making it ideal for older hardware or virtual machines.

  • Pre-Configured Security Tools: Includes tools for pen-testing, forensics, and reverse engineering.

  • Sandboxing Features: Provides a more secure testing environment through isolation.

When to Choose Parrot Security OS

  • You prioritize privacy and anonymity in your penetration testing tasks.

  • You need a lightweight alternative to Kali Linux for lower-spec systems.

BlackArch Linux: A Robust Choice for Advanced Penetration Testers​

Article image

In addition toKali Linux,Parrot Security OS, and custom setups with Debian/Ubuntu,BlackArch Linuxis a powerful option for penetration testers, especially those looking for a highly customizable and extensive toolkit.

What is BlackArch Linux?​

BlackArch Linux is a lightweight, Arch Linux-based distribution tailored for penetration testers and security researchers. It provides a repository of over 3,000 security tools, making it one of the most extensive options available.

Official site is here:

My full guide about BlackArch is under construction

Key Features of BlackArch Linux​

  • Extensive Toolset:

  • The largest repository of penetration testing and security tools, including categories like forensics, exploitation, web application testing, and reverse engineering.

2. Highly Customizable:

  • Built on Arch Linux, it allows users to fine-tune their environment for performance and specific needs.

3. Minimalist Design:

  • Starts as a minimal installation, enabling users to add only the components and tools they need.

4. Compatibility with Arch Linux:

  • Users can install BlackArch tools on top of an existing Arch Linux installation.

5. Advanced Package Management:

  • Leverages the Pacman package manager for efficient installation and updates.

When to Choose BlackArch Linux​

  • You’re an experienced Linux user comfortable with Arch Linux and its command-line package management.

  • You require an extensive, modular toolkit for specialized penetration testing tasks.

  • You prefer a distribution that can integrate seamlessly with an existing Arch Linux environment.

Debian/Ubuntu + Custom Setup: Build Your Own Toolkit​

Article image

What is a Custom Debian/Ubuntu Setup? A custom setup allows you to use Debian or Ubuntu as the base OS and selectively install only the tools you need, creating a streamlined, personalized pen-testing environment.

Full guide how to customise your Ubuntu for Pen Test under construction

Key Features of a Custom Debian/Ubuntu Setup

  • Full Control: Install only the tools and packages you require for specific tasks.

  • Stable and Reliable: Based on robust, well-supported Linux distributions.

  • Broad Compatibility: Works well on various hardware and virtual machines.

  • Wide Software Support: Access to extensive software repositories and package managers (e.g., APT).

When to Choose a Custom Debian/Ubuntu Setup

  • You prefer a lightweight and minimalist environment tailored to your workflow.

  • You already have experience configuring Linux systems from scratch.

Comparison with Kali, Arch, Parrot and Custom​

  • Kali Linux: Ideal for beginners with its user-friendly interface and broad community support.

  • Parrot Security OS: Focuses on privacy and anonymity, making it great for scenarios requiring stealth.

  • BlackArch Linux: Best suited for advanced users who need maximum flexibility and a large repository of tools.

  • Debian/Ubuntu + Custom Setup: Create your pen-testing toolkit by installing necessary tools.

Tools​

Reconnaissance and OSINT Tools​

Effective penetration testing starts with gathering intelligence about the target system.

Full guide to recconnaissance here:

**OWASP Amass:**is an open-source tool for in-depth domain reconnaissance, asset discovery, and network mapping.

Article image

Full guide to OWASP Amass here

Official site here

theHarvester:is an open-source reconnaissance tool for gathering domain-related data, including emails, subdomains, and IPs.

Article image

Full guide to theHarvester here

Official site here

Sublist3r:An open-source reconnaissance tool for discovering subdomains associated with a target domain.

Article image

Full guide to Sublist3r here:

Official site here

Shodan: is a search engine for internet-connected devices, enabling users to discover exposed servers, IoT devices, webcams, and industrial systems.

Article image

Full explanation about Shodan here:

Official site here

**Censys:**a comprehensive cybersecurity platform, offers an expansive view of the internet’s infrastructure.

Article image

Full explanation about Cencys here:

Official site here

Recon-ng: Modular OSINT framework.

Hunter.iois a tool for finding and verifying professional email addresses linked to specific domains

Maltego: Visual link analysis for OSINT investigations.

SpiderFoot: Automated reconnaissance tool with integration capabilities.

Vulnerability Scanning and Enumeration​

Full guide to Scanning and Vulnerability Assessment here

Network Scanning​

**Basic Command Line Tools for Network Exploration:**Ping, Netdiscover, Whois, nslookup:

Full explanation about this tool here:

Nmap: Nmap (Network Mapper) is an open-source Powerful tool used for network discovery and security auditing, allowing users to scan for open ports, identify services, and detect operating systems on target systems. (Zenmap: GUI version of Nmap.)

Article image

Full explanation about Nmap here:

Official site here

WhatWeb: Command-line tool for tech stack fingerprinting.

Article image

Full explanation about WhatWeb here

Official site here

**Nikto:**A web server scanner which performs comprehensive tests against web servers for multiple items, including over 6700 potentially dangerous files/programs.

Article image

Full guide to scanning Web App with Nikto here:

Official site here:

**OWASP ZAP:**Provides automated scanners and a set of tools for manual vulnerability testing.

Article image

Full guide to scanning Web App with OWASP ZAP here:

Official site here

SQLMap: Automates SQL injection testing and even allows exploitation of detected vulnerabilities.

Article image

Full explanation about SQLMap here

Official site here:

Dirbuster: Brute-forces directories and files using wordlists.

Article image

**Burp Suite:**Burp Suite is a comprehensive web application security testing platform developed by PortSwigger. It is designed to provide a variety of tools that allow security professionals to perform extensive testing of web applications.

Article image

Full guide to scanning Web App with BurpSuite here:

How to use burp to crack Web Authentication interface here

Official site here

Wappalyzer: Browser extension to identify technologies on web pages.

Very good and powerfull but not free.

BuiltWith: Analyzes the tech stack and integrations used by websites.

Password Cracking​

Aircrack-ng: Suite for WiFi network security testing and password recovery

Article image

Full guide to Aircrack-ng here:

Official site here

John the Ripper: Ultimate Password cracking tool.

Article image

Full guide to John the Ripper here:

Official site here

Hashcat: GPU-accelerated password recovery tool.

Article image

Full guide to Hashcat here:

Official site here:

Hydra: Network logon cracker supporting different protocols.

Article image

Full guide to Hydra here:

Official site here

Exploitation Tools​

Metasploit Framework: Comprehensive tool for finding and exploiting vulnerabilities.

Article image

Full guide to Metasploit is under construction

Cracking SSH with Metasploit here

Post-Exploitation and Lateral Movement Tools​

Once inside the system, leverage these tools for privilege escalation and persistence:

  • Mimikatz: Extracts passwords and hashes from Windows systems.

  • BloodHound: Graphical tool for mapping Active Directory privileges.

  • Cobalt Strike: Advanced threat emulation and post-exploitation framework.

  • Empire: PowerShell and Python post-exploitation agent.

  • LinPEAS/WinPEAS: Privilege escalation enumeration scripts.

Cloud and API Penetration Testing Tools​

  • Postman: API testing platform.

  • Pacu: AWS-specific security auditing toolkit.

  • ScoutSuite: Multi-cloud environment security auditing tool.

  • CloudSploit: Scans for cloud configuration weaknesses.

To be continued…​

Good luck​

1200km@gmail.com

Published · Last updated