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

    نص برمجي لتصعيد الامتيازات واستكشاف النظام لنظام ويندوز

  • LinEnum

    فحوصات نصية للتعداد المحلي ورفع الصلاحيات لنظام Linux

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    منصة IMSI Catcher تنشر خلية GSM مارقة لاعتراض الرسائل النصية القصيرة وحقن الرسائل وتتبع الأجهزة المحمولة

    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

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →