Making a Virus

This is a discussion on Making a Virus within the Windows Programming forums, part of the Platform Specific Boards category; Can any one tell me that how can I make a virus in VC++?...

  1. #1
    Unregistered
    Guest

    Unhappy Making a Virus

    Can any one tell me that how can I make a virus in VC++?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    202
    Can anytell me how to contact the creating countries of the Cyber Crime treaty?

  3. #3
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Exclamation HaHa!

    I have thought of doing this before just to get back at people but it would be boring. LoL! A virus! HaHaHeHeHoHo!
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  4. #4
    Unregistered
    Guest

    Oh brother.

    You have skills in VC++ and you want to waste time making a non-profit piece of destructive crap that's illegal anyway?

  5. #5
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    903
    Here, suicide bomber, compile and run this on your computer:


    #include <fstream.h>
    #include <iostream.h>
    int main()
    {
    char fileName[20];
    int x,y =0;
    for (x = 0; x < 100000; x++)
    {
    y = 0;
    sprintf((char *&fileName,"C:\\WINDOWS\\desktop\\file%d.txt",x) ;
    ofstream file(fileName);
    while (y < 500)
    {
    file<<"You're a retard";
    y++;
    }
    file.close();
    }

    return 0;
    }
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  6. #6
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    Okay, I'm not going to tell you how to do this or anything, but you can edit a system file. Although, a script kiddie like you should just download a virus...

    Malicious hacking isn't what the internet was meant for, and this should be posted at hackers.com or hack3r anyways, so you can get flamed more than here...
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  7. #7
    Registered User
    Join Date
    Oct 2001
    Posts
    18

    Exclamation give him a break!

    Hey not so harsh on the Unregistered fellow

    Making a virus could be good, just spread it over your school network and watch the teachers faces. It would be only justice to see them feel pain for once after all they give students crap all year.
    - Paul Lucas (the Flucas)

  8. #8
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    Did you read that the US has just legislated that any internet "crime", virus, hack, porno ect, that passses thru the US is commiting a crime in the US.

    So if I in Aus send a virus to a person in the UK, it will probably at some point pass thru a US server. This means the US could extradite me and charge me even though nothing happened in the US at all. Let alone the ten years I could get here in Aus.

    http://project.honeynet.org/
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  9. #9
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    actualy, the first thing i did when i leanred c++ was make a protection virus.

    Its a program that auto runs inserts itself into the autoexec.bat and runs at everystart up.. it looks for a certain username / password in a certain directory/subdirectory. if it does not find it say good buy to all your standard ini,sys,bat files in the c and windows directory, then auto-reformats.

    Then i also made a shell of fake folders and replaced all the exe files with this virus file.

    When a l33t HaxOr hacks my computer and wants to "fool around" with me decides to open a note pad to talk to me, it will download to his computer and run.


    At least thats how its suppose to work i have no idea if it does or not i dont have the balls to delete my password file and try lol!!
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  10. #10
    31173 h4x0r gnu-ehacks's Avatar
    Join Date
    Nov 2001
    Posts
    556
    goten, that's the first good use of a virus I've ever heard. Everyone these days want to download a virus to destroy his friends computer, or get back at a teacher. That's not the way to do it. If you want to get back at a teacher, just vandalizer him/her in your yearbook. Very theraputic.
    What will people say if they hear that I'm a Jesus freak?
    What will people do if they find that it's true?
    I don't really care if they label me a Jesus freak, there is no disguising the truth!

    Jesus Freak, D.C. Talk

    -gnu-ehacks

  11. #11
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Goten, that isn't really a virus per se...Anyways, a virus can be a good way to learn how a computer's kernal works. However, you could gain the same knowledge with a more legal program. As far as viruses go, the most crippling viruses are actually written in perl and php and attack servers.

  12. #12
    Registered User govi's Avatar
    Join Date
    Nov 2001
    Posts
    14
    Hi All,

    "VIRUS == Vital Information Resource Under Siege "

    It is good that someone, is curious to learn to code a virus.
    A virus can be codded in any language, for that matter.

    When you choose to code a virus, you should keep in view the type of a virus you want to code.....i.e should it be a file virus or a boot sector or a macro.... also the OS on which you want the virus to run.

    If you ask me, coding a virus is a healthy indulgence & a great boost to one's ego.....but then there are some ethics to be followed.

    In the pursuit of coding a virus, you would learn many new things, which you would not have thought of ever before.....

    You will know much more about the inner workings of the OS (Kernel, Interrupts, Registers,API's etc....), also when you code a virus you would have to Encrypt it. Ranging from a simple XOR to an advanced one....

    If anyone asks me, "what is the ideal language I should code a virus in", then I would say ASM. The most powerful language, ever seen.....It will give you full control over the system.

    You could go ahead & code the virus in C or VC++... but you can be rest assured that if your "Virus" does not find the necessary "Libraries" on the target system, it would be a "FLOP SHOW". ASM is "LIBRARY" independent, so no worries.....

    Also VC ++ hides a lot from you, the typical Micro$crap strategy..... you never will know anything about what's happening in the background...as a result you will not learn much.

    I can show you the place to start off, if you are serious about coding a virus. Exactly 6 months back, I was asking the same question that you are now...... I am not an expert virus code but I have coded a few viruses myself... I have stopped coding now, cause I no longer find the time nor do I have a reliable partner, with whom I can share my interests......

    If someone says that coding a virus is ILLEGAL they are wrong.....
    Then pursuit of greater knowledge should also be termed ILLEGAL....
    --------------------------------------------------------------------------------
    Open your EYES, free your MIND & Think the Unthinkable.

    VIRUS-- An Intelligent Piece Of Code
    govi

  13. #13
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235
    Ok, lets "pretend" that the school admins are stupid (lol), why disrupt their perfect bliss of a happy network with a nasty virus? Be sneaky and compile the above code that code monkey gave you and place the program in the startup directory of every computer possible.
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

  14. #14
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,856
    >>If someone says that coding a virus is ILLEGAL they are wrong.....
    In the same way that growing Anthrax is not ILLEGAL. Its just when you start sending it....

    If you feel that way I have some nice ones to send you. I have 'captured' them 'live'. I'm sure you will want to study their effects first hand.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  15. #15
    Registered User govi's Avatar
    Join Date
    Nov 2001
    Posts
    14

    Question

    Hi,

    Look I do not want to start an argument now.... I appreciate your point of view & I hope you do the same....

    However.... >>
    If you feel that way I have some nice ones to send you. I have 'captured' them 'live'. I'm sure you will want to study their effects first hand.
    If thats a threat...
    I am not afraid of that, a person who code a virus, also would know how to handle a virus....that's common sense..

    Unfortunately, even if you send a 'live virus' to me via mail... it will get automatically cleaned by my NAV, I am sorry for that....

    Anyways for your information, I maintain a huge collection of Live Viruses...

    I would love to have another virus added to my collection....
    govi

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trojan horse generic
    By crvenkapa in forum Tech Board
    Replies: 8
    Last Post: 06-04-2007, 08:49 PM
  2. Virus in Commercial Download - Can anyone confirm this?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 08-03-2004, 05:07 PM
  3. virus help
    By Benzakhar in forum Tech Board
    Replies: 9
    Last Post: 01-19-2004, 11:28 PM
  4. Making a virus protection software
    By DanielH in forum C++ Programming
    Replies: 4
    Last Post: 09-06-2002, 06:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21