PDA

View Full Version : Why I had to reinstall.



Brian
01-22-2002, 02:01 PM
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\CURR ENTVERSION\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 :D [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]

Govtcheez
01-22-2002, 02:02 PM
Hah - normally, I wouldn't say this, but...

Idiot - you got what you deserved.

Brian
01-22-2002, 02:06 PM
Yep :D
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.

incognito
01-22-2002, 03:32 PM
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.

Brian
01-22-2002, 03:46 PM
I'm going to give it to a person I hate (when he gets out of jail). His birthday is January 31st.