6
reptyr, a tool to move a process to a new terminal
(github.com)
All things operating system related, from Windows to Mac to Linux distros and the more obscure.
Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
Very capable tool, and useful in some cases. Does require security of the ptrace call to be unset (
ptrace_scope
) or set to the default (insecure one).I'm a big fan of using ptrace_scope to restrict
PTRACE_ATTACH
to only allow parents (or grandparents, etc.) to attach to children. Quite useful - this particular security feature was unique to grsecurity and was good enough to be implemented in mainline (changed).If you care about whether user processes should not be able to attach to other processes under the same UID, don't use it though!