Skip to content
KitploitKITPLOIT
ИнструментыЭксплойтыБлог
Log in
Отправить
ИнструментыЭксплойтыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

ЛентыКонтактыКонфиденциальность© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
monitorstwo-csec-lab — Complete penetration testing lab replicating HackTheBox MonitorsTwo - Practice CVE-2022-46169 (Cacti RCE) and CVE-2021-41091 (Docker escape) with step-by-step walkthrough | Kitploit
Инструменты/GitHubGitHub/natow7/monitorstwo-csec-lab
Privilege EscalationContainer SecurityVulnerability AnalysisExploitationWeb Application ExploitationCTFPenetration TestingLearning & EducationLearning Paths & CoursesLabs & Practice
GitHub
16 дек. 2026 г.Ещё не проверено
Поделиться
natow7/monitorstwo-csec-lab

monitorstwo-csec-lab

Complete penetration testing lab replicating HackTheBox MonitorsTwo - Practice CVE-2022-46169 (Cacti RCE) and CVE-2021-41091 (Docker escape) with step-by-step walkthrough

Репозиторий
Контент недоступен на запрошенном языке. Показываем английскую версию.

MonitorsTwo CSEC Lab

License: Educational Docker Windows

Created by: Natnael Tariku | CSEC Cybersecurity Club

A complete penetration testing lab replicating HackTheBox MonitorsTwo. Practice web exploitation, container escapes, and privilege escalation in a safe, isolated environment.

🎓 Purpose & Learning Objectives

This lab is designed for cybersecurity students, ethical hackers, and security professionals to gain hands-on experience with real-world attack vectors in a controlled environment. Perfect for:

  • Security Training - Practice offensive security techniques safely
  • CTF Preparation - Build skills for capture-the-flag competitions
  • Skill Development - Learn container security and exploitation chains
  • Team Workshops - Run guided penetration testing sessions
  • Interview Prep - Demonstrate practical offensive security knowledge

Why This Lab?

  • ✅ Realistic Environment - Mirrors production vulnerabilities
  • ✅ Complete Attack Chain - From reconnaissance to full compromise
  • ✅ Self-Contained - Runs entirely on Docker, no cloud needed
  • ✅ Repeatable - Reset and practice multiple times
  • ✅ Educational Focus - Detailed walkthrough included

🎯 What You'll Learn

Complete Attack Chain:

Reconnaissance → Web Exploitation → Container Root → Database Access → 
Credential Cracking → Lateral Movement → Container Escape → Host Root

Skills & Techniques:

  • Web Exploitation - CVE-2022-46169 (Cacti RCE)
  • Container Escape - SUID exploitation & Docker CVE-2021-41091
  • Privilege Escalation - Database enumeration & credential cracking
  • Network Pivoting - Container-to-host exploitation
  • Full System Compromise - Web shell to host root access

Real-World CVEs:

  • CVE-2022-46169: Cacti ≤ 1.2.22 Unauthenticated RCE
  • CVE-2021-41091: Docker < 20.10.9 Privilege Escalation

🏁 Capture 2 CSEC flags! | 📖 Full walkthrough: CHEAT-SHEET.md


🚀 Quick Start

Prerequisites

Windows:

  • Docker Desktop installed (Download)
  • 2GB RAM, 5GB disk space

Linux:

  • Docker & Docker Compose installed
  • 2GB RAM, 5GB disk space

Deploy Lab

Windows (Simulated Mode Only):

cd C:\path\to\monitorstwo-csec-lab
.\scripts\windows\deploy-lab-simulated.bat

✅ Works with any Docker version
✅ Teaches identical techniques
⚠️ Vulnerable mode not available on Windows (Docker runs in WSL2)

Linux (Both Modes Available):

Simulated (Recommended):

cd /path/to/monitorstwo-csec-lab
sudo ./scripts/linux/deploy-lab-simulated.sh

Vulnerable (Advanced):

sudo ./scripts/linux/deploy-lab-vulnerable.sh

⚠️ Downgrades Docker to 20.10.8 system-wide

Access Lab

  • URL: http://localhost:8080/cacti/ (or http://<your-LAN-IP>:8080/cacti/ for attendees on the same network — find your IP with ipconfig on Windows or ip a on Linux)
  • Login: admin / admin
  • Note: Cacti forces a password change on first login. You can set a new password OR simply re-enter admin to keep it the same.
  • Wait 60-90 seconds for full initialization
  • Windows: the first time the container exposes port 8080, Windows Defender Firewall may prompt to allow it — choose "Allow access" (at least for Private networks) so club members' laptops can reach it

🔧 Lab Management

ActionWindowsLinux
Start.\scripts\windows\start-lab.batsudo ./scripts/linux/start-lab.sh
Stop.\scripts\windows\stop-lab.batsudo ./scripts/linux/stop-lab.sh
Reset.\scripts\windows\reset-lab.batsudo ./scripts/linux/reset-lab.sh

🛠️ Troubleshooting

Can't connect to http://localhost:8080/cacti/

# Check containers are running
docker ps

# Restart containers
cd lab
docker-compose restart  # Windows: without sudo

Exploit not working

  • Use Docker bridge IP 172.22.0.1 instead of 127.0.0.1
  • Find IP: docker network inspect htb-monitorstwo-lab_cacti_net | grep Gateway

Windows: Scripts won't run

  • Run Command Prompt as Administrator
  • Ensure Docker Desktop is running

📂 Repository Structure

├── README.md                     # Quick start guide
├── CHEAT-SHEET.md                # Complete exploitation walkthrough
├── LICENSE                       # Educational use terms
├── scripts/
│   ├── windows/                  # Windows batch scripts (.bat)
│   │   ├── deploy-lab-simulated.bat
│   │   ├── deploy-lab-vulnerable.bat (redirects to simulated)
│   │   ├── start-lab.bat
│   │   ├── stop-lab.bat
│   │   └── reset-lab.bat
│   └── linux/                    # Linux shell scripts (.sh)
│       ├── deploy-lab-simulated.sh
│       ├── deploy-lab-vulnerable.sh
│       ├── start-lab.sh
│       ├── stop-lab.sh
│       └── reset-lab.sh
└── lab/
    ├── docker-compose.yml        # Container orchestration
    └── cacti/                    # Cacti Dockerfile & configs

� Technical Details

Cross-Platform Support

PlatformScriptsRequirements
Windows.bat filesDocker Desktop, WSL2
Linux.sh filesDocker, Docker Compose

Credentials

ServiceUsernamePassword
Cacti Webadminadmin
MySQLrootroot_cacti
SSH (marcus)marcusfunkymonkey

CVE Information

  • CVE-2022-46169 - Cacti ≤ 1.2.22 Unauthenticated RCE
  • CVE-2021-41091 - Docker < 20.10.9 Privilege Escalation

⚖️ Legal Disclaimer

Educational purposes only. Use only on systems you own or have explicit permission to test. Creator assumes no liability for misuse.


📧 Contact

Natnael Tariku
LinkedIn: https://www.linkedin.com/in/natnael-tariku/
Organization: CSEC Cybersecurity Club

Original Machine: HackTheBox - MonitorsTwo
Happy Hacking! 🚀

Скачать инструмент

Похожие инструменты

  • PEASS-ng

    PEASS - Набор отличных скриптов для повышения привилегий (с цветами)

  • PrivescCheck

    Скрипт для перечисления путей повышения привилегий в Windows

  • LinEnum

    Скриптовое локальное перечисление Linux и проверки повышения привилегий

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # Приложение GhostLock с запуском в один клик (CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    Платформа IMSI Catcher, разворачивающая поддельную соту GSM для перехвата SMS, внедрения сообщений и отслеживания мобильных устройств

    732
  • 3

    Callisto

    jetp1ane/callisto

    Автоматизированный инструмент анализа уязвимостей бинарных файлов, который декомпилирует исполняемые файлы с помощью Ghidra, сканирует псевдо-C код с помощью Semgrep и проверяет находки с использованием GPT-3.5-Turbo для уменьшения ложных срабатываний.

    610
  • 4

    opencti

    opencti-platform/opencti

    Открытая платформа киберразведки угроз

    546
  • 5

    ARTEX

    baarai/artex

    Платформа автономного тестирования на проникновение на основе мультиагентной LLM с агентами-планировщиками и агентами-исполнителями, графами активов и исследования, записью MITM-трафика и повторной проверкой уязвимостей.

    414
  • 6

    DFRoot

    a2333c/dfroot

    Инструмент для получения root-прав на Android для Samsung Galaxy S25 Ultra (SM-S938B), который объединяет DirtyFrag CVE-2026-43284 и CVE-2026-43499 для автоматического получения root-прав при загрузке через KernelSU.

    413

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →