How To Make A Virus

Table of contents:

How To Make A Virus
How To Make A Virus

Video: How To Make A Virus

Video: How To Make A Virus
Video: How to Make a Virus - Beginner! 2024, December
Anonim

Creating a BackDoor virus program that provides hidden remote administration can be done in two stages. First, blocks are created for the server side, then for the client side.

How to make a virus
How to make a virus

Necessary

Visual Basic, Microsoft Winsock Control, Computer, Remote Server

Instructions

Step 1

To create a BackDoor virus program for hidden remote administration, which consists of a server and a client, create a new Visual Basic project in the form of a traditional file with the exe extension.

Step 2

Connect the project to Microsoft Winsock Control using the Project menu, Components tab. Select the mswinsck.ocx file. Bind the form and component, then remove the title, reduce the size, and set the visible form to False. Next, change the component name to ws. Set LocalPort to the same port number.

Step 3

Write the program code in Form_Load. If there is no connection, close the connection in ws, open the port. Connect the client using a specific ConnectionRequest. Please try again several times.

Step 4

Build the code for ws_DataArrival. This code will be used every time data from the server begins to arrive. Specify the Data variable, in which all incoming information will be accumulated. Compile the program. Name it server.exe.

Step 5

Create the project and form again, this time for the client side. Organize in the form two fields IP and Port, buttons "Connect", "Disconnect", "Message", "Close server". Next add Winsock Control and name it ws. In the Text field in the first paragraph, set the IP address of the computer, in the second - the port value. Complete the code. Establish a connection.

Step 6

Compile the program to client.exe. Test the resulting Trojan. Run sequentially server.exe, client.exe. Connect, remove the server from the task list.

Recommended: