Ah yes, I have fond memories of writing TSR pranks that hooked common DOS interrupts (not technically viruses since they didn't infect/replicate) that did things like:<p>1) buffer 1 keystroke in memory (so typing diw<backspace>r would leave "di" on screen - then they'd type "r" and get an "r" and then hit enter and get another "r", then they'd hit backspace to correct the "dirr" and the command would execute, etc)<p>2) hooked the printer interrupt to introduce typos in printouts<p>3) randomly swap letters on the screen periodically<p>Fun times. It's probably for the best that I grew up in the era that I did since pulling pranks like these has a high risk of getting slapped with felony charges in this day and age.
Guilty. In 1988 or so I made a virus that attached to .com files, which would spread it to others when executed. It was never released into the open. On each infection, it incremented a generation counter. Upon reaching a certain value, the payload would trigger, causing a message to be printed.<p>What the heck was I using? MASM? TASM? I cannot remember.<p>IIRC, looking for other .com files was just using DOS's FindFirst and FindNext functions at int 21h. (I'm now naming them in terms of their Win32 counterparts.)<p>I think I didn't have a sanity check against duplicate infection in the early versions and added that during testing. 17 year old's programmer's "doh" moment.<p>I remember that I ran the experiments in a subdirectory called "petridir". :)
I always thought the Casino DOS virus was pretty inventive. If an infected file is run on the payload date, it moves the FAT to RAM and warns the user not to shut down their computer. The user plays a game with IIRC a 1/17 chance of winning. If they win, the FAT is restored, else it's gone.<p>I think it's an interesting way of holding the PC hostage.<p>A video of the virus in action: <a href="https://www.youtube.com/watch?v=wdZJHvBRRqg" rel="nofollow">https://www.youtube.com/watch?v=wdZJHvBRRqg</a>, that channel has loads of videos documenting DOS/Win9X viruses. Some are very creative.
Any chance someone could upload the VX Heavens dataset of viruses to the Internet Archive?<p><a href="https://archive.org/details/malwaremuseum" rel="nofollow">https://archive.org/details/malwaremuseum</a>
Discussion about the 35C3 talk from a few days ago: <a href="https://news.ycombinator.com/item?id=18790889" rel="nofollow">https://news.ycombinator.com/item?id=18790889</a>
From the perspective of the user, MS-DOS was a lousy OS. However, as a tinkerer, it was super fun. To this day, my best programming memories are about using Turbo Assembler and the information from Interrup.lst to do weird things with the graphics card's text mode (unusual resolutions, borders, 18 bit color palettes, smooth scrolling...).<p>EDIT: typo.