Template:Short description Template:Distinguish Template:Infobox computer virus AIDS is a DOS computer virus which overwrites COM files.

DescriptionEdit

AIDS is the first virus known to exploit the MS-DOS "corresponding file" vulnerability. In MS-DOS, if the user enters <syntaxhighlight lang="text" class="" style="" inline="1">FOO</syntaxhighlight> in the command interpreter, in a directory where both <syntaxhighlight lang="text" class="" style="" inline="1">FOO.COM</syntaxhighlight> and <syntaxhighlight lang="text" class="" style="" inline="1">FOO.EXE</syntaxhighlight> exist, then <syntaxhighlight lang="text" class="" style="" inline="1">FOO.COM</syntaxhighlight> will always be executed. Thus, by creating infected COM files, AIDS code will always be executed before the intended EXE file.<ref>Template:Cite book</ref>

When the AIDS virus activates, it displays the following screen (bracketed comments not in original):<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Template:Mono

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.<ref>Template:Cite book</ref>

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.<ref name=p146>Template:Cite book</ref>

AIDS IIEdit

Template:Infobox computer virus

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.<ref name=p146/>

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:<ref name=p146/>

Template:Mono

Template:Mono

Template:Mono

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:<ref name=p146/>

Template:Mono

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.<ref name=p146/>

According to Symantec, AIDS II may play a melody and display the following string:<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Template:Mono

ReferencesEdit

Template:Reflist

External linksEdit

Template:External media

  • {{#invoke:citation/CS1|citation

|CitationClass=web }}