ArticleslgStudy

computer science

AIDS (computer virus)

AIDS (computer virus) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AIDS (computer virus) rather than just read about it. In short: AIDS is a DOS computer virus which overwrites COM files. Description AIDS is the first virus known to exploit the MS-DOS "corresponding file" vulnerability.

AIDS (computer virus) — main illustration
AIDS (computer virus) — illustration

Key takeaways

  • AIDS (computer virus) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AIDS (computer virus) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AIDS (computer virus) from memory before moving on to harder problems.

Reference excerpt

AIDS is a DOS computer virus which overwrites COM files.

Description AIDS is the first virus known to exploit the MS-DOS "corresponding file" vulnerability. In MS-DOS, if the user enters FOO in the command interpreter, in a directory where both FOO.COM and FOO.EXE exist, then FOO.COM will always be executed. Thus, by creating infected COM files, AIDS code will always be executed before the intended EXE file. When the AIDS virus activates, it displays the following screen (bracketed comments not in original):

ATTENTION: I have been elected to inform you that throughout your process of collecting and executing files, you have accidentally ¶HÜ¢KΣ► [phucked in leet] yourself over: again, that's PHUCKED yourself over. No, it cannot be; YES, it CAN be, a √ìτûs [virus] has infected your system. Now what do you have to say about that? HAHAHAHAHA. Have ¶HÜÑ [phun] with this one and rememember, there is NO cure for AIDS

In the message above, the word "AIDS" covers about half of the screen. The system is then halted, and must be powered down and rebooted to restart it. The AIDS virus overwrites the first 13,952 bytes of an infected COM file. Overwritten files must be deleted and replaced with clean copies in order to remove the virus. It is not possible to recover the overwritten portion of the program.

AIDS II

AIDS II is a companion computer virus, which infects COM files. First discovered in April 1990, it appears to be a more elegant revision of AIDS, which also employs the corresponding file technique to execute infected code. Unlike generic file infectors, AIDS II is the second known virus to use the "corresponding file technique" of infection (after the original AIDS), and the first to use this technique in a way that does not modify the original target EXE file. AIDS II works by first finding an uninfected EXE file in the working directory and then creating a companion COM file with the viral code. The COM files will always be 8,064 bytes in length, with a timestamp corresponding to the time of infection. After creating the new COM file, the virus then plays a loud note, and displays the following message:

AIDS II then executes EXE file the user intended to execute without incident. Once that program is exited, control returns to the virus. The note is replayed, with a new message displayed:

Since the EXE file is unchanged, cyclic redundancy checks, such as those present in antivirus software, cannot detect this virus having infected a system. A way to remove AIDS II manually is to check for EXE files with an identically named COM file 8,064 bytes in length. Those COM files can be deleted. According to Symantec, AIDS II may play a melody and display the following string:

Your computer is infected with AIDS VIRUS II

References

External links

"AIDS 2". McAfee, Inc. Archived from the original on December 15, 2008.

Worked examples

Example 1 — a first encounter with AIDS (computer virus)

Start with the simplest possible case. Write down what AIDS (computer virus) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AIDS (computer virus) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AIDS (computer virus) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AIDS (computer virus)

In research
AIDS (computer virus) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AIDS (computer virus) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AIDS (computer virus) is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1980s in hacking, 1989 in computing, DOS file viruses, so understanding it makes those chapters shorter.
In everyday life
Look for AIDS (computer virus) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AIDS (computer virus)” →

How to study AIDS (computer virus) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AIDS (computer virus) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AIDS (computer virus) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AIDS (computer virus) in simple terms?

AIDS is a DOS computer virus which overwrites COM files. Description AIDS is the first virus known to exploit the MS-DOS "corresponding file" vulnerability.

Why does AIDS (computer virus) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AIDS (computer virus)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AIDS (computer virus).

Tags

  • 1980s in hacking
  • 1989 in computing
  • DOS file viruses

Keep exploring