How to write a Linux virus in 5 easy steps
Posted Feb 12, 2009 14:08 UTC (Thu) by
hppnq (subscriber, #14462)
In reply to:
How to write a Linux virus in 5 easy steps by nix
Parent article:
How to write a Linux virus in 5 easy steps
When the launcher is invoked as an executable through the hash-bang mechanism with the executable bits off, it will refuse to run anyway, and when run by the interpreter you have the current situation.
So the problem remains the same: do you trust your desktop launcher or not? The traditional Unix security model can never be trusted in this respect.
I would think that it may even be more safe to have an external interpreter run the desktop launcher, because at least you then cannot accidentally run any Joe Random Hacker's setuid binary instead of an easy to parse script.
(
Log in to post comments)