Skip to content
KitploitKITPLOIT
उपकरणएक्सप्लॉइटब्लॉग
Log in
जमा करें
उपकरणएक्सप्लॉइटब्लॉग
जमा करें

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

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

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

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

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
openssh-musl-enterprise--hardening-cve-2026-123158 — Audits, hardens, and detects exposure to the OpenSSH musl authentication bypass (CVE-2026-123158) via a POSIX fleet auditor, zero-trust sshd configs, Ansible rollback, and Falco eBPF rules. | Kitploit
उपकरण/GitHubGitHub/mc493/openssh-musl-enterprise--hardening-cve-2026-123158
Defensive ToolsVulnerability AnalysisConfiguration AuditingSecurity VirtualizationDevSecOpsAuthenticationIntrusion DetectionMisconfigurationIncident Response
साझा करें
Labs & Practice
GitHubmc493/openssh-musl-enterprise--hardening-cve-2026-123158

openssh-musl-enterprise--hardening-cve-2026-123158

Audits, hardens, and detects exposure to the OpenSSH musl authentication bypass (CVE-2026-123158) via a POSIX fleet auditor, zero-trust sshd configs, Ansible rollback, and Falco eBPF rules.

रिपॉजिटरी देखें
8 दिन पहलेअभी तक समीक्षित नहीं
अनुरोधित भाषा में सामग्री उपलब्ध नहीं है। अंग्रेज़ी संस्करण दिखाया जा रहा है।

openssh-musl-enterprise-hardening (CVE-2026-123158)

Enterprise Defense-in-Depth, Vulnerability Auditor, and Zero-Trust Hardening Toolkit for OpenSSH musl Salt-Truncation Authentication Bypass (CVE-2026-123158 / OpenSSH 10.6p2)

CI Release License: MIT Target: OpenSSH musl CVSS Score Vendor Aligned


Executive Summary

In November 2026, security researchers disclosed an unauthenticated remote authentication bypass vulnerability in OpenSSH servers compiled against musl libc (predominantly Alpine Linux). Under specific preconditions, supplying an oversized password string between 256 and 1,024 bytes triggers an internal string comparison match that grants unauthorized interactive shell or root access without credentials.

The flaw results from an architectural contract collision between independent components:

  • The Target Account: An account exists with no password set, represented by an asterisk * in the /etc/shadow password field.
  • Salt Borrowing: To prevent username enumeration through timing side-channels (CVE-2016-6210), OpenSSH borrows a valid SHA-256 ($5$), SHA-512 ($6$), yescrypt ($y$), or bcrypt ($2b$) salt from an active, unlocked account on the host. Locked accounts prefixed with !, expired accounts, or malformed hashes cannot act as salt donors.
  • musl Truncation Sentinel: The musl libc implementation of crypt_sha512.c and crypt_sha256.c enforces a 256-byte maximum password key length (KEY_MAX). When input length reaches or exceeds 256 bytes, musl returns the literal error sentinel string * instead of computing a hash digest.
  • The Comparison Collision: OpenSSH executes strcmp("*", "*") == 0, evaluating the authentication check as successful.

CRITICAL REMEDIATION DIRECTIVE: The definitive remediation is deploying vendor-patched packages. System administrators must apply vendor updates immediately:

  • Upstream Release: OpenSSH 10.6p2
  • Alpine Linux Official Backports:
    • Alpine 3.24: openssh-10.3_p1-r2
    • Alpine 3.23: openssh-10.2_p1-r1
    • Alpine 3.22: openssh-10.0_p1-r11
    • Alpine 3.21: openssh-9.9_p2-r1

⚠️ OPERATIONAL WARNING: On Alpine Linux, running apk add -u openssh updates the binary on disk, but does not restart the running sshd service. The daemon must be restarted (rc-service sshd restart or container redeploy) to flush the unlinked, vulnerable code from process memory.

In enterprise environments requiring qualification windows prior to binary replacement, protocol-level mitigation completely eliminates exposure. This repository provides automated fleet auditing, universal zero-trust drop-in configurations, Ansible deployment automation with verified compensating rollback, and eBPF runtime detection rules.


4-Layer Defense Architecture

flowchart TD
    classDef l1 fill:#022c22,stroke:#10b981,stroke-width:2px,color:#f8fafc;
    classDef l2 fill:#1e293b,stroke:#38bdf8,stroke-width:2px,color:#f8fafc;
    classDef l3 fill:#2e1065,stroke:#a855f7,stroke-width:2px,color:#f8fafc;
    classDef l4 fill:#451a03,stroke:#f59e0b,stroke-width:2px,color:#f8fafc;

    L1["Layer 1: Primary Prevention\nVendor Patch and Hardening\nPasswordAuth Disabled"]:::l1
    L2["Layer 2: Exposure Assessment\nPOSIX Fleet Auditor v1.1.6\n5-State SCAP/OVAL Engine"]:::l2
    L3["Layer 3: Runtime Detection\nFalco eBPF Security Rules\nCredential Tampering Defense"]:::l3
    L4["Layer 4: Verification Gate\n30-Scenario Regression Suite\nUbuntu + Alpine CI Matrix"]:::l4

    L1 --> L2
    L2 --> L3
    L3 --> L4
  1. Layer 1 — Primary Prevention: Upstream/Alpine backported binary updates + universal zero-trust SSH drop-in (PasswordAuthentication no, KbdInteractiveAuthentication no).
  2. Layer 2 — Exposure Assessment: SCAP/OVAL 5-state POSIX fleet auditor (audit_openssh_immunity.sh) verifying PID process identity (/proc/$PID/comm), package ownership (apk info -W, dpkg -S, rpm -qf), in-memory executable parity (/proc/$PID/exe), daemon command-line -f config recovery, strict 9-field /etc/shadow records, and full-field anchored algorithm-specific modular crypt hashes.
  3. Layer 3 — Runtime Detection: Falco eBPF rules detecting post-exploitation credential modification, authorized_keys tampering/atomic replacement, and unauthorized reverse shell spawning.
  4. Layer 4 — Independent Verification: 30-scenario unit, regression, and live integration test suite (tests/test_auditor.sh) executed across both Ubuntu (glibc) and Alpine Linux (musl libc) in GitHub Actions CI.

Official Vendor & Cybersecurity Advisory Alignment

ComponentStandard / DirectiveImplementation in this RepositoryTechnical Function
Authentication ProtocolCIS Benchmark 5.2.11PasswordAuthentication noTerminates password queries at protocol layer; bypasses crypt function entirely
Keyboard InteractiveCIS Benchmark 5.2.12KbdInteractiveAuthentication noDisables PAM challenge-response password fallback
Root Public Key AccessCIS Benchmark 5.2.5PermitRootLogin prohibit-passwordProhibits password authentication for administrative accounts
Algorithm RestrictionCIS Benchmark 5.2.14PubkeyAcceptedAlgorithms ...Enforces modern elliptic-curve standards (ED25519 / ECDSA / RSA-SHA2)
PAM DelegationOpenSSH Portable StandardUsePAM yesShifts authentication execution to PAM modules; safely ignored on no-PAM musl builds
Account Shadow GuardLinux Shadow Standardpasswd -l <user> (enforcing !)Replaces locked * sentinel with ! to prevent string comparison collisions

Assessment & Verification: The Fleet Exposure Auditor (v1.1.6)

Verified Execution Workflow

To assess fleet systems without deploying external runtimes, download the POSIX auditor script, verify the cryptographic digest, and execute:

# 1. Download auditor script and canonical SHA-256 digest
curl -sSLO https://raw.githubusercontent.com/mc493/openssh-musl-enterprise--hardening-cve-2026-123158/main/audit/audit_openssh_immunity.sh
curl -sSLO https://raw.githubusercontent.com/mc493/openssh-musl-enterprise--hardening-cve-2026-123158/main/audit/audit_openssh_immunity.sh.sha256

# 2. Verify cryptographic SHA-256 digest
sha256sum -c audit_openssh_immunity.sh.sha256

# 3. Execute fleet inspection
chmod +x audit_openssh_immunity.sh
./audit_openssh_immunity.sh

Dual-Gate Test-Harness Isolation

To prevent accidental environment variable bleed in production environments, all mock overrides (AUDIT_MOCK_*) are unconditionally unset unless both the --internal-test-mode CLI flag and AUDIT_ENABLE_TEST_HARNESS=1 environment variable are supplied. Note: this dual gate is a test-isolation mechanism, not a privilege boundary against an untrusted caller who controls process invocation.

JSON Telemetry Mode for CI/CD & SIEM

For integration with Ansible, Datadog, or centralized log ingestion:

./audit_openssh_immunity.sh --json
टूल डाउनलोड करें

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

सभी देखें →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 अंतिम OSINT टूलकिट: जाँच ग्राफ़, विश्वास स्कोरिंग, उपनाम परिवार, मानचित्र, टाइमलाइन और रिपोर्ट। 49 मॉड्यूल, 400+ साइटें, किसी API कुंजी की आवश्यकता नहीं।

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # घोस्टलॉक वन-टैप निष्पादन ऐप (CVE-2026-43499)

    599
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT प्लेटफ़ॉर्म जो Shadowserver रिपोर्ट्स को MongoDB में इनजेस्ट करता है और उन्हें इंटरैक्टिव मैप्स, विश्लेषण, निष्कर्षों, सलाहों और कार्यकारी डैशबोर्ड के रूप में पुनः प्रस्तुत करता है।

    394
  • 4

    ARTEX

    baarai/artex

    प्लानर/वर्कर एजेंट, एसेट और एक्सप्लोरेशन ग्राफ़, MITM ट्रैफ़िक रिकॉर्डिंग, और भेद्यता पुनःपरीक्षण के साथ LLM मल्टी-एजेंट स्वायत्त पेनेट्रेशन टेस्टिंग प्लेटफ़ॉर्म।

    321
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI-मूल साइबरसुरक्षा के लिए कार्रवाई की प्रणाली—जहाँ इरादा नियंत्रित निष्पादन बन जाता है, साक्ष्य परिचालन स्मृति बन जाता है, और हर ऑपरेशन अगले को बेहतर बनाता है।

    277
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    वेब पर 7,700+ सोशल मीडिया पहचानों को खोजने और मैप करने के लिए AI-संचालित OSINT इंजन

    257

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

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

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