Skip to content
KitploitKITPLOIT
OutilsExploitsBlog
Log in
Soumettre
OutilsExploitsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

FluxContactConfidentialité© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
sshhole-scanner — Read-only scanner that detects the OpenSSH musl/PAM password-authentication bypass (CVE-2026-123158) on local, offline, or remote hosts, with JSON output and log IoC checks. | Kitploit
Outils/GitHubGitHub/avi99999/sshhole-scanner
Defensive ToolsVulnerability ScannersConfiguration AuditingNetwork SecurityAuthenticationIncident ResponseLog Analysis
GitHubavi99999/sshhole-scanner

sshhole-scanner

Read-only scanner that detects the OpenSSH musl/PAM password-authentication bypass (CVE-2026-123158) on local, offline, or remote hosts, with JSON output and log IoC checks.

Voir le dépôt
1il y a 7 joursPas encore vérifié
Partager
Contenu non disponible dans la langue demandée. Affichage de la version anglaise.

sshhole_scan — CVE-2026-123158 detector

Detects the OpenSSH password-authentication bypass ("sshhole"). It affects sshd on Linux when sshd is built against musl libc and runs without PAM (for example, Alpine's default openssh-server).

How the bug works: for an account whose shadow password field is *, sshd borrows the salt from another account's $5$/$6$ hash. musl's crypt() fails on any key longer than 256 bytes and returns "*" when it fails. That return value matches the stored *, so any password of 257–1024 bytes logs in.

This CVE is in CISA's Known Exploited Vulnerabilities (KEV) catalog. The tool never attempts the bypass. It only reads files, config, and logs (or, in remote mode, the SSH banner and the list of auth methods the server offers).

Usage (Python 3.8+, standard library only)

sudo python3 sshhole_scan.py

Audits the local host. Run it as root so it can read /etc/shadow and run sshd -T.

python3 sshhole_scan.py --root /mnt/image

Audits an offline filesystem, such as a mounted disk or a container image extracted with docker export <ctr> | tar -x -C /mnt/image.

python3 sshhole_scan.py --remote 10.0.0.5 --user alpine

Runs a remote triage check. Install paramiko if you want the auth-method probe.

Add --json to get machine-readable output. Exit codes: 0 not vulnerable, 1 vulnerable, 2 potentially vulnerable or undetermined, 3 error.

What it checks

CheckVulnerable when
libcsshd uses ld-musl-*
PAMsshd isn't linked to libpam, or UsePAM isn't yes
VersionAlpine: package below the fixed release for its branch (3.16–3.24, edge; EOL branches have no fix). Elsewhere: below 10.6p2
PasswordAuthenticationnot no (reads sshd -T, or sshd_config plus Include files)
Accountsan SSH-reachable account has shadow field exactly *. Accounts out of reach because of PermitRootLogin, AllowUsers or DenyUsers are marked "blocked"
Salt sourceat least one $5$/$6$ hash exists
Directory usersnsswitch uses ldap, sss or winbind (warning only)
Indicators of compromise (IoC) in logsAccepted password for <*-account> in /var/log/messages*, auth.log* or secure*

Limitations

  • Remote mode can't see libc, PAM, or which accounts are set to *. It can only clear a host or mark it as "potentially vulnerable." Alpine backports also keep the old version string in the SSH banner.
  • Match blocks in sshd_config are ignored when the tool parses the file directly. Running as root uses sshd -T, which gives the effective config.
  • On non-Alpine distros, backported fixes can't be detected from the version number.
  • systemd journal logs aren't read. Check them with journalctl -u sshd | grep 'Accepted password'.

Fix

Run apk upgrade -U -a && rc-service sshd restart. Upgrading doesn't restart the running daemon. Until you can upgrade, set PasswordAuthentication no.

Tests: python3 test_sshhole_scan.py (10 offline scenarios).

Télécharger l’outil

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 La boîte à outils OSINT ultime : graphe d'enquête, notation de confiance, familles d'alias, carte, chronologie et rapports. 49 modules, plus de 400 sites, aucune clé API requise.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Application d'exécution en un clic GhostLock (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    Plateforme CSIRT qui ingère les rapports Shadowserver dans MongoDB et les rejoue sous forme de cartes interactives, d'analyses, de constats, d'avis et de tableaux de bord exécutifs.

    371
  • 4

    redforge

    cybersecurity91/redforge

    Boîte à outils red team côté navigateur avec 102 outils hors ligne pour la reconnaissance, la génération de payloads, les attaques par identifiants, la cryptographie, l'encodage et le reporting d'engagement.

    336
  • 5

    ARTEX

    baarai/artex

    Plateforme autonome de tests d'intrusion multi-agents basée sur des LLM, avec agents planificateur/ouvrier, graphes d'actifs et d'exploration, enregistrement du trafic MITM et retest des vulnérabilités.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    Le système d'action pour la cybersécurité native IA—où l'intention devient une exécution gouvernée, les preuves deviennent une mémoire opérationnelle, et chaque opération améliore la suivante.

    322

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →