Friday, July 3, 2009

How to Make a Trojan Horse

How to Make a Trojan

Most of you may be curious to know about how to make a Trojan or Virus on your own. Here is an answer for your curiosity. In this post I’ll show you how to make a Trojan on your own using C programming language. This Trojan when executed will eat up the hard disk space on the root drive (The drive on which Windows is installed, usually C: Drive) of the computer on which it is run.  Also this Trojan works pretty quickly and is capable of eating up approximately 1 GB of hard disk space for every minute it is run. So, I’ll call this as Space Eater Trojan. Since this Trojan is written using a high level programming language it is often undetected by antivirus. The Trojan is available for download along with the source code at the end of this post. Let’s see how this Trojan works…

Before I move to explain the features of this Trojan you need to know what exactly is a Trojan horse and how it works. As most of us think a Trojan or a Trojan horse is not a virus. In simple words a Trojan horse is a program that appears to perform a desirable function but in fact performs undisclosed malicious functions that allow unauthorized access to the host machine or create a damage to the computer.

Now lets move to the working of our Trojan

The Trojan horse which I have made appears itself as an antivirus program that scans the computer and removes the threats. But in reality it does nothing but occupy the hard disk space on the root drive by just filling it up with a huge junk file. The rate at which it fills up the hard disk space it too high. As a result the the disk gets filled up to 100% with in minutes of running this Trojan. Once the disk space is full, the Trojan reports that the scan is complete. The victim will not be able to clean up the hard disk space using any cleanup program. This is because the Trojan intelligently creates a huge file in theWindowsSystem32 folder with the .dll extension. Since the junk file has the .dllextention it is often ignored by disk cleanup softwares. So for the victim, there is now way to recover the hard disk space unless reformatting his drive.

The algorithm of the Trojan is as follows

1. Search for the root drive

2. Navigate to WindowsSystem32 on the root drive

3. Create the file named “spceshot.dll

4. Start dumping the junk data onto the above file and keep increasing it’s size until the drive is full

5. Once the drive is full, stop the process.

You can download the Trojan along with it’s source code HERE.

How to compile, test and remove the damage?

Compilation:

You can use Borland C++ compiler (or equivalent) to compile the Trojan.

Testing:

To test the Trojan,  just run the SpaceEater.exe file on your computer. It’ll generate a warning message at the beginning. Once you accept it, the Trojan runs and eats up hard disk space.

NOTE: To remove the warning message you’ve to edit the source code and then re-compile it.

How to remove the Damage and free up the space?

To remove the damage and free up the space, just type the following in the “run” dialog box.

%systemroot%system32

Now search for the file “spceshot.dll“. Just delete it and you’re done. No need to re-format the hard disk.

Posted via web from swathidharshananaidu's posterous

9 comments:

  1. Hi, good post. I have been woondering about this issue,so thanks for posting. I’ll definitely be coming back to your site.

    hack facebook password

    crack Hotmail password

    how to hack into someones Hotmail

    ReplyDelete
  2. Whoo Weee! Raya Hari http://www.activehackers.com/cracking-hotmail-passwords.php are fast! Easy and straight up business to hack hotmail password free. The information obtained may have helped change/save a life. Thank you so much Raya Hari! I'll contact again for sure! Cheers! hack hotmail password free



    facebook password hacking - find a yahoo password

    hack the password of yahoo mail id free of cost - can you hack your hotmail messenger passwords?



    Paula Robinson, New York


    US

    ReplyDelete
  3. how to hack messenger password? Dont worry, this rayahari.com does not ask you any information about you. They ask you only to provide nick name when you fill out the request form. They were fast and amazing and you got the information hacking hotmail passwords that was needed. Thank so much !



    http://www.activehackers.com/



    hack into facebook account - hack into yahoo

    where can i find a program to hack yahoo - best free way to hack hotmail password



    Paula Robinson, Lincoln


    England

    ReplyDelete
  4. hotmail hacking password? Dont worry, this ActiveHackers.com does not ask you any information about you. They ask you only to provide nick name when you fill out the request form. They were fast and amazing and you got the information how to hack into hotmail accounts that was needed. Thank so much !

    http://www.activehacker.org/how-to-hack-hotmail -password.php

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, Lincoln

    England

    ReplyDelete
  5. http://www.activehacker.org/how-to-hack-yahoo-password.php is one of the best email hacking services on internet today. They know how to hack a hotmail password very rapid turn around and also extremely professional. Would certainly recommend the service to friends. Fast work-within 48 hours! I tried another website and it took them over 2 weeks! I would like to say ActiveHackers.com service is excellent, only after a short period of time I received the password, I would definitely use how to hack someones hotmail account in the future, very professional. Thank http://www.activehacker.org/how-to-hack-yahoo-password.php

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, Lincoln

    England

    ReplyDelete
  6. Very good and fast how to hack hotmail passwords.

    http://www.activehacker.org/how-to-hack-yahoo-password.php thanks for hacking of my girlfriend. It was a pleasure to do business with ActiveHackers.com. I will come to ActiveHackers.com again for sure. I am very happy to use this hacking service. Professional and quick. Thank ActiveHackers.com have proved it again ! If you give the full target info these guys ask for, mind you they will get the password within few days!! I am using this service 3rd time and will use it again to how to hack hotmail password.

    BTW, I found another website that can hack yahoo passwords and other one specialized in hack into hotmail passwords.

    Diane Calhoun, New York

    US

    ReplyDelete