[Clamav-devel] Is this how clamAV is intended to work?
vijay_m_90 at yahoo.com
Thu Mar 5 14:55:04 EST 2015
Hello sir ,
Mine question was for clamdscan not for clamsscan.I made typing mistake in mine previous mail.sir clamdscan is not showing line by Line scan of folders in c drives .It prints output only when it founds some signature else it keeps on scanning without any output on screen and finally gives summary having total errors.I want to see output on screen as ok after each folder gets scanned if it's not endeared.how to do this in its code to achieve that .
Sent from my iPhone
> On Mar 6, 2015, at 12:22 AM, Tyler Manson <tyler at hack.ink> wrote:
> Okay, that sounds like the right approach. I thought it surely was
> something simple like that. I'm glad to hear that everything's ok :)
>> On 03/05/15, Andy Singer wrote:
>> It depends on how the signature was written. In the case of eicar, it is
>> so it will only be detected only if the eicar pattern is at position 0 of
>> the file. If you change the signature to
>> the file will be detected regardless of where the pattern appears. In the
>> case of WIN.Trojan.DarkKomet, the signature is,
>> This can be present anywhere in a file, but only if it's a PE file. If you
>> prepend random data to the file, it will no longer have an MZ header, and
>> ClamAV will not recognize it as a PE file, so the signature will be
>> ignored. In the signature, change the target (1= PE) to (0= any) and you
>> can prepend random data.
>> ClamAV was designed for scanning files, not shellcode. If a file doesn't
>> have an MZ header, Windows won't execute it, so there's no need for ClamAV
>> to continue checking for PE signatures.
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
More information about the clamav-devel