Skip to content
dbcooper edited this page Feb 26, 2026 · 3 revisions

Welcome to Parrot Booty Protection Wiki

PBP Logo

Enterprise-Grade Linux Security Hardening & Monitoring Platform

Version License OS Security PRs Welcome


🎯 What is PBP?

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  πŸ΄β€β˜ οΈ Parrot Booty Protection                                β”‚
β”‚  ═══════════════════════════════════════════════════════════│
β”‚                                                              β”‚
β”‚  Transform Linux hardening from ad-hoc scripts into a       β”‚
β”‚  cohesive, auditable defense system with:                   β”‚
β”‚                                                              β”‚
β”‚  βœ“ 7 Security Modules      βœ“ Automated Scanning            β”‚
β”‚  βœ“ PDF/HTML Reports        βœ“ TUI Dashboard                 β”‚
β”‚  βœ“ Bug Hunt Mode           βœ“ Rollback Capability           β”‚
β”‚  βœ“ Risk Scoring            βœ“ Production Ready              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Quick Navigation

πŸ“– Getting Started

Installation
Quick Start
First Steps

πŸ›‘οΈ Security Modules

Module Overview
TIME β€’ DNS
NETWORK β€’ CONTAINER

πŸ“Š Features

Reporting System
Bug Hunt Mode
Risk Scoring


πŸ—οΈ System Architecture

graph TB
    subgraph "User Interface"
        CLI[pbp CLI]
        TUI[Dashboard]
        REPORTS[Reports]
    end
    
    subgraph "Core Engine"
        ENGINE[Orchestration Engine]
        STATE[State Management]
        REGISTRY[Module Registry]
        HEALTH[Health Checks]
        BACKUP[Backup/Rollback]
    end
    
    subgraph "Security Modules"
        TIME[⏰ TIME<br/>NTS Sync]
        DNS[πŸ”’ DNS<br/>DoT]
        NETWORK[πŸ›‘οΈ NETWORK<br/>nftables]
        CONTAINER[πŸ“¦ CONTAINER<br/>Podman]
        AUDIT[πŸ“‹ AUDIT<br/>auditd]
        ROOTKIT[πŸ” ROOTKIT<br/>Scanners]
        RECON[🌐 RECON<br/>nmap]
    end
    
    subgraph "Reporting"
        PARSER[Parsers]
        JSON[JSON Reports]
        HTML[HTML Reports]
        PDF[PDF Reports]
    end
    
    CLI --> ENGINE
    TUI --> ENGINE
    ENGINE --> STATE
    ENGINE --> REGISTRY
    ENGINE --> HEALTH
    ENGINE --> BACKUP
    
    REGISTRY --> TIME
    REGISTRY --> DNS
    REGISTRY --> NETWORK
    REGISTRY --> CONTAINER
    REGISTRY --> AUDIT
    REGISTRY --> ROOTKIT
    REGISTRY --> RECON
    
    TIME --> PARSER
    DNS --> PARSER
    NETWORK --> PARSER
    CONTAINER --> PARSER
    AUDIT --> PARSER
    ROOTKIT --> PARSER
    RECON --> PARSER
    
    PARSER --> JSON
    JSON --> HTML
    HTML --> PDF
    
    PDF --> REPORTS
Loading

πŸ›‘οΈ Security Modules

⏰ TIME

NTS-Authenticated Time Sync

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   chrony + NTS      β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ βœ“ Encrypted time    β”‚
β”‚ βœ“ Prevents attacks  β”‚
β”‚ βœ“ Cert validation   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Learn More β†’

πŸ”’ DNS

Encrypted DNS Queries

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ systemd-resolved    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ βœ“ DNS over TLS      β”‚
β”‚ βœ“ DNSSEC validation β”‚
β”‚ βœ“ Leak prevention   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Learn More β†’

πŸ›‘οΈ NETWORK

Stateful Firewall

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     nftables        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ βœ“ Default drop      β”‚
β”‚ βœ“ Stateful tracking β”‚
β”‚ βœ“ Egress filtering  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Learn More β†’

πŸ“¦ CONTAINER

Rootless Security

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Podman + seccomp   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ βœ“ Rootless runtime  β”‚
β”‚ βœ“ Capability drops  β”‚
β”‚ βœ“ Image validation  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Learn More β†’

View All Modules β†’


πŸ“Š Module Lifecycle

stateDiagram-v2
    [*] --> Uninstalled
    Uninstalled --> Installed: install
    Installed --> Enabled: enable
    Enabled --> Installed: disable
    Installed --> Uninstalled: uninstall
    Enabled --> Installed: rollback
    
    note right of Enabled
        βœ“ Packages installed
        βœ“ Configuration applied
        βœ“ Services running
        βœ“ Health verified
    end note
Loading

πŸ“ˆ Risk Scoring System

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Risk Score Calculation                                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                          β”‚
β”‚  CRITICAL findings Γ— 10 = ___                           β”‚
β”‚  HIGH findings     Γ— 5  = ___                           β”‚
β”‚  MEDIUM findings   Γ— 2  = ___                           β”‚
β”‚  LOW findings      Γ— 1  = ___                           β”‚
β”‚                          ─────                           β”‚
β”‚  Total Risk Score      = ___                            β”‚
β”‚                                                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Risk Bands:                                            β”‚
β”‚  🟒  0-20   SECURE     System well-hardened            β”‚
β”‚  🟑 21-50   MODERATE   Some issues need attention       β”‚
β”‚  🟠 51-100  ELEVATED   Significant vulnerabilities      β”‚
β”‚  πŸ”΄ 100+    CRITICAL   Immediate action required        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ” Bug Hunt Workflow

flowchart LR
    START([pbp bughunt]) --> CONFIG[Configuration<br/>Validation]
    CONFIG --> FIREWALL[Firewall<br/>Analysis]
    FIREWALL --> SERVICES[Service<br/>Health]
    SERVICES --> TIME[NTS Time<br/>Sync]
    TIME --> DNS[DNS<br/>Hardening]
    DNS --> CONTAINER[Container<br/>Privileges]
    CONTAINER --> PORTS[Open Port<br/>Scan]
    PORTS --> PERMS[File<br/>Permissions]
    PERMS --> REPORT[Generate<br/>Master Report]
    REPORT --> JSON[JSON]
    REPORT --> HTML[HTML]
    REPORT --> PDF[PDF]
    
    style START fill:#2ecc71
    style REPORT fill:#3498db
    style JSON fill:#f39c12
    style HTML fill:#f39c12
    style PDF fill:#f39c12
Loading

πŸ“Š Project Statistics

Metric Value
Total Files 85+
Lines of Code ~6,400
Security Modules 7
Hook Scripts 35
CLI Commands 13
Test Coverage βœ“ Validated
Documentation 2,000+ lines

🎯 Use Case Matrix

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                 β”‚ Security β”‚  SysOps  β”‚ PenTest  β”‚ DevSecOpsβ”‚
β”‚                 β”‚ Engineer β”‚  Admin   β”‚  Team    β”‚   Team   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Hardening       β”‚    βœ“βœ“βœ“   β”‚    βœ“βœ“    β”‚    βœ“βœ“    β”‚    βœ“βœ“βœ“   β”‚
β”‚ Compliance      β”‚    βœ“βœ“βœ“   β”‚    βœ“βœ“βœ“   β”‚    βœ“     β”‚    βœ“βœ“    β”‚
β”‚ Monitoring      β”‚    βœ“βœ“    β”‚    βœ“βœ“βœ“   β”‚    βœ“     β”‚    βœ“βœ“    β”‚
β”‚ Reporting       β”‚    βœ“βœ“βœ“   β”‚    βœ“βœ“βœ“   β”‚    βœ“βœ“    β”‚    βœ“βœ“    β”‚
β”‚ Automation      β”‚    βœ“βœ“    β”‚    βœ“βœ“βœ“   β”‚    βœ“     β”‚    βœ“βœ“βœ“   β”‚
β”‚ Rollback        β”‚    βœ“βœ“    β”‚    βœ“βœ“βœ“   β”‚    βœ“βœ“    β”‚    βœ“βœ“    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Quick Start

# 1. Install PBP
git clone https://github.com/cyclonite69/parrot-booty-protection.git
cd parrot-booty-protection
sudo bash scripts/install.sh

# 2. Enable core modules
sudo pbp enable time dns network

# 3. Run security scan
sudo pbp scan

# 4. View dashboard
pbp dashboard

Detailed Installation Guide β†’


πŸ“š Documentation Index

πŸ“– Getting Started

πŸ›‘οΈ Security Modules

πŸ“Š Advanced Features

πŸ—οΈ Architecture

πŸ”’ Security

🀝 Development


🎬 Demo

$ pbp list
=== Available Modules ===
βœ“ time      - NTS-authenticated time synchronization
βœ“ dns       - Encrypted DNS over TLS
βœ“ network   - nftables stateful firewall
β—‹ container - Podman rootless security
β—‹ audit     - System activity monitoring
  rootkit   - Malware detection
  recon     - Network exposure validation

$ sudo pbp bughunt
Bug Hunt Complete!
==================
Report Location: /var/log/pbp/reports/bughunt_20260226_100000
Risk Score: 15
Total Findings: 3

View reports:
  JSON: .../master-report.json
  HTML: .../master-report.html
  PDF:  .../master-report.pdf

🌟 Features at a Glance

🎯 Core Features

  • βœ… Modular architecture
  • βœ… Automated scanning
  • βœ… Professional reports
  • βœ… TUI dashboard
  • βœ… Bug hunt mode
  • βœ… Rollback capability
  • βœ… Risk scoring
  • βœ… Systemd integration

πŸ”’ Security Features

  • βœ… Input validation
  • βœ… Output escaping
  • βœ… Privilege separation
  • βœ… Immutable reports
  • βœ… SHA256 checksums
  • βœ… Audit logging
  • βœ… Fail-safe defaults
  • βœ… Defense-in-depth

πŸ—ΊοΈ Roadmap

gantt
    title PBP Development Roadmap
    dateFormat  YYYY-MM
    section Phase 1-4
    Architecture       :done, 2026-01, 1w
    Core Engine        :done, 2026-01, 2w
    Security Modules   :done, 2026-02, 2w
    Reporting & UI     :done, 2026-02, 1w
    section Phase 5
    Web Dashboard      :active, 2026-03, 4w
    Policy Profiles    :2026-04, 2w
    Email Alerting     :2026-04, 1w
    section Phase 6
    SIEM Integration   :2026-05, 3w
    Multi-Host Mgmt    :2026-06, 4w
    Compliance Maps    :2026-07, 3w
Loading

🀝 Community


"May your booty be guarded and your lines be encrypted." πŸ¦œπŸ΄β€β˜ οΈ

Made with ❀️ for the security community

⬆ Back to Top

πŸ΄β€β˜ οΈ PBP Wiki

Home


πŸ“– Getting Started


πŸ›‘οΈ Modules


πŸ“Š Features


πŸ—οΈ Architecture


πŸ”’ Security


🀝 Development

Clone this wiki locally