Friday, April 29, 2011

Creating a Fake virus

Hey all.. 
this time we are gonna make some fake virus using Ms-dos. A fake virus is one which may appears like a virus but dont act like one. A fake virus does not harm your machine in any possible way. So feel free to use it.
In ur virus we want the CMD to first show some message on the console and then we want the computer to shutdown.
To display a messaege on the console we use "ECHO" command. 
And "SHUTDOWN" command is used to perform shutdown functions such as turning off the machine or restarting it or hibernating it et. The basic syntax for the same is:

shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

we are going to use the shutdown option so i am gonna write "shutdown -s" now if i want to show the user a message then i can use (-c  "comment") and to make the shutdown dialog box be idle for a while i will use (-t "time in seconds").
so the command comes out to be somthing like

shutdown -s -t 30 -c "BYE BYE AMIT... "

So lets implement all this. The procedure and the code for the virus will be:

► Open notepad and type 
@echo 0ff
cls
@echo "your computer is under attack do not turn off your computer"
@pause
@echo affected by Trojan from ip 155.326.593.125

@echo all system files have been deleted
@pause      
@echo your computer will now turn off...
@echo please call your computer vendor to fix pc issues.
@pause
shutdown -s -t "30" -c  "SYSTEM FALURE"


►Now go  to  the save as option and save the file as "anything.bat". Remember to change the extension from ".txt" to ".bat" and change the "save as type" to all files.

And you are done with the virus thing. Now you can send the batch(.bat) file thus made to anyone you want by using Emails or pendrives or any convinient way. 
If you want to run the file for a tst run then go ahead and try some. It does not harm the machine and if you dont want your system to shutdown the you can abort the shutdown by typing "shutdown -a" in the "run" and hit enter or in "CMD" and hit enter. 
Try it.

0 comments:

Post a Comment

AMAZON DEALS

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Amit . | Bloggerized by ... - AMIT's Premium Blogger Themes | Elf Coupons