anti_virus:eicar_test_file
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
anti_virus:eicar_test_file [2016/07/01 21:28] – created peter | anti_virus:eicar_test_file [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== EICAR Standard Anti-Virus Test File ===== | ===== EICAR Standard Anti-Virus Test File ===== | ||
- | Using real viruses for testing in the real world is rather like setting fire to the dustbin in your office to see whether the smoke detector is working. Such a test will give meaningful results, but with unappealing, | + | The EICAR test file is recognized by the majority of anti-virus programs as a test virus. |
- | Since it is unacceptable for you to send out real viruses for test or demonstration purposes, you need a file that can safely be passed around and which is obviously non-viral, but which your anti-virus software will react to as if it were a virus. | + | * It consists entirely of printable ASCII characters, so that it can easily be created with a regular text editor. |
- | + | * Any anti-virus product that supports the EICAR test file should detect it in any file providing that the file starts with the following 68 characters, and is exactly 68 bytes long. | |
- | If your test file is a program, then it should also produce sensible results if it is executed. Also, because you probably want to avoid shipping a pseudo-viral file along with your anti-virus product, your test file should be short and simple, so that your customers can easily create copies of it for themselves. | + | * It is very useful for testing as doing so against a real virus could be extremely dangerous. |
- | + | ||
- | it consists entirely of printable ASCII characters, so that it can easily be created with a regular text editor. Any anti-virus product that supports the EICAR test file should detect it in any file providing that the file starts with the following 68 characters, and is exactly 68 bytes long: | + | |
< | < | ||
Line 15: | Line 13: | ||
</ | </ | ||
- | The first 68 characters is the known string. It may be optionally appended by any combination of whitespace characters with the total file length not exceeding 128 characters. The only whitespace characters allowed are the space character, tab, LF, CR, CTRL-Z. To keep things simple the file uses only upper case letters, digits and punctuation marks, and does not include spaces. The only thing to watch out for when typing in the test file is that the third character is the capital letter " | + | <WRAP info> |
+ | **NOTE:** | ||
+ | |||
+ | The first 68 characters is the known string. | ||
+ | |||
+ | It may be optionally appended by any combination of whitespace characters with the total file length not exceeding 128 characters. | ||
+ | |||
+ | The only whitespace characters allowed are the space character, tab, LF, CR, CTRL-Z. | ||
+ | |||
+ | To keep things simple the file uses only upper case letters, digits and punctuation marks, and does not include spaces. | ||
+ | |||
+ | The only thing to watch out for when typing in the test file is that the third character is the capital letter " | ||
+ | </ | ||
- | You are encouraged to make use of the EICAR test file. If you are aware of people who are looking for real viruses "for test purposes", | + | ---- |
+ | ===== References ===== | ||
+ | * www.eicar.org | ||
anti_virus/eicar_test_file.1467408508.txt.gz · Last modified: 2020/07/15 09:30 (external edit)