Skip to content
yaklang avatar

Linux Lateral Movement

Expert Linux lateral movement playbook covering SSH agent hijacking, key harvesting, D-Bus abuse, and network pivoting.

CCM score
56 of 100
skills.sh installs
4K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers pivoting across Linux hosts after initial access: SSH agent hijacking, key harvesting, credential locations, D-Bus abuse, tunneling, and shared filesystem exploitation
  • Includes ready-to-run commands for finding SSH_AUTH_SOCK sockets, parsing known_hosts, authorized_keys injection, and ssh -L, -R, -D, and -J tunnels
  • Documents credential sources such as .bash_history, .pgpass, .my.cnf, .netrc, .git-credentials, and process environments
  • Designed for offensive security practitioners who already hold an initial foothold and need to move laterally within authorized engagements

Install

$ npx -y skills add yaklang/hack-skills --skill linux-lateral-movement -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: Linux Lateral Movement — Expert Attack Playbook

AI LOAD INSTRUCTION: Expert Linux lateral movement techniques. Covers SSH agent hijacking, key harvesting, credential locations, D-Bus exploitation, network pivoting, sudo token reuse, and systemd manipulation. Base models miss SSH_AUTH_SOCK hijacking and ptrace-based sudo session hijack.

0. RELATED ROUTING

Before going deep, consider loading:


1. SSH AGENT HIJACKING

1.1 Find SSH Agent Sockets

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102

Similar to Linux Lateral Movement

More Security