Thread: Why I had to reinstall.

  1. #1
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212

    Why I had to reinstall.

    I sure screwed up this time. Well anyway, as a little side project to my normal innocent programming, I was working on a virus. It was going quite well (I bet most of you know the rest of the story now ). What the virus did was, when ran, copy itself to a random subdirectory of a random directory with a subdirectory (so it's hard to find), then put it's new location in:
    "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CUR RENTVERSION\RUN\".

    This will allow the virus to execute itself every time Windows is loaded. Normally, after it has installed itself, the virus does nothing except check the clock and close. But if Windows starts and the date is January 31st, the virus deletes the host computer's "win.ini", "system.ini" and "autoexec.bat" files. These files generally contain quite important stuff such as things to run, locations to drivers and some viruses that may have accumuated over the yeards [so it's a good idea to back them up if you use Windows]. Those that didn't guess the story should know it by now.

    Well anywho, I decided to test my new virus. So I backed up win.ini, system.ini and autoexec.bat, and ran the program to let it install itself. I then set my date to January 31st.

    After a reboot, the virus kicked in and deleted those oh-so-important files whilst displaying its little message: "Gutted". Perfect, it worked! I restored my backups and made some changes to bits the code.

    Well I went out to do some shopping (logging off, as always) When I returned, I logged back in. Of course, I forgot to uninstall my virus, and so it ran again (the date still being Jan 31st) and again deleted my files.

    This time I had no backups. My files were gone. Bugger. After a reboot the damage was apparent, the resolution was ****ed [ I managed to fix that by reinstalling my graphics card drivers] and I couldn't fix my sound. So I thought, bugger that, my hard drive is full of crap anyway. I'll reinstall.

    Remember kids, don't play with fireworks..err important system files.

    [101 ways to **** your computer backwards - Brian style. 21/101]
    Last edited by Brian; 01-22-2002 at 02:10 PM.

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Hah - normally, I wouldn't say this, but...

    Idiot - you got what you deserved.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    Yep
    All my important stuff like my ICQ contacts, those damned anarchy online/half-life patches and drivers were backed up on zip disk. So I only lost my dignity and 2 gigs of porno.
    Last edited by Brian; 01-22-2002 at 02:11 PM.

  4. #4
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Why make viruses in the first place? I do understand however if you wanted to have a virus, for like a secret weapon or something it might come in handy for someone messing with you or something, update it once in a while, or make new ones when people find how to fix these. But were planning to send this virus to people just for the heck of it? I really see no fun in that.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  5. #5
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    I'm going to give it to a person I hate (when he gets out of jail). His birthday is January 31st.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. saving drivers when reinstall windows XP
    By Micko in forum Tech Board
    Replies: 0
    Last Post: 08-09-2005, 12:27 PM
  2. Strange win98 problem...
    By deathstryke in forum Tech Board
    Replies: 3
    Last Post: 06-03-2004, 02:59 PM
  3. weird errors...
    By dug in forum Windows Programming
    Replies: 5
    Last Post: 06-27-2003, 01:09 PM
  4. Exactly what do I need to reinstall to ensure Java will work properly with my browser
    By Shadow12345 in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 11-09-2002, 07:10 PM