Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wgpsec avatar

Lateral Movement

  • 27 installs
  • 1.6k repo stars
  • Updated July 19, 2026
  • wgpsec/aboutsecurity

Helps with ai & agent building tasks during AI-assisted development.

About

lateral-movement is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • lateral-movement
  • AI & Agent Building
  • AI-coding skill

Lateral Movement by the numbers

  • 27 all-time installs (skills.sh)
  • +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #9,560 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wgpsec/aboutsecurity --skill lateral-movement

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs27
repo stars1.6k
Last updatedJuly 19, 2026
Repositorywgpsec/aboutsecurity

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

横向移动方法论

⛔ 深入参考(必读)

  • 需要凭据提取与转储方法 → references/credential-extraction.md
  • 需要远程执行技术对比与选择 → references/remote-execution-comparison.md
  • 需要 PTH/PTT/PTK 传递攻击技术 → references/pass-techniques.md
  • 需要 WinRM/PSExec/WMI/DCOM/RDP/PTT 各技术的具体命令 → references/movement-techniques.md

---

Phase 1: 目标发现

arp -a                              # 已通信的主机
naabu -host 10.0.0.0/24 -p 22,80,135,445,3389,5985 -silent
目标价值
域控极高(控制整个域)
数据库/文件/备份服务器高(敏感数据)
跳板机中(连接更多网段)

Phase 2: 技术选择决策树

凭据类型 + 目标 OS?
├─ Linux
│   └─ SSH 密码/密钥(chmod 600!)
├─ Windows + 明文密码
│   └─ WinRM > WMI > PSExec(按隐蔽性)
├─ Windows + NTLM 哈希
│   └─ PTH via WinRM/WMI/PSExec
├─ Kerberos 票据
│   └─ PTT(mimikatz kerberos::ptt)
├─ 跨网段
│   └─ SSH 隧道/SOCKS 代理
└─ 需要图形界面
    └─ RDP
详细命令 → [references/movement-techniques.md](references/movement-techniques.md)

Phase 3: 移动后操作

1. 确认权限 — whoami /allid 2. 重复后渗透流程 3. 收集新凭据 — 可能发现更高权限凭据 4. 评估下一步目标

注意事项

  • PSExec 创建服务 → 有明显日志,优先用 WMI/WinRM
  • PTH 只对 NTLM 认证有效(Kerberos-only 环境不行)
  • 多次失败可能触发告警,控制尝试频率

SSH 密钥认证横向

  • SSH 密钥/私钥(id_rsa)发现后直接登录
  • 注意文件权限:权限太宽松(如 0644 / too open)SSH 会拒绝
  • SSH 安全要求:私钥文件权限必须为 600

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.