Linux malware: an incident and some solutions
Posted Jan 4, 2010 19:08 UTC (Mon) by
giraffedata (subscriber, #1954)
In reply to:
Linux malware: an incident and some solutions by rickmoen
Parent article:
Linux malware: an incident and some solutions
I'm not sure, offhand, how capability controls on package installers would prevent granting of powers to undesired scripts within some packages while permitting them to others.
I can see it. It's a higher level of capability control than you're thinking of. Maybe implemented in dpkg itself. You request to install a package, but say, "This installation has no business setting up something that runs every time anyone logs in." In the case at hand, I believe if dpkg failed with a message saying, "you need to give me permission to install a login script," the user wouldn't have proceeded.
Indeed, that kind of constrainability of installs would help with inadvertent over-installation as well. Many times, I've had an installer helpfully configure something on my system for me -- something outside the scope of what I thought I was modifying by installing -- and later I had a devil of a time figuring out who changed it and how to change it back.
(
Log in to post comments)