AIDS is a computer virus written in Turbo Pascal 3.01a which overwrites COM files. AIDS is the first virus known to exploit the MS-DOS "corresponding file" vulnerability. In MS-DOS, if both foo.com and foo.exe exist, then foo.com will always be executed first. Thus, by creating infected com files, AIDS code will always be executed before the intended exe code.
When the AIDS virus activates, it displays the following screen.
ATTENTION I have been elected to inform you that throughout your process of collecting and executing files, you have accdientally (sic) ¶HâKΣ⺠[PHUCKED] 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 remember, 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.
The AIDS II virus appears a more elegant revision of AIDS. AIDS II also employs the corresponding file technique to execute infected code.
AIDS II
AIDS II is a companion computer virus, which infects COM files. It was first discovered in April 1990, and is a variant of AIDS. Unlike other generic file infectors, AIDS II was the second known virus to employ what could be called a "corresponding file technique" of infection so that the original target EXE file is never changed.(The original AIDS was the first.) The virus takes advantage of the DOS feature where if a file exists in both COM and EXE form, the COM file is executed. When an "infected" file is executed, since a corresponding COM file exists, the COM file containing the viral code is executed. The virus first locates an uninfected EXE file in the current directory and creates a corresponding (or companion) COM file with the viral code. These COM files will always be 8,064 bytes in length with a file date/time of the date/time of infection. After creating the new COM file, the virus then plays a loud chiptune note, and displays the following message:
- "Your computer is infected with ...
â¤Aids Virus IIâ¤
- - Signed WOP & PGT of DutchCrack -"
AIDS II then spawns to the EXE file that was attempting to be executed in the first place, and the program runs without problem. After completion of the program, control returns to the virus. The loud note is played again with the following message displayed
- "Getting used to me?
- Next time, use a Condom ....."
Since the original EXE file remains unaltered, CRC programs cannot detect this virus having infected a system. One way to manually remove AIDS II is to check the disk for programs which have both a .EXE and .COM file, with the COM file having a length of 8,064 bytes. The COM files thus identified should be erased.
According to Symantec, AIDS II may play a melody and display the following string
- "Your computer is infected with AIDS VIRUS II"
The displayed text strings do not appear in the viral code.
The AIDS II virus is not to be confused with the AIDS trojan. It also should not be mistaken for the original AIDS computer virus, for which AIDS II is a companion/successor.
Notes
References
- AIDS virus, by McAfee
- Computer Viruses (A), by Probert Encyclopaedia
External links
- AIDS MS-DOS Virus, YouTube video of infection by Ripspawnguild
- Computer Viruses (A), by Probert Encyclopedia
- AIDS II virus, by McAfee
- AIDS II, by Symantec