News for hackers. Stuff that matters.
Re:An obscure kernel feature to get more info about dying pr... by JoeAltmaier on Monday September 20, 2010 @12:54PM (#1709496)
Hook root when a process crashes? How long until an exploit?
Re:An obscure kernel feature to get more info about dying pr... by InclinedPlane on Monday September 20, 2010 @01:03PM (#1709535)
If you have the ability to modify or create files in /proc you almost certainly already control the system.
Re:An obscure kernel feature to get more info about dying pr... by mmastrac on Monday September 20, 2010 @03:48PM (#1710270)
Not necessarily. You can trick someone who does have access to write /proc into writing something to /proc for you via symlink or another method.

Disclosure: I work on the unrEVOked rooting tool for android and we do stuff like this all the time.

Re:An obscure kernel feature to get more info about dying pr... by JoeAltmaier on Monday September 20, 2010 @02:20PM (#1709919)
You only need to modify the tool that runs as the hook script...which may or may not be protected
Re:An obscure kernel feature to get more info about dying pr... by dododo on Monday September 20, 2010 @01:11PM (#1709584)
on the other hand, it makes for an interesting rootkit hook.
Re:An obscure kernel feature to get more info about dying pr... by FooBarWidget on Monday September 20, 2010 @01:47PM (#1709762)
Which is more dangerous than all the others things you can do as root - like inserting an arbitrary kernel module - how?
Re:An obscure kernel feature to get more info about dying pr... by InclinedPlane on Monday September 20, 2010 @01:54PM (#1709798)
Dangerous: no, but he said interesting, so perhaps. The advantage of using little known features, for rootkits, is that people are less likely to look for them.
Re:An obscure kernel feature to get more info about dying pr... by dododo on Monday September 20, 2010 @04:45PM (#1710437)
i never said more dangerous nor intended it.

it's not a very good rootkit by itself, certainly, as typically rootkits will monkey with the kernel to hide processes and network sockets.

it's interesting because it's probably the simplest rootkit method i can think of (next to setuid binaries). it's less obvious than a setuid. it's not something that anyone sane would use by itself because like i said--it doesn't hide you.

Re:An obscure kernel feature to get more info about dying pr... by milkshakes on Monday September 20, 2010 @01:53PM (#1709787)
it's not (yet) an obvious place to look.