How to Make a Trojan Horse
Most of you may be curious to know about how to make a Trojan or Virus on your own. Well, here is an answer to your curiosity. In this, post I’ll show you how to make a simple trojan on your own using the C programming language.
This
trojan when executed will eat up the hard disk space on the root drive
(The drive on which the 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 program is written using a high level
programming language, it is often undetected by antivirus programs. The
source code for this program is available for download at the end of
this post.
Let’s see how this trojan works:
Before I move on to explain the working of this program, you need to know what exactly is a Trojan horse
and how it works. Unlike what many of us think, a trojan horse is not a
virus. In simple words, it is just a program that appears to do
a favorable task but in reality performs undisclosed malicious functions
that allow the attacker to gain unauthorized access to the host machine
or cause a damage to the computer.
Now let’s move on to the working of our Trojan:
The
trojan horse which I have created appears itself as an antivirus
program that scans the computer for malware programs. However, in
reality it does nothing other than eating up the hard disk space on the
root drive by 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 root
drive gets filled up completely with in minutes of running this program.
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 of
the cleanup program. This is because, the trojan intelligently creates a
huge file in the Windows\System32 folder with the .dll extension. Since the junk file has the .dll
extension it is often ignored by the disk cleanup software. Hence there
is now way to recover the hard disk space other than reformatting the
drive.
The algorithm of the Trojan is as follows:
- Search for the root drive.
- Navigate to the following location on the root drive.
%systemroot%\Windows\System32
- Create the file named “spceshot.dll“.
- Start dumping the junk data onto the above file and keep increasing its size until the drive is full.
- Once the drive is full, stop the process.
You can download the Trojan source code HERE. Please note that I have not included the executable for security reasons. You need to compile it to obtain the executable.
How to compile the program?
For step-by-step compilation guide, refer my post How to compile C Programs.
How to test this trojan horse?
To test the trojan, just run the SpaceEater.exe
file on your computer. It will generate a warning message at the
beginning. Once you accept it, the Trojan runs and eats up the hard disk
space.
NOTE: To remove the warning message you’ve to edit the source code and then re-compile it.
How to fix 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.
Please pass your comments and tell me your opinion. I am just waiting for your comments..
ReplyDeleteMy life was falling apart, I was being cheated and abused, I had to know the truth and needed proof. I contacted a private investigator that linked me with onlineghost who took care of the hack job. He hacked his iPhone,Facebook,Instagram, Whats app, twitter and email account. I got all I wanted as proof . I”m glad i had a proven truth he was cheating . Contact him for any hack job. Tell him i referred you to him, he will surely meet your hack need. Contact: onlineghosthacker247@ gmail .com
Do you need to increase your credit score?
ReplyDeleteDo you intend to upgrade your school grade?
Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
Do you need any information concerning any database.
Do you need to retrieve deleted files?
Do you need to clear your criminal records or DMV?
Do you want to remove any site or link from any blog?
you should contact this hacker, he is reliable and good at the hack jobs..
contact : cybergoldenhacker at gmail dot com