Author Topic: In triddefs.zip some scanner give virus alert "EICAR test file"  (Read 5412 times)

jenderek

  • Sr. Member
  • ****
  • Posts: 369
In triddefs.zip some scanner give virus alert "EICAR test file"
« on: October 01, 2016, 11:17:39 PM »
Some virus scanner give virus alert for triddefs.zip and recognise "EICAR test
virus". So ClamAV scanner ( http://www.clamav.net/ ) version 0.99.1 says
"Eicar-Test-Signature FOUND".

The recognition happens from eicar.trid.xml by 68 byte pattern at position 0.
The facts are described at website eicar.org. So i add to XML file line:
   <RefURL>http://www.eicar.org/86-0-Intended-use.html</RefURL>

There it is written that specific 68 byte sized DOS program EICAR.COM only
prints the message "EICAR-STANDARD-ANTIVIRUS-TEST-FILE!" and does not hurt the
computer. So mime type like for all DOS executables is done by line:
   <Mime>application/x-dosexec</Mime>

When TrID definitions especially eicar.trid.xml are packed inside a def file
like triddefs.trd the hexadecimal representation of EICAR.COM apparently
is converted info 68 bytes which are recognized correctly by malware scanners as
virus.

So i split pattern in two parts. First part with 28 bytes from start contain
only x86 machine instruction to display some text. This should be considered by
scanners as harmless. The second pattern mainly contains only string starting
with characteristic word "EICAR". Hopefully this word combinations alone are
considered by scanner as harmless. Yes this consideration are true for the ClamAV
scanner.  The annoying virus alert vanish with the updated eicar.trid.xml.

I hope my TrID file can be used in future version of triddefs as replacement.

With best wishes
J?rg Jenderek

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2683
    • Mark0's Home Page
Re: In triddefs.zip some scanner give virus alert "EICAR test file"
« Reply #1 on: October 02, 2016, 01:56:40 AM »
Hi!

Sometimes that definition indeed end up as a false positive of this or that AV. Some times back I removed it entirely, then I added it later.
Nice idea to split the patterns in two. But I see one of the antivirus from VirusTotal still mis-flag it.
So I removed all the reference to Eicar (aside from the description), removed some bytes in the pattern, and encoded the relevant Wikipedia page via TinyURL. That should hopefully do.

Thanks!
Bye!
« Last Edit: October 02, 2016, 02:09:43 AM by Mark0 »