svc-ssh
SSH version CVEs and post-auth tricks — regreSSHion, user enum, agent hijack. Use when SSH is open. Triggers - port 22, OpenSSH banner, regreSSHion CVE-2024-6387, CVE-2018-15473.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- svc-ssh
- description
- SSH version CVEs and post-auth tricks — regreSSHion, user enum, agent hijack. Use when SSH is open. Triggers - port 22, OpenSSH banner, regreSSHion CVE-2024-6387, CVE-2018-15473.
03 SKILL.md 正文
SSH — Version CVEs & Tricks
CVE-2024-6387 (regreSSHion)
OpenSSH 8.5–9.7 on glibc-based Linux. Race condition → unauthenticated RCE. Public PoCs exist but are slow/unreliable — confirm version, note as high-value finding.
CVE-2018-15473 (user enumeration)
OpenSSH <7.7. Timing-based username enumeration.
ssh-audit TARGET or Metasploit auxiliary/scanner/ssh/ssh_enumusers.
User list → password spray / AS-REP roast.
SSH agent forwarding hijack
If another user has agent forwarding enabled:
find /tmp -name "agent.*" → SSH_AUTH_SOCK=/tmp/agent.XXXX ssh other-target
Post-auth pivot intel
~/.ssh/config— other hosts, jump hosts, proxy configs~/.ssh/known_hosts— every host this user connected to~/.ssh/authorized_keys— who else has access (persistence opportunity)
Auth method check
ssh -o PreferredAuthentications=none TARGET reveals accepted methods.
If only publickey → password brute is impossible, don't waste time on hydra.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.