TTP Diaries: SSH Agent Hijacking
infonews
security
Source: Embrace The RedOctober 16, 2022
Summary
SSH Agent Hijacking is an attack where an adversary with root permissions can steal SSH private keys (encryption keys used for secure shell access) from a forwarded SSH Agent, a service that stores authentication credentials. On shared systems like jumpboxes (intermediate servers used to access other machines), an attacker can find another user's SSH_AUTH_SOCK (an environment variable pointing to the SSH Agent's communication socket) and use it to impersonate that user and access machines they have permission to reach.
Classification
Attack SophisticationModerate
Original source: https://embracethered.com/blog/posts/2022/ttp-diaries-ssh-agent-hijacking/
First tracked: February 12, 2026 at 02:20 PM
Classified by LLM (prompt v3) · confidence: 95%