Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CVE-2025-32433-LAB — Erlang/OTP SSH सर्वर में SSH प्रोटोकॉल संदेश प्रबंधन में एक त्रुटि के कारण, एक दुर्भावनापूर्ण अभिनेता बिना वैध क्रेडेंशियल के प्रभावित सिस्टम तक अनधिकृत पहुँच प्राप्त कर सकता है और मनमाने कमांड निष्पादित कर सकता है | Kitploit
उपकरण/GitHubGitHub/damnkrishna/cve-2025-32433-lab
पैकेट स्निफिंग और विश्लेषणभेद्यता स्कैनरकंटेनर सुरक्षाभेद्यता विश्लेषणशोषणनेटवर्क सुरक्षाघुसपैठ का पता लगानालर्निंग और शिक्षालैब और अभ्यास
GitHubdamnkrishna/cve-2025-32433-lab

CVE-2025-32433-LAB

Erlang/OTP SSH सर्वर में SSH प्रोटोकॉल संदेश प्रबंधन में एक त्रुटि के कारण, एक दुर्भावनापूर्ण अभिनेता बिना वैध क्रेडेंशियल के प्रभावित सिस्टम तक अनधिकृत पहुँच प्राप्त कर सकता है और मनमाने कमांड निष्पादित कर सकता है

रिपॉजिटरी देखें
29घं 4मि पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

CVE-2025-32433 भेद्यता अनुसंधान और सुरक्षा लैब

यह रिपॉज़िटरी CVE-2025-32433 (Erlang/OTP SSH अनुपस्थित प्रमाणीकरण भेद्यता) के लिए एक पूर्ण, सबमिशन-तैयार, कंटेनरीकृत सुरक्षा अनुसंधान लैब प्रदान करती है। यह सुरक्षा इंजीनियरों, समीक्षकों और शोधकर्ताओं को एक सख्ती से पृथक वातावरण में इस दोष को स्वतंत्र रूप से तैनात करने, पुनरुत्पादित करने, विश्लेषण करने और पहचानने की अनुमति देती है।


1. लैब टोपोलॉजी और आर्किटेक्चर

लैब एक कस्टम पृथक ब्रिज नेटवर्क (cve-lab-bridge) के माध्यम से जुड़े 3 Docker कंटेनरों को ऑर्केस्ट्रेट करती है:

root@kitploit:~
                  ┌─────────────────────────────────────────┐
                  │          Isolated Docker Bridge         │
                  │             (cve-lab-bridge)            │
                  └────┬──────────────────────────────┬─────┘
                       │                              │
        ┌──────────────┴──────────────┐┌──────────────┴──────────────┐
        │  target_vulnerable          ││  target_patched             │
        │  Erlang/OTP 26.2.5          ││  Erlang/OTP 26.2.5.11       │
        │  Host Port: 127.0.0.1:2222  ││  Host Port: 127.0.0.1:2223  │
        │  Logs: ./logs/target_vulnerable/ ││  Logs: ./logs/target_patched/   │
        └─────────────────────────────┘└─────────────────────────────┘
                                       │
                        ┌──────────────┴──────────────┐
                        │  attacker                   │
                        │  Python 3 + Scapy/Paramiko  │
                        │  Workdir: /work             │
                        └─────────────────────────────┘

2. पूर्वापेक्षाएँ

  • Docker Desktop (या Docker Engine v20.10+ और Docker Compose v2.20+)
  • Python 3.10+ (paramiko और scapy स्थापित के साथ)

3. त्वरित शुरुआत — लैब तैनात करना

रिपॉज़िटरी क्लोन करें और सभी लैब सेवाएँ प्रारंभ करें:

root@kitploit:~
# 1. Clone the repository
git clone <repository_url>
cd INE_CYBER_ASSIGNMENT_JOB

# 2. Build and start all 3 lab containers in detached mode
docker compose up -d --build

# 3. Verify all containers are running and healthy
docker ps

4. एक-कमांड मास्टर डायग्नोस्टिक सूट

पूर्ण 4-लेयर डायग्नोस्टिक और डिटेक्शन सूट को एक ही कमांड में चलाएँ:

विकल्प A: स्थानीय होस्ट मशीन टर्मिनल से (PowerShell / CMD)

root@kitploit:~
python detection/run_all_detections.py

विकल्प B: अटैकर कंटेनर शेल के अंदर से

root@kitploit:~
# Enter the attacker container
docker exec -it cve-2025-32433-attacker bash

# Run the master detector inside container
python3 /work/detection/run_all_detections.py

5. व्यक्तिगत निष्पादन कमांड (लक्ष्य और वातावरण के अनुसार अलग)

A. मैनुअल इंटरैक्टिव SSH कनेक्शन

1. होस्ट मशीन से (PowerShell / CMD):

root@kitploit:~
# Connect to Vulnerable Target (Port 2222)
ssh -p 2222 [email protected]
# Password: LabPass2026!Secured

# Connect to Patched Target (Port 2223)
ssh -p 2223 [email protected]
# Password: LabPass2026!Secured

2. अटैकर कंटेनर शेल से (docker exec -it cve-2025-32433-attacker bash):

root@kitploit:~
# Connect to Vulnerable Target (Internal Port 2222)
ssh -p 2222 labuser@target_vulnerable
# Password: LabPass2026!Secured

# Connect to Patched Target (Internal Port 2222)
ssh -p 2222 labuser@target_patched
# Password: LabPass2026!Secured

B. बेसलाइन प्रमाणीकरण नियंत्रण स्क्रिप्ट

1. होस्ट मशीन से:

root@kitploit:~
# Test Vulnerable Target
python scripts/baseline_auth_test.py 127.0.0.1 2222

# Test Patched Target
python scripts/baseline_auth_test.py 127.0.0.1 2223

2. अटैकर कंटेनर शेल से:

root@kitploit:~
# Test Vulnerable Target
python3 /work/scripts/baseline_auth_test.py target_vulnerable 2222

# Test Patched Target
python3 /work/scripts/baseline_auth_test.py target_patched 2222

C. वर्शन-बैनर भेद्यता स्कैनर

1. होस्ट मशीन से:

root@kitploit:~
# Scan Vulnerable Target
python detection/detect_cve_2025_32433.py 127.0.0.1 2222

# Scan Patched Target
python detection/detect_cve_2025_32433.py 127.0.0.1 2223

2. अटैकर कंटेनर शेल से:

root@kitploit:~
# Scan Vulnerable Target
python3 /work/detection/detect_cve_2025_32433.py target_vulnerable 2222

# Scan Patched Target
python3 /work/detection/detect_cve_2025_32433.py target_patched 2222

D. नेटवर्क व्यवहार पैकेट IDS मॉनिटर (Scapy)

प्री-ऑथ SSH_MSG_CHANNEL_OPEN (Type 90 / 0x5A) पैकेटों के लिए TCP पोर्ट 2222 की निगरानी करता है।

root@kitploit:~
# Run inside Attacker Container shell
python3 /work/detection/network_behavior_detect.py

E. होस्ट प्रोसेस और फ़ाइल इंटीग्रिटी मॉनिटर

स्पॉन किए गए सब-शेलों के लिए भेद्य कंटेनर प्रोसेस टेबल (ps aux) की निगरानी करता है।

root@kitploit:~
# Run from Host PowerShell
python detection/host_process_monitor.py

6. लॉग फ़ाइल एक्सेस और निगरानी

Erlang SSH लॉग प्रत्येक कंटेनर के अंदर डिस्क पर लिखे जाते हैं और सीधे आपके होस्ट फ़ाइलसिस्टम पर माउंट किए जाते हैं:

  • भेद्य लक्ष्य लॉग: ./logs/target_vulnerable/ssh.log
  • पैच किए गए लक्ष्य लॉग: ./logs/target_patched/ssh.log

PowerShell में लाइव टेलिंग:

root@kitploit:~
Get-Content -Path .\logs\target_vulnerable\ssh.log -Wait -Tail 20

लॉग स्कीमा विवरण के लिए LOGGING.md देखें।


7. उपचार और तकनीकी पैच विवरण

CVE-2025-32433 को Erlang/OTP 26.2.5.11 (commit b1924d3) और 27.3.3 (commit 6eef041) में ठीक किया गया था। उपचारित लक्ष्य (lab_patched/) में, ssh_connection.erl स्पष्ट रूप से कनेक्शन स्थिति सत्यापन लागू करता है:

root@kitploit:~
handle_msg(#ssh_msg_channel_open{}, #state{authenticated = false} = State) ->
    {disconnect, {error, unauthenticated}, State};

8. लैब रोकना

सभी लैब कंटेनरों और नेटवर्कों को रोकने और हटाने के लिए:

root@kitploit:~
docker compose down
टूल डाउनलोड करें