How to write a Linux virus in 5 easy steps
geekzone.co.nz
geekzone.co.nz
I might as well claim I can spread linux viruses on Hacker News by telling everyone to open a shell and type "rm -r ~" or "sudo rm -r /*".
Maybe in Windows its common behavior to download a program that says installs something you want and running it with administrative privileges. Not so in any Linux I know.
Could this also not be fixed simply be requiring that launchers have the execute bit set? Actually, having read the article properly, I see that the post makes the same suggestion.
As he also says the smaller Linux desktop user numbers and the diversity of desktops mean it is still a lot safer than Windows. How many actual Linux user have actually been infected by malware?
The "virus" in this article is a bit trivial, as other users have pointed out.
- That said some security around ~/.config/autostart wouldn't be a bad idea.
Using gksu to trick the user into typing the root passwd or the sudo passwd to execute a malicious script is a real threat.