This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Assignment 1 (Computer Viruses) Submit on the CMS two weeks into the courseMonitoring Computer Viruses Introduction Markus Hanhisalo, of Helsinki University of Technology, defines computer viruses in his website http://www.tml.tkk.fi/Opinnot/Tik- 110.501/1997/viruses.html as: “a program, a block of executable code, which attaches itself to overwrite or otherwise replace another program in order to reproduce itself without a knowledge of a PC user.” Computer viruses are often designed to maliciously corrupt or steal data from individuals. Sometimes, they can even cause computers to stop working all together. Computer viruses are different from computer worms. A virus attaches itself to other programs, while a worm is a self-contained program that is able to spread copies of itself to other computers without attaching itself to other programs. Some viruses and worms, coming as attachments in an email, look like a jpg file —for example, MerryChristmas.jpg! But if your extensions/suffixes were showing, you would see that this is really a file named MerryChristmas.jpg.exe, and clicking on it would cause it to execute, firmly embedding itself on your computer. Fix your operating systems preferences so that extensions/suffixes always show! Did you know that the first computer worm of any consequence was set loose by a Cornell computer science grad student? In November 1988, Robert Morris wrote a worm —not to cause damage but to get an estimate of the size of the internet. He made a big mistake. When the worm reached another computer, it did not check to see whether it was already on that computer but just invaded the computer and sent itself on to other computers. So it spread much much faster than he thought it would. Anywhere from 6,000 to 60,000 computers were infected, and the internet was brought to its knees. Damage was estimated at $10M to $100M. Morris was convicted of violating the 1986 computer fraud and abuse act. He ended up on probation, a hefty fine, and community service. You can read more on Wikipedia. David Gries and Juris Hartmanis, of the Cornell CS Department, were on a Cornell commission that investigated the Morris worm. You can read about it in this article . Because viruses and worms are so dangerous, people often wish to monitor them in order to help curtail their growth and spreading. Your task in this assignment is to develop a Java class ComputerVirus, which will maintain information about a virus, and a JUnit class ComputerVirusTester to maintain a suite of testcases for ComputerVirus. This assignment will to maintain a suite of testcases for ComputerVirus....
View Full Document
This note was uploaded on 02/24/2010 for the course -2 -1 taught by Professor -1 during the Spring '10 term at Cornell.
- Spring '10