SSH caches keys of ongoing sessions in /tmp. Root can hijack, SSH to machine

by frogger8on 2/28/23, 8:58 PMwith 3 comments
by theamkon 2/28/23, 10:10 PM

Someone discovered either "ssh-agent" or ssh agent forwarding.

I bet the next tweet from that account is: "Red Teamers: Check out ~/.ssh for user ssh keys! root user can hijack them and SSH to any machine the user can access"

by gladiatr72on 3/1/23, 1:27 AM

Um. Yeah. That's kinda how that whole root thing works.