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

How to write a Linux virus

and the folloup thereof

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 \”Fool Proof\”.

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?

Linux EBook

My own book.. Though not too good but might be useful.

Free Ebook

Leave a comment or send a mail to wordpress@amit-agarwal.co.in to get the password

List all the installed firefox addons from the bash script

Here is a one-line that would help you get the Firefox addons in the bash script:

grep -hIr \\<em:name ~/.mozilla/firefox/*.default/extensions|sed \’s#\\s*##\’|sed \’s#.*\\(>.*<\\).*#\\1#\’|sed \’s/[<\\|>]//g\’|sort -u

\"Reblog