locked
write a virus RRS feed

  • Question

  • let's do it.
    write a virus on your own.
    be it in C or C++ or any other language.
    do explain what does your virus do?
    Tuesday, June 19, 2007 4:25 AM

All replies

  • A virus is a program that performs something other than it should perform.The procedure is as follows.First a virus keeps a label at the end of the file name.The code which the virus should perform exists here.Then it places a goto label after first line.after the execution of the code at the label it places a goto second line statement.the enduser wont have any idea that virus is executing.we can write a lot of viruses in c or c++.thats quite simple.

     

    Wednesday, September 12, 2007 7:08 PM
  • you wrire a virus d same way as u write a normal code..............

    simple but u need to knw internal working of a lot a thngs

     

    Thursday, September 13, 2007 10:29 AM


  • I think assembly language is the best language in which you can write a virus.
    As this language can bypass the system (os) level security
    Thursday, September 13, 2007 3:03 PM
  • I 've doudt regarding virus behavoir.

    Each & every windows virus will infect .exe file.How can a virus sorce code can fetch the source code of a application.
    Thursday, September 13, 2007 7:56 PM
  • correct me if im wrong
    i think the person meant dat v "code a virus" n show it to him
    n not define the term virus


    a small virus in VB

    add a timer
    set the timer to 10msec
    enable the timer
    double click on the timer
    n then type "clipboard.clear"

    now make this as an exe file

    n then double click

    n now try to copy paste anythin from anywher

    it wont b done
    since the clipboard refershes every 10 msecs
    if ur faster then dat then.....
    then it will paste it or else.....
    Friday, September 14, 2007 11:03 AM