linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* readdir and checksecurity
@ 2004-03-24 13:55 Christian Robottom Reis
  2004-03-24 15:02 ` Javier Fernández-Sanguino Peña
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Robottom Reis @ 2004-03-24 13:55 UTC (permalink / raw)
  To: linux-admin; +Cc: debian-security


Hi there,

    one of our servers (which runs Debian Woody) was recently
compromised, and had a suckit variant installed. We've gone through the
reinstall and restore steps, and one of the things I looked at is
debian's /usr/sbin/checksecurity script, which checks for changes in
setuid files. 

    Now suckit alters the system call table to provide specific
functionality to the attacker; one of these is to make specified files
and directories invisible to readdir(3) through a hacked getdents(2)
proxy function.

My question is: doesn't this situation sort of invalidate
checksecurity's setuid check, since setuid files that are in "hidden"
directories won't show up in the listing?

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-24 15:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-24 13:55 readdir and checksecurity Christian Robottom Reis
2004-03-24 15:02 ` Javier Fernández-Sanguino Peña

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).