Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyยฉ 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
defender โ€” This is a bash script focus on hardening linux. This is a custom think of windows defender but unlike of their privacy issue. User can feel freedom here. | Kitploit
Tools/GitLabGitLab/0warn/defender
Defensive ToolsVulnerability ScannersConfiguration AuditingNetwork SecurityMalware AnalysisAuthenticationIntrusion DetectionAnomaly DetectionLog Analysis
GitLab0warn/defender

defender

This is a bash script focus on hardening linux. This is a custom think of windows defender but unlike of their privacy issue. User can feel freedom here.

427 months agoNot yet reviewed
Share
View Repository

๐Ÿ›ก๏ธ Linux-Defender.sh

License: MIT

๐Ÿ“ Table of Contents

  • ๐Ÿ“Œ Overview
  • ๐Ÿš€ Features
  • ๐Ÿง Supported Distros
  • ๐Ÿ“ฆ Tools Installed
  • โš™๏ธ Installation
    • Building from Source (General)
    • ๐Ÿ“ฆ Package Installation
      • Debian (.deb) Package
      • Arch Linux Package
  • ๐Ÿงฐ Running the Defender
  • ๐Ÿงพ License
  • ๐Ÿ™‹โ€โ™‚๏ธ Author
  • โ˜• Support & Contribution

๐Ÿ“Œ Overview

Linux Defender is a robust and easy-to-use Bash script designed to significantly enhance the security posture of your Linux system. Targeting security professionals, enthusiasts, and system administrators, this tool automates the intricate process of installing, configuring, and managing essential security tools across a wide range of popular Linux distributions. With Linux Defender, fortifying your system against threats becomes efficient, practical, and straightforward.


๐Ÿš€ Features

  • โœ… Automated Firewall Management: Effortlessly set up and manage your system's firewall with ufw and iptables for robust network protection.
  • ๐Ÿฆ  Advanced Malware & Rootkit Detection: Integrate powerful scanning tools like chkrootkit, rkhunter, and clamav to detect and neutralize malicious software.
  • ๐Ÿ” Comprehensive System Auditing: Utilize auditd to meticulously log system activity, providing a detailed trail for security analysis and incident response.
  • ๐ŸŒ Enhanced Anonymity & Privacy: Support for TOR for anonymous browsing and optional integration with Anonsurf (for Kali Linux) to route all traffic through the Tor network.
  • ๐Ÿง  AI-Powered Assistance: Leverage TGPT for intelligent assistance and query resolution directly within your security workflow.
  • โš™๏ธ Intelligent Distribution Detection: Automatically identifies your Linux distribution (Arch, Debian, Kali, Parrot, Ubuntu) to apply tailored security configurations.
  • ๐Ÿ›ก๏ธ Robust System Hardening: Implement critical hardening measures for the kernel, SSH configurations, and control USB device access to minimize attack surfaces.
  • ๐Ÿ“ˆ Proactive Auditing & Monitoring: Seamlessly integrate auditd rules and logwatch to gain comprehensive insights into system events and security alerts.
  • ๐Ÿ“ก Sophisticated Network Security: Deploy capabilities to detect port scans, mitigate SYN flood attacks, and configure secure DNS settings for enhanced network resilience.
  • ๐Ÿ‘ค Secure User & Access Control: Enforce strong password policies, facilitate the setup of SSH two-factor authentication (2FA), and perform checks for potentially risky user accounts.
  • ๐Ÿ—ƒ๏ธ Filesystem Integrity & Malware Defense: Protect critical system files by making them immutable, schedule regular malware scans, and manage a secure quarantine for suspicious files.
  • ๐Ÿ“Š Intuitive Usability & Reporting: Benefit from centralized configuration, execute interactive system health checks, and receive automated email notifications for critical security alerts.
  • ๐Ÿ’ฃ Fail-Safe Mechanisms: Provides clear, manual package installation instructions if automated dependency resolution encounters issues, ensuring smooth setup.

๐Ÿง Supported Distros

  • Arch Linux
  • Kali Linux
  • Parrot OS
  • Debian
  • Ubuntu

๐Ÿ“ฆ Tools Installed

CategoryTool(s)
Firewallufw, iptables
Malware Protectionchkrootkit, rkhunter, clamav
Monitoringaudit / auditd, inotify-tools, inxi, logwatch
Anonymity (Kali)tor, kali-anonsurf
Arch-only Tooltorctl
AITGPT
Hardeningsysctl, modprobe
Network Securityiptables, sysctl, resolvconf
User Managementpam, libpam-pwquality, libpam-google-authenticator
Filesystemchattr
Reportingpostfix, mailutils
Core Dependenciescurl, unzip, grep, sort

โš™๏ธ Installation

Linux Defender offers flexible installation methods to suit your preferences. It is generally recommended to install via your distribution's package manager where possible for system integration and easier updates.

๐Ÿ› ๏ธ Manual Installation (from Source)

This method involves cloning the repository and running the setup.py script, which automates dependency installation and sets up the linux-defender command system-wide.

git clone https://gitlab.com/0warn/defender.git
cd defender
sudo python3 ./setup.py

The setup.py script will detect your distribution and install all necessary dependencies, including: auditd, audispd-plugins, logwatch, libpam-pwquality, libpam-google-authenticator, postfix, mailutils, inotify-tools, rkhunter, clamav, ufw, inxi, xterm, curl, unzip, grep, and sort.

๐Ÿ“ฆ Package-Based Installation (Recommended)

For more robust system integration and easier management, package-based installation is recommended.

Debian (.deb) Package

To install on Debian-based systems (Debian, Ubuntu, Kali, Parrot), you need to build the .deb package first.

  1. Build the .deb package: Ensure you have dpkg-dev and devscripts installed: sudo apt update && sudo apt install -y dpkg-dev devscripts Navigate to the project root and build the package: dpkg-buildpackage -us -uc This will generate a .deb file (e.g., linux-defender_1.3-1_all.deb) in the parent directory.

  2. Install the package: sudo dpkg -i ../linux-defender_*.deb

  3. Resolve dependencies (if prompted): sudo apt install -f

Arch Linux Package

To install on Arch Linux, use makepkg to build and install the package from the PKGBUILD.

  1. Ensure git and base-devel are installed: sudo pacman -S --needed git base-devel

  2. Clone the repository: git clone https://gitlab.com/0warn/defender.git cd defender

  3. Build and install the package: makepkg -si This command will handle dependencies, build the package, and install it system-wide.


๐Ÿงฐ Running the Defender

Once dependencies are installed, execute the script with root privileges:

sudo defender

This command will initiate the Linux Defender interface, providing access to all hardening operations and security features. You can then navigate through commands such as harden, audit, network, user, filesystem, and reporting to manage your system's security.

๐Ÿงพ License

This project is licensed under the MIT License.


๐Ÿ™‹โ€โ™‚๏ธ Author

Built with care and cybersecurity principles by 0warn โ€œSecure it before someone else exploits it.โ€


โ˜• Support & Contribution

For major changes, open an issue first to discuss what you would like to change. If this project helps secure your systems, consider giving it a โญ on gitlab.

Download Tool

Most Popular

View all โ†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    ๐ŸŽฏ The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    591
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    481
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    389
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    332
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityโ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    255
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    247

Explore all tools

Browse our collection of tools

View all tools โ†’