Dev In The Mountain Header
A Developer In The mountains having fun

Linux Security Tools - A Comprehensive Guide

A curated list of essential and popular security tools for Linux systems, organized by category.


Network Security & Scanning

Network Scanners

  • Nmap — The industry-standard network discovery and security auditing tool

    • Port scanning, service detection, OS fingerprinting
    • NSE (Nmap Scripting Engine) for advanced tasks
    • sudo apt install nmap or brew install nmap
  • Masscan — Fast TCP port scanner, can scan the entire Internet in under 6 minutes

    • Transmits 10 million packets per second
    • sudo apt install masscan
  • Zmap — Fast single packet network scanner for network surveys

    • sudo apt install zmap

Network Analysis

  • Wireshark — The world's foremost network protocol analyzer

    • Deep inspection of hundreds of protocols
    • Live capture and offline analysis
    • sudo apt install wireshark
  • tcpdump — Command-line packet analyzer

    • Lightweight and powerful
    • Pre-installed on most Linux systems
  • Netcat (nc) — The "Swiss Army knife" of networking

    • Port scanning, banner grabbing, file transfers
    • Usually pre-installed: nc or ncat

Vulnerability Scanners

  • OpenVAS — Full-featured vulnerability scanner

    • Over 50,000 vulnerability tests
    • Web-based interface
    • sudo apt install openvas
  • Nessus — Professional vulnerability scanner (free for personal use)

    • Industry-standard tool
    • Comprehensive vulnerability database
  • Nikto — Web server scanner

    • Tests for dangerous files, outdated software
    • sudo apt install nikto

Penetration Testing & Exploitation

Frameworks

  • Metasploit Framework — The most popular penetration testing framework

    • Massive exploit database
    • Payload generation and deployment
    • sudo apt install metasploit-framework
  • Burp Suite — Web application security testing

    • Proxy, scanner, intruder, repeater
    • Community edition available
    • Download from website

Web Application Testing

  • OWASP ZAP — Web application security scanner

    • Free and open-source
    • Automated and manual testing
    • sudo apt install zaproxy
  • SQLmap — Automatic SQL injection detection and exploitation

    • sudo apt install sqlmap
  • wfuzz — Web application fuzzer

    • pip install wfuzz
  • ffuf — Fast web fuzzer written in Go

    • Directory and file brute-forcing
    • go install github.com/ffuf/ffuf@latest
  • Skipfish — Web application security scanner

    • Recursive crawl and probe for vulnerabilities
    • Finds XSS, SQL injection, and other flaws

Wireless Security

  • Aircrack-ng — Complete suite for wireless network security

    • Packet capture, WEP/WPA/WPA2 cracking
    • sudo apt install aircrack-ng
  • Kismet — Wireless network detector and IDS

    • Passive monitoring
    • sudo apt install kismet
  • Reaver — WPS brute-force attack tool

    • sudo apt install reaver

Password Security & Cracking

Password Crackers

  • John the Ripper — Fast password cracker

    • Supports many hash types
    • sudo apt install john
  • Hashcat — Advanced password recovery

    • GPU acceleration
    • Supports 300+ hash types
    • Brute-force, dictionary, and hybrid attacks
    • sudo apt install hashcat
  • Hydra — Network logon cracker

    • Supports numerous protocols (SSH, FTP, HTTP, etc.)
    • sudo apt install hydra

Password Management

  • KeePassXC — Secure password manager

    • Cross-platform, open-source
    • Local database encryption
    • sudo apt install keepassxc
  • pass — The standard Unix password manager

    • Command-line based
    • GPG encryption
    • sudo apt install pass

Encryption & Privacy

Disk Encryption

  • LUKS/cryptsetup — Linux unified key setup

    • Full disk encryption standard for Linux
    • sudo apt install cryptsetup
  • VeraCrypt — Disk encryption software

    • Cross-platform
    • Successor to TrueCrypt
    • Download from website

File Encryption

  • GnuPG (GPG) — Complete implementation of OpenPGP standard

    • Email encryption, file signing
    • sudo apt install gnupg
  • Age — Modern file encryption tool

    • Simple and secure
    • cargo install age or download binary

Network Privacy

  • Tor — Anonymous communication

    • Onion routing for privacy
    • sudo apt install tor
  • OpenVPN — VPN solution

    • Secure point-to-point connections
    • sudo apt install openvpn
  • WireGuard — Modern, fast VPN

    • Simpler than OpenVPN
    • Built into Linux kernel
    • sudo apt install wireguard

Forensics & Analysis

Digital Forensics

  • Autopsy — Digital forensics platform

    • GUI for The Sleuth Kit
    • sudo apt install autopsy
  • Foremost — Forensic data recovery tool

    • File carving to recover deleted data
    • Scans for unique file patterns
    • sudo apt install foremost
  • Volatility — Memory forensics framework

    • Extract artifacts from RAM dumps
    • pip install volatility3
  • Binwalk — Firmware analysis tool

    • Search binary images for embedded files
    • sudo apt install binwalk

Malware Analysis

  • YARA — Pattern matching for malware research

    • sudo apt install yara
  • Cuckoo Sandbox — Automated malware analysis

    • Virtual environment for safe execution
    • Installation guide on website

Reverse Engineering

  • Ghidra — NSA's software reverse engineering framework

    • Decompiler for multiple architectures
    • Free and open-source
    • Download from website
  • radare2 — Unix-like reverse engineering framework

    • Disassembler, debugger, hex editor
    • sudo apt install radare2
  • GDB — GNU debugger

    • Standard debugging tool
    • sudo apt install gdb
  • ltrace/strace — System call tracers

    • Debug and trace program execution
    • Usually pre-installed

Security Monitoring & IDS/IPS

Intrusion Detection

  • Snort — Network intrusion detection system

    • Real-time traffic analysis
    • sudo apt install snort
  • Suricata — High-performance IDS/IPS

    • Multi-threaded architecture
    • sudo apt install suricata
  • OSSEC — Host-based intrusion detection

    • Log analysis, file integrity checking
    • sudo apt install ossec-hids

Log Analysis

  • Logwatch — Log analyzer and reporter

    • sudo apt install logwatch
  • Fail2Ban — Ban IPs showing malicious signs

    • Scans log files and bans IPs
    • sudo apt install fail2ban
  • AIDE — Advanced Intrusion Detection Environment

    • File integrity checker
    • sudo apt install aide

System Hardening & Auditing

Security Auditing

  • Lynis — Security auditing tool for Unix-based systems

    • Comprehensive system scanning
    • sudo apt install lynis
  • OpenSCAP — Security compliance scanner

    • SCAP (Security Content Automation Protocol)
    • sudo apt install openscap-scanner
  • Chkrootkit — Rootkit detector

    • sudo apt install chkrootkit
  • rkhunter — Rootkit Hunter

    • Scans for rootkits, backdoors
    • sudo apt install rkhunter

Firewall & Access Control

  • iptables — Linux kernel firewall

    • Standard packet filtering
    • Usually pre-installed
  • nftables — Modern replacement for iptables

    • sudo apt install nftables
  • UFW — Uncomplicated Firewall

    • User-friendly iptables frontend
    • sudo apt install ufw
  • AppArmor — Mandatory Access Control (MAC)

    • Application sandboxing
    • Usually pre-installed on Ubuntu/Debian
  • SELinux — Security-Enhanced Linux

    • Mandatory access control
    • Pre-installed on RHEL/Fedora

Network Attack Tools

DoS/DDoS Testing

  • hping3 — Network tool for security testing

    • Send custom TCP/IP packets
    • Can perform DoS attacks for testing
    • Port scanning, firewall testing
    • sudo apt install hping3
  • LOIC — Low Orbit Ion Cannon

    • Network stress testing (use only on your own infrastructure)

Social Engineering Tools

Phishing & Social Engineering

  • Social Engineering Toolkit (SET) — Framework for social engineering attacks

    • Phishing campaigns, credential harvesting
    • Email, SMS, website cloning vectors
    • QR code attacks
    • sudo apt install set
  • Gophish — Open-source phishing framework

    • Create and manage phishing campaigns
    • Track user interactions
    • Download from website

Information Gathering & OSINT

DNS & Domain Tools

  • DNSRecon — DNS enumeration tool

    • sudo apt install dnsrecon
  • Sublist3r — Subdomain enumeration

    • pip install sublist3r
  • theHarvester — E-mail, subdomain, and name harvester

    • OSINT gathering
    • sudo apt install theharvester

Web Reconnaissance

  • WhatWeb — Web scanner

    • Identifies websites, CMS, frameworks
    • sudo apt install whatweb
  • wafw00f — Web Application Firewall detection

    • pip install wafw00f
  • Shodan — Search engine for Internet-connected devices

    • Find exposed servers and IoT devices
    • CLI tool: pip install shodan

Secure Communications

Email Security

  • ProtonMail — Encrypted email service

    • End-to-end encryption
    • Web-based and apps available
  • Thunderbird + Enigmail — Email client with GPG support

    • sudo apt install thunderbird

Secure Messaging

  • Signal — Encrypted messaging

    • End-to-end encryption
    • Cross-platform
  • Element — Matrix protocol client

    • Decentralized, encrypted messaging
    • sudo apt install element-desktop
  • Tox — Peer-to-peer encrypted messaging

    • No central servers

Security-Focused Linux Distributions

Specialized Security Distros

  • Kali Linux — Penetration testing distribution

    • 600+ pre-installed security tools
    • Debian-based
  • Parrot Security OS — Security and privacy-focused

    • Lightweight alternative to Kali
    • Debian-based
  • BlackArch — Penetration testing distribution

    • 2800+ tools
    • Arch-based
  • Tails — The Amnesic Incognito Live System

    • Privacy-focused, live OS
    • Routes through Tor
    • Leaves no trace
  • Qubes OS — Security through isolation

    • Compartmentalized VMs
    • Advanced security architecture

Additional Resources

Learning & Practice

Security News & Resources

Security Standards & Frameworks


Best Practices

General Security Hygiene

  1. Keep systems updated — Regular security patches are critical
  2. Use strong, unique passwords — Password manager is essential
  3. Enable 2FA/MFA — Wherever possible
  4. Principle of least privilege — Only grant necessary permissions
  5. Regular backups — 3-2-1 backup rule (3 copies, 2 different media, 1 offsite)
  6. Monitor logs — Regular log review and analysis
  7. Encrypt sensitive data — Both at rest and in transit
  8. Network segmentation — Isolate critical systems
  9. Security awareness — Stay informed about threats
  10. Test your security — Regular audits and penetration testing

Command-line Security Tips

# Update system regularly
sudo apt update && sudo apt upgrade -y

# Check for rootkits
sudo rkhunter --check

# Audit system security
sudo lynis audit system

# Monitor open ports
sudo ss -tulpn

# Check failed login attempts
sudo lastb

# View active connections
sudo netstat -antp

# Enable firewall
sudo ufw enable
sudo ufw status

# Check file integrity
sudo aide --check

Ethical Considerations

⚠️ Important: Many of these tools can be used maliciously. Always:

  • Only test systems you own or have explicit permission to test
  • Follow local laws and regulations
  • Use responsibly and ethically
  • Obtain proper authorization before security testing
  • Respect privacy and confidentiality
  • Never use these tools for illegal activities

Legal Notice

Unauthorized access to computer systems is illegal in most jurisdictions. These tools are provided for educational purposes and legitimate security testing only. Always obtain written permission before testing any system you do not own.


Last updated: February 2026

More places to find me
Mental Health
follow me on Mastodon