Threat Description

Diamond

Details

Category: Malware
Type: Virus
Platform: W32
Aliases: Diamond, 1024

Summary


This virus has been reported as bearing some resemblance to the "Eddie" virus, possibly written by the "Dark Avenger" as well. The virus makes some effort to disable any debugger program used to monitor it, but does not seem to do anything of particular interest.



Removal


Automatic action

Once detected, the F-Secure security product will automatically disinfect the suspect file by either deleting it or renaming it.

More scanning & removal options

More information on scanning or removal options is available in the documentation for your F-Secure security product on the Downloads section of our Home - Global site.

You may also refer to the Knowledge Base on the F-Secure Community site for more information.

Contact Support

For further assistance, F-Secure customers can request support online via the Request support or the Chat forms on our Home - Global site.



Technical Details



Variant:Damage, Damage-2, David, Greemlin, Lucifer, Sathanyk

Variants which have been changed in various ways, but are not particularly interesting.


Variant:Rock Steady

Size:666

Other:Resident, COM/EXE-files

Rock Steady is a memory resident file infector which infects any excuted files.

When an infected file is executed, the virus checks whether the date is 13th of any month. On every other day the virus will install itself to memory and hook INT 21h.

The INT 21h handler defines the residence test, intercepts DOS functions 4B00h (load/exec) and 4B01h (loadprog) to infect files, and traps DOS functions 11h (FCB find first) and 12h (FCB find next) to hide the symptoms of infection. If the seconds field is 60 it is returned as 0, and the virus size (666 bytes) is subtracted from the file length.

If an infected program is run on the 13th of any month, the first 1 to 10 cylinders of the first hard disk are formatted (head 0 only) using int 13h. Next the first 32 logical sectors of drive C: are overwritten with garbage and then the machine is rebooted with int 19h.

When the virus infects a file, it will check whether it begins with 'MZ' or 'ZM'. In these cases the virus will flag the file as EXE file. One interesting point is that if the file begins with 'ZM', virus will change it to 'MZ'. Virus will not infect any files which are less than 666 bytes, and also not COM files which are bigger than 64358 bytes. Infected files contain a text string which says '!RocK STeaDY!'. Virus marks infected files by setting seconds field to 60.






SUBMIT A SAMPLE

Suspect a file or URL was wrongly detected? Submit a sample to our Labs for analysis

Submit Now

Give And Get Advice

Give advice. Get advice. Share the knowledge on our free discussion forum.

Learn More