Hijacking Tmux Sessions
Last updated
Last updated
For many reasons, a user may leave a tmux
process running as a privileged user, such as root set up with weak permissions, and can be hijacked.
If we can compromise a user in the dev
group, we can attach to this session and gain root access.
Check for any running tmux
processes.
Confirm permissions.
Review our group membership.
Finally, attach to the tmux
session and confirm root privileges.