Danom viruses are proof-of-concept viruses for Microsoft Command Shell codename Monad. They do infect other Monad scripts, although there is also a cross infecter for .MSH, .BAT and .CMD files.
Danom.B virus infected .msh, .cmd and .bat files. If the infection marker "Candela" is not found, the virus infects by prepending its code. However .bat and .cmd infected files overwrite during infection.
This virus searches for .msh files and if such are found it looks for an infection marker "Candela". If the last is not present in the file, the virus appends its code to the victim file.
This is a small code written to overwrite .msh files with itself. It searches for such files and checks for the length. It tries to infect if the file size is different from the size of the initial infected file. However due to an error the virus infects one file per run. It infects the last file in alphabetical order, unless it is already infected.
This is similar to Danom.A but it prepends the virus code to the victim files.