Follow up: How to write a Linux virus
Posted Feb 13, 2009 16:11 UTC (Fri) by
droundy (subscriber, #4559)
In reply to:
Follow up: How to write a Linux virus by etienne_lorrain@yahoo.fr
Parent article:
Follow up: How to write a Linux virus
Note that I still do not understand the general problem, if the .desktop file is executed under the "internet" user in the "internet" group, the virus can only modify "internet" files.
In fact the problem is not downloading a random file from Internet, it is that doing so will silently change the ownership to the user - and so be trusted like any other file the user owns.
Maybe all files downloaded from Internet should be owned by "internet" username until their signature is verified, then they would change ownership to "fedora" or "debian" if it is a verified package, or some smart management based on the username/group.
The trouble is that the user of a process running an executable is not determined by the owner of the executable, but rather by the user who started the process. Changing this would have serious implications. What you're proposing really is more like what smack does than something you'd want to hack up using traditional users and DAC.
(
Log in to post comments)