-
Notifications
You must be signed in to change notification settings - Fork 0
Home
dbcooper edited this page Feb 26, 2026
·
3 revisions
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π΄ββ οΈ 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 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
Module Overview |
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
|
NTS-Authenticated Time Sync |
Encrypted DNS Queries |
|
Stateful Firewall |
Rootless Security |
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
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 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 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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
| 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 |
βββββββββββββββββββ¬βββββββββββ¬βββββββββββ¬βββββββββββ¬βββββββββββ
β β Security β SysOps β PenTest β DevSecOpsβ
β β Engineer β Admin β Team β Team β
βββββββββββββββββββΌβββββββββββΌβββββββββββΌβββββββββββΌβββββββββββ€
β Hardening β βββ β ββ β ββ β βββ β
β Compliance β βββ β βββ β β β ββ β
β Monitoring β ββ β βββ β β β ββ β
β Reporting β βββ β βββ β ββ β ββ β
β Automation β ββ β βββ β β β βββ β
β Rollback β ββ β βββ β ββ β ββ β
βββββββββββββββββββ΄βββββββββββ΄βββββββββββ΄βββββββββββ΄βββββββββββ
# 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 dashboardDetailed Installation Guide β
- Installation Guide - Complete setup instructions
- Quick Start - Get running in 5 minutes
- CLI Reference - All commands explained
- First Steps - Your first hardening workflow
- Module Overview - All 7 modules explained
- TIME Module - NTS time synchronization
- DNS Module - Encrypted DNS
- NETWORK Module - Firewall configuration
- CONTAINER Module - Podman security
- AUDIT Module - System monitoring
- ROOTKIT Module - Malware detection
- RECON Module - Network scanning
- Reporting System - PDF/HTML/JSON reports
- Bug Hunt Mode - Comprehensive validation
- Risk Scoring - Understanding risk metrics
- Automation - Systemd timers and scheduling
- System Design - How PBP works
- Module System - Plugin architecture
- State Management - Configuration tracking
- Rollback System - Safe configuration changes
- Security Audit - Vulnerability assessment
- Best Practices - Hardening guidelines
- Threat Model - Attack scenarios
- Contributing Guide - How to contribute
- Module Development - Create new modules
- Parser Development - Add scanner support
- Testing Guide - Test your changes
$ 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
|
|
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
Report Bug β’ Request Feature β’ Discussions
"May your booty be guarded and your lines be encrypted." π¦π΄ββ οΈ
Made with β€οΈ for the security community
