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
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_SOCKsockets, parsingknown_hosts,authorized_keysinjection, andssh -L,-R,-D, and-Jtunnels - 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 -yInstalls 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:
- linux-privilege-escalation if you need root on the current host before pivoting
- linux-security-bypass when restricted shells or security modules block lateral movement tools
- container-escape-techniques when the target network includes containerized hosts
- kubernetes-pentesting when pivoting into a Kubernetes cluster
- unauthorized-access-common-services for exploiting discovered internal services (Redis, MongoDB, etc.)
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- Type Juggling4K
- Linux Security Bypass4K
- Classical Cipher Analysis4K
- Tunneling And Pivoting4K
- Steganography Techniques4K
- Prototype Pollution Advanced3.9K
- Stack Overflow And Rop3.9K
- Smart Contract Vulnerabilities3.9K
- Lattice Crypto Attacks3.9K
- Rsa Attack Techniques3.9K
- Sandbox Escape Techniques3.9K
- Symmetric Cipher Attacks3.9K
- Windows Lateral Movement3.9K
- Macos Security Bypass3.9K
- Ntlm Relay Coercion3.9K
- Nosql Injection3.9K
- Macos Process Injection3.9K
- Upload Insecure Files3.9K
- Unauthorized Access Common Services3.8K
- Reverse Shell Techniques3.8K
- Ghost Bits Cast Attack3.7K
- Hack4.8K
- Recon And Methodology4.5K
- Android Pentesting Tricks4.5K
Similar to Linux Lateral Movement
More Securitytunneling-and-pivotingSkillyaklang/hack-skills4K installsExpert tunneling and pivoting playbook covering SSH forwarding, Chisel, Ligolo-ng, DNS/ICMP/HTTP tunnels, and multi-layer chaining.
windows-lateral-movementSkillyaklang/hack-skills3.9K installsCatalog summary for windows-lateral-movement: pivoting techniques, execution methods, and credential types for moving between Windows hosts.
SSH — policy-gated remote accessMCP servertufantunc915 starsRemote SSH access to Linux and Windows hosts, gated by roles, approvals, and audit logging.
SSH Penetration TestingSkilldavila7/claude-code-templates213 installsStructured guide for SSH penetration testing covering discovery, enumeration, credential attacks, exploitation, tunneling, and post-exploitation.
Hex SSHMCP serverlevnikolaevich598 starsToken-efficient SSH access with hash-verified file transfers and persistent tmux sessions for remote work.
sshSkilldicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations706 installsSSH remote access guide covering connections, jump hosts, tunnels, keys, and file transfers.