How to write a Linux virus – well or a trojan.

2010-05-18 2 min read Fedora Linux

<a href="http://www.geekzone.co.nz/foobar/6229" target="_blank">How to write a Linux virus

and the folloup thereof

<a href="http://www.geekzone.co.nz/foobar/6236" target="_blank">Follow up: How to write a Linux virus

Thats quite a lot of discussion and an interesting one too. I too liked the point that the authour is trying to make, that is Linux too is not completely safe. I would rather like to put it as not &#8221;Fool Proof&#8221;.

But no one is fool. Its just the matter of time when you do something foolish. People do keep thinking about various things and keep working. That being the case, it is not too difficult that someone would actually run the program. But the caveat is that the program/virus/trojan would still show up at some places. So you need to do few more things for this to work. If you are keen on doing this, then you need to atleast add these:

  1. When previewed, if you are sending it disguised as image, then it should be displayed as image in most of the defalt emaill clients.

  2. When double clicked in Desktop environments with X running, it should actually display a image. (Otherwise everyone will be suspicious)

  3. The process should be stealthed (I dont know if that can be done) in such a way that it does not appear in proc or in ps output.

These are atleast the minimum requirements that I think should be met even before someone thinks that it is virus/trojan/or anything of sort of prank. What do you guys think?

comments powered by Disqus