Modifying EICAR Standard Anti-Virus Test File

It is possible to test reactions of the Kaspersky Anti-Virus Engine in case different kinds of objects are detected. The contents of the EICAR Standard Anti-Virus Test File can be modified to imitate, for example, an infected object that can be repaired or an object that cannot be scanned.

Testing different KAV Engine reactions requires the anti-virus database to be present for the SDK use.

To modify the test file, you need only to insert one of the prefixes listed in the table below into the beginning of the string contained in the file. The table also displays statuses and responses of the Kaspersky Anti-Virus Engine and information on the actions taken by the application in case the corresponding kind of object is detected.

Prefix

Test file status

Action in case the application processes the object

Without prefix

The file contains the anti-virus test file. You cannot disinfect the object.

The file contains the anti-virus test file. You cannot disinfect the object.

The application will identify the object as malicious and not subject to treatment and will delete it.

CORR–

Corrupted.

The application could access the object but could not scan it, since the object is corrupted (for example, the file structure is breached, or it is an invalid file format).

SUSP–

WARN–

The file contains the anti-virus test file (modification). You cannot disinfect the object.

This object is a modification of a test file emulating known malware; or an unknown malware. This prefix allows to emulate a case when the anti-virus database does not contain a description of the procedure for treating this object at the time of detection. The KAV SDK places the object to the backup storage to be processed at a later time when the anti-virus database is updated. For detailed information, see section "About backup storage".

ERRO–

Processing error.

An error occurred while processing the object: the application cannot access the object being scanned, since the integrity of the object has been breached (for example, no end to a multivolume archive) or there is no connection to it (if the object is being scanned on a network drive).

CURE–

The file contains the anti-virus test file. It can be cured.

The object is subject to disinfection, and the text of the body of the detected malicious object will change to CURE.

The object contains the anti-virus test file that can be disinfected. The application will scan the object for malware, after which it will be fully disinfected.

DELE–

The file contains the anti-virus test file. You cannot disinfect the object.

This object contains the anti-virus test file that cannot be disinfected or emulates a trojan. The application deletes these objects.

Page top