Oct 10, 2010

How To Make a Trojan Horse Using C Language

Today you will be learning how to create a trojan using the programming language, C. This trojan, when executed, will eat up all the hard drive space on the Windows C drive. It is capable of eating up 1 GB of space every minute it's run. It creates a .dll file in the WindowsSystem 32 folder, and because it is a .dll extension, it won't be detected by disk cleanup softwares. Let's begin!


This trojan appears as an antivirus program that scans the computer and removes the threats, while it really takes up all the hard drive space, which is hard to remove unless the hard drive is formatted. The trojan will report that the scan is complete as soon as all the hard drive space is taken up.

Here's a rundown of what it does:

1. Searches for the root drive

2. Navigates to WindowsSystem32 on the root drive

3. Creates the file "spceshot.dll"

4. Begins dumping junk data on to the file until hard drive is full

5. Stops the process once hard drive is full



Now to create it.

1. Download the source code.

2. Compile it. Read this tutorial on how to compile C programs.

3. Once compiled, run the SpaceEater.exe file. It will generate a warning message at first. Sorry, you'll have to edit the source code to get rid of this.


To remove it follow the steps below.

1. Go to Start -->Run --> and type "%systemroot%\system32"
(no quotes)

2. Then search for the "spceshot.dll" file, and delete it. That will free up the disc space again and everything will go back to normal.


To make it more convincing, you can change its icon.

Enjoy!


(I'll try to figure out how to remove the warning message as well!)

3 comments:

  1. Hey Prick... Hope U a r a kiddie in security .. Don't let bother me 2 eat u if u write crap programs like this . Do bother to teach these ur kids /////

    ReplyDelete
  2. Hey Prick... Hope U a r a kiddie in security .. Don't let bother me 2 eat u if u write crap programs like this . Do bother to teach these ur kids /////

    ReplyDelete
  3. thanx for sharing this info but let me please explain sir that what the method to hack whatsapp.is any tool or what? how to hack whatsapp

    ReplyDelete

Write A Comment!