Instructables

How to make a Trojan

Picture of How to make a Trojan
How to make a trojan horse is for beginners, is really easy. I'm brazilian and have 13 years old, if a have problems with vocabulary... i'm sorry!

This is my first instructables, after i will go make a video, is very simple you can make in 10 minutes, in the first time you can make with 20 minutes is too easy. With this instructables you can joke your friends but this program works with virus but not a keylogger , only cd prank. How to make a Trojan is only for study not for malicious software. Let's go.
 
Remove these adsRemove these ads by Signing Up

Step 1: You need...

Picture of You need...
delphi7.jpg
integration-delphi-7-form.gif
For make the trojan horse you need Borland Delphi 7 you can donwload trial version and complete version ( but you need to pay ) , under you have Borland web site link.

For donwload in this page you need a account
To Join - CLICK HERE!

After you Join you can go to donwload page clicking here

YOU ONLY NEED BORLAND DELPHI 7

This is Borland Web Site

Step 2: How to... Client

Picture of How to... Client
componet.JPG
standard.JPG
client.JPG
First we start with Client.

Heyyyy SEE THE PHOTOS UNDER!

1-
Make:
3 Buttons
1 Label
1 Edit

2- Go to menu Component on Menu Tab
You can see the picture in the finish of the page.
- Install Package
- Add...
- Go to folder bin
- and open the file dclsockets70.bpl

3- Go to internet tab
And Select ClientSocket and make on the form. Click on ClientSocket picture
In Object Inspector at Properties tab click on Port form and write 80

4- Now is easy, go to Events tab.
Click 2 times on "OnConnect" form

You need write
label1.caption:='Connect';

Now click on "OnConnecting"
you write:

label1.caption:='Wait... Connecting...';

Now click on "OnDisconnect" and write:

label1.caption:='Disconnect;

Now click on "OnError" and write:

label1.caption:='Fatal Error!! Oh my god!';

5- In the Connect button do 2 clicks.
and write:
ClientSocket1.Address:=edit1.text;
ClientSocket1.Active:=true;

Now look on Object Inspector and click on Propeties tab.

In Caption write: Connect

This makes the button in the program if to call to connect , make this with anothers buttons.

6- In the Open CD button write:
ClientSocket1.Socket.Sendtext ('opencd');

7- In the Close CD button write:
ClientSocket1.Socket.Sendtext ('closecd');

8- Now , all is ok! Go to file, save all and select one folder.
After go to play ( play button ) in the Delphi to compile.
And let's go to make the Server
THAWKK1 year ago
This actually is a Trojan or rather a RAT, but dont waste your time making this kind of stuff
This is more illegal than that Virus Prank by Shadow Dragon
it is only program that can remotely open or close cd rom (why you putting comments like this when it is only a prank)
Stay calm. This code would not do any harm. Not a Tojan. It only open and close your Cd Rom.
To be a Tronjan takes much more than that.
yeah that´s true
totaly illegal. gekkazoid is right
why is everyone sayng it´s illegal it can only open and close the cd rom!!!!!!!!!!!!!! it is like you are sayng that having a vase in the home is illegal
galpha2 years ago
can you send to me a package thet is called: dclsockets70.bpl i haven´t got it on my delphi my email address is golyalpha@gmail.com thanks for sending the package
vcdfer4 years ago
This isn't illegal or malicious imo. I could write one to put on my son's computer which I bought him, so that I can control his internet access when he needs to be doing homework or to make sure he's not doing drugs. This instructable is useful and if you're going to stereotypically label this as malicious/illegal then you might as well do the same for hundreds of other instructables here. Just saying...
DJ Radio vcdfer3 years ago
This is the first time I've heard of a parent using a trojan to monitor children's internet activities. Everyone else uses a filter. I'm sorry but the majority of the time a trojan is mentioned it is being used for hacking/illegal purposes.
i agree
oddelyodd4 years ago
i'm sorry to bust you're bubble guys but making this is not illegal but using it on someone's computer without his/her permission is illegal

but i will admit this is a good instructible good job ; )
You guys are wrong.  This is not illegal.  It's like knives.  Knives are useful tools, but if you stab someone, you will go to jail. It's the same with programming. This is just an amusing example of a piece of simple inter-computer connection with a master-slave setup. So it actually is a good tutorial for people who are new to coding network utilities, and nothing illegal. By the way, you have an error.  You have forgotten to open the server. In the "How to... Server" page you will have to add somewhere in your code (i would recommend in OnCreate or OnShow) the following: "Socket.Open;"  It's a simple step, but without it, you will get an asynchronous error, as the client socket will not be able to find the server socket (because it isn't open)
Boy Scout5 years ago
This is illegal. I thought Instructables had a policy that said "Please refrain from posting Illegal or Illicit content
Darkrathma5 years ago
This isn't really the best idea for an instructable...
2fst4u5 years ago
the only thing you CAN learn from this is... how to create malicious software. there isnt much point in a disclaimer.
geekazoid5 years ago
Dude not smart. You could get in trouble with the brazzilian version of the FBI for posting this. But hey, it's your choice...