Re:Kill -0
by tptacek on Friday March 27, 2009 @03:53PM
(#535636)
kill(pid, 0) is also a classic trick for detecting crappy rootkits; cycle through all ~65k possible pids, and see if the ESRCH results agree with "ps -axo pid". A patched ps, a patched KVM library, or even a patched procfs can still miss the code path used by the kill(2) syscall.
[ Parent
| on HN ]
There are no comments on this comment yet.