SSH Security Audit

VerifiedSafe

Helps navigate the hackingyseguridad/ssha repository for authorized SSH security auditing: identify scripts per CVE, verify authorization, prioritize detection/defense.

Sby Skills Guide Bot
SecurityAdvanced
7/25/2026
Claude CodeCursorCodex
#ssh#security-audit#vulnerability-scanning#penetration-testing#hardening

Recommended for

Automated summary

Guides users through the hackingyseguridad/ssha repository to locate SSH auditing, scanning and exploitation scripts, verify authorization before offensive actions and prioritize detection and hardening paths.

Strengths

  • Clear mapping of scripts by category (audit, reconnaissance, offensive, hardening)
  • Enforces explicit authorization checks before explaining or running offensive scripts
  • Points to concrete defensive resources such as sshd_config and sshguard
  • Consistently favors detection and defense over exploitation

Limitations

  • Only covers scripts from one specific repository, without broader SSH security knowledge
  • Relies on user confirmation and cannot automatically verify server ownership or engagement scope
  • The source file appears truncated, so coverage of some scripts may be incomplete
When to use it

Use it when the user asks about SSH vulnerabilities, wants to audit their own SSH server, needs to understand a ssha repository script, or requests help hardening sshd.

When not to use it

Avoid it when the request targets third-party systems without authorization or asks for new exploits to be written.

Security analysis

Safe
Quality score82/100

The skill is purely orientational documentation for a third-party SSH auditing repository. It never executes commands, declares no tools, and builds strong guardrails: it requires explicit written authorization and lab/CTF/contracted-pentest context before even naming an offensive script, declines to author new exploit content, and consistently steers toward detection and hardening first. The presence of offensive tool references is a reputational/content nuance rather than an execution risk, so it rates safe.

Findings
  • •Catalogs offensive tooling (user enumeration, brute force, RCE PoCs such as CVE-2024-6387) but gates every offensive path behind an explicit authorization check and refuses to generate new exploit instructions
  • •Declares no allowed-tools and performs no execution itself; it only maps repository scripts and explains their nature
  • •No destructive commands, no curl|sh, no credential/secret exfiltration, no obfuscated payloads, no safety-disabling content
How this analysis is made

Examples

Pick an audit script
¿Qué script del repositorio ssha debo usar para auditar los cifrados de mi servidor SSH?
Terrapin detection
¿Cómo compruebo si mi servidor SSH es vulnerable al ataque Terrapin usando el repositorio ssha?
Harden sshd
Ayúdame a reforzar la configuración de sshd usando las plantillas de sshd_config del repositorio ssha.

name: ssh-auditoria-seguridad description: Ayuda a orientarse en el repositorio hackingyseguridad/ssha (utilidades de auditoría, escaneo y explotación de vulnerabilidades SSH) para tareas de auditoría de seguridad SSH autorizada — identificar qué script corresponde a qué CVE o categoría (auditoría de cifrados, enumeración de usuarios, fuerza bruta, PoC de CVEs, hardening de sshd), verificar autorización antes de cualquier acción ofensiva y priorizar siempre las rutas de detección/auditoría/defensa. Úsala cuando el usuario pregunte por vulnerabilidades SSH, quiera auditar un servidor SSH propio, necesite entender qué hace un script del repositorio ssha, o pida ayuda para reforzar la configuración de sshd.

ssh-auditoria-seguridad

Skill de orientación para el repositorio hackingyseguridad/ssha: utilidades de auditoría, escaneo y explotación de vulnerabilidades SSH.

Antes de nada: verificación de autorización

Este repositorio mezcla dos tipos de contenido muy distintos:

  • Auditoría/detección (no intrusivo): escaneo de versión, cifrados ofrecidos, ssh-audit, detección de Terrapin, revisión de logs, plantillas de sshd_config seguras.
  • Explotación/ofensivo (intrusivo): PoC de RCE (regreSSHion), enumeración de usuarios, fuerza bruta de credenciales.

Regla fija de esta skill: antes de generar o explicar cómo ejecutar cualquier script del segundo grupo contra un host, confirma explícitamente con el usuario que:

  1. el host objetivo es de su propiedad o cuenta con autorización escrita para la prueba, y
  2. el contexto es un laboratorio, CTF o auditoría contratada — no un sistema de terceros sin permiso.

Si no hay confirmación clara, o el contexto sugiere un objetivo ajeno, no generes el comando ofensivo: explica el motivo y redirige hacia la parte de auditoría/detección (que es igualmente útil y no requiere las mismas garantías, aunque igualmente solo debe usarse contra sistemas propios o autorizados). Nunca generes exploits o técnicas de ataque nuevas más allá de citar qué script del repositorio ya existente cubre ese CVE.

Mapa del repositorio

| Categoría | Scripts | Naturaleza | |---|---|---| | Auditoría de configuración/cifrados | scanciphers.sh, ssh-audit.sh, sshaudit.sh, ssh_cifrados_vulnerables.md | No intrusiva | | Versión / fingerprint del servidor | versionssh.sh, verssh.sh, verserverkeys.sh | No intrusiva | | Detección de Terrapin Attack | terapinscan.sh, Terrapin_Scanner_Linux_amd64/i386 | No intrusiva (solo detecta) | | Escaneo de hosts/puertos | sshscan.sh, sshscan2.sh, nmapxsalto.sh | Reconocimiento | | Logs y monitorización (lado servidor propio) | verlogssh.sh, verconexiones.sh | Defensivo | | Hardening / configuración segura | sshd_config, configuracion.txt, sshguard.conf | Defensivo | | Enumeración de usuarios (CVE-2018-15473, CVE-2016-6210) | usuariossh.py, sshusers.sh, usuarios_ssh.sh, sshuserslist.sh, ssh-username-enum.py, CVE-2016-6210.py | Ofensivo — requiere autorización | | Fuerza bruta de credenciales | brutessh*.sh, brutesshmasivo.sh, sshpass.sh | Ofensivo — requiere autorización | | PoC de RCE / inyección de comandos | CVE-2024-6387.py/.nse/.c, CVE-2020-15778_exploit.sh, cve_2020_15778.py, otros CVE-*.sh/.py | Ofensivo — requiere autorización explícita y contexto de laboratorio/pentest contratado | | Post-explotación (túneles/C2) | tuneles_ssh.md, tunel_panel_c2.sh, claveprivada.sh, ssh_claveprivada.sh | Ofensivo — solo en engagements con alcance definido | | Clientes legacy | ssha, sshb, sshc, sshd (wrappers) | Compatibilidad, no ofensivo per se |

Flujo recomendado ante una petición

  1. Clasifica la petición usando la tabla anterior: ¿auditoría/defensa o explotación?
  2. Si es auditoría/defensa (versión, cifrados, Terrapin, hardening, logs): ayuda directamente — indica el script correspondiente y qué interpretar del resultado. No requiere el mismo nivel de confirmación, pero recuerda que sigue debiendo ejecutarse solo contra sistemas propios.
  3. Si es ofensiva (enumeración, fuerza bruta, PoC de RCE): aplica la verificación de autorización de arriba. Solo si el usuario confirma un contexto legítimo, indica qué script del repositorio corresponde a la CVE/técnica solicitada y su propósito general, dejando que sea el propio usuario quien revise la cabecera del script para los parámetros exactos — no generes tú instrucciones adicionales de explotación más allá de las ya documentadas en el proyecto.
  4. Prioriza siempre la vía defensiva como recomendación adicional: si el usuario pregunta cómo explotar un CVE, añade también cómo mitigarlo (parche, configuración, SSHGuard/fail2ban).

Selección rápida por síntoma

  • "¿Qué versión de SSH corre este servidor?" → versionssh.sh / verssh.sh.
  • "¿Usa cifrados obsoletos?" → scanciphers.sh, contrastar con ssh_cifrados_vulnerables.md.
  • "¿Es vulnerable a Terrapin?" → terapinscan.sh.
  • "Quiero una puntuación general de seguridad del servidor" → ssh-audit.sh / sshaudit.sh.
  • "¿Cómo reviso quién se ha conectado / intentos fallidos?" → verlogssh.sh, verconexiones.sh.
  • "Quiero endurecer mi propio sshd_config" → sshd_config / configuracion.txt + sshguard.conf.
  • "¿Este servidor es vulnerable a regreSSHion (CVE-2024-6387)?" → primero contrastar versión con versionssh.sh; solo si hay autorización para probar, referenciar CVE-2024-6387.nse (vía nmapxsalto.sh) como comprobación menos intrusiva antes que el PoC de explotación completo.
  • "Necesito hacer fuerza bruta / enumerar usuarios" → exige confirmación de autorización antes de mencionar brutessh*.sh / sshusers.sh.

Buenas prácticas a recordar siempre

  • Preferir la detección (escaneo de versión, ssh-audit, NSE) sobre la explotación activa cuando el objetivo sea simplemente saber si algo es vulnerable.
  • Recomendar actualizar OpenSSH y aplicar sshd_config endurecido como cierre de cualquier hallazgo.
  • No generar variantes nuevas de los PoC ni combinarlos de forma que amplíen su alcance más allá de lo ya publicado en el repositorio.

Licencia del repositorio

GPL-3.0 — ver LICENSE en el repositorio original.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/ssh-security-audit-mrzxuonx' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ssh-security-audit-mrzxuonx/download' --output '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md.part' && mv '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md.part' '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md' && test -s '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ssh-auditoria-seguridad' && cp -R '.skill-downloads/ssh-security-audit-mrzxuonx' '.claude/skills/ssh-auditoria-seguridad'

Cursor
test -f '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md' && test -s '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/ssh-auditoria-seguridad' && cp -R '.skill-downloads/ssh-security-audit-mrzxuonx' '.cursor/skills/ssh-auditoria-seguridad'

Codex
test -f '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md' && test -s '.skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/ssh-auditoria-seguridad' && cp -R '.skill-downloads/ssh-security-audit-mrzxuonx' '.agents/skills/ssh-auditoria-seguridad'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/ssh-security-audit-mrzxuonx'

openskills read 'ssh-security-audit-mrzxuonx'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/ssh-security-audit-mrzxuonx/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills