Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: darrenjamesw on February 01, 2003, 02:57:30 AM

Title: Zip Files
Post by: darrenjamesw on February 01, 2003, 02:57:30 AM
 :-\
I was a user of AVG and switched to Avast because I thought it looked better. I really like the program however...when I scan the EICAR virus test files I only get a positive result on the .com and .txt files. The zipped files show no infection. Is there an issue with .zip files or other archive types?
Title: Re:Zip Files
Post by: Vlk on February 01, 2003, 11:43:55 AM
Are talking about on-demand or on-access?

If on-demand, you just need to turn on archive scanning.
If on-access, yes, avast by default doesn't look for viruses in packed files. However, it can be enabled. Look at the deftasks.xml file in the avast folder - all you need to do to enable scanning of archives on-access is to add the line

<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers>
 
after the line
<STANDARD--InvalidEntry>1</STANDARD--InvalidEntry>


If you're using avast 4 Professional, the same thing can be done in a more convenient way by editing the resident task.

Vlk
Title: Re:Zip Files
Post by: darrenjamesw on February 01, 2003, 09:04:30 PM
Thanks for the reply. I have a question though...I can't find any settings to enable archive scanning. Is this available in the home edition?
Title: Re:Zip Files
Post by: Roman Svihalek on February 03, 2003, 12:39:07 AM
Yes, it is. It can be turned on after scan area is selected in simple user interface. Small window is shown then with slider to set test sensitivity and check box to enable scanning of archives...
Title: Re:Zip Files
Post by: darrenjamesw on February 03, 2003, 01:11:03 AM
 ;D
Thanks. I see that option. I was actually looking for some way to turn on the archive option for the Quickscan in the right click context menu. However, the XML code  I was given works very well for on access scanning and that is good enough for me.
Title: Re:Zip Files
Post by: Roman Svihalek on February 03, 2003, 10:40:00 AM
Detail option settings for ashQuick.exe program is available in Professional Edition of avast! version 4.0 - it is managed by enhanced user interface...

We have modified defaults for ashQuick.exe to scan all known archives - you are right that program should do this.

If you want to enable archives scanning for ashQuick.exe on your computer right know add following lines into your DefTasks.xml file:

<Task>
<DefTaskVersion>1</DefTaskVersion>
<Label>*Quick</Label>
<ScanPackers>All</ScanPackers>
</Task>

Then restart avast! service (if you are using Win9x, ME restart your computer) to reflect made changes...[/me]
Title: Re:Zip Files
Post by: darrenjamesw on February 03, 2003, 03:46:23 PM
 ;D
Great responses. Thanks for the XML Code for quickscan, although it is kinda redundant now. With the XML code for on access scanning inserted into the deftasks file as soon as you click on an infected archive file the alarm sounds.
Title: Re:Zip Files
Post by: Lars-Erik on March 02, 2004, 07:35:00 PM
archives on-access is to add the line

<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers>

I looked at the lines further down in the file and the looked similar, but had some extra file-extensions, and "overwrite=no" in the tag, should those additions be added to the tag you suggested too (are they newer additions since your original posting) or....

      <OUTLOOK--ScanPackers overwrite="no">EXE;ZIP;MIME;RAR;ARJ;TAR;GZ;CAB;ARC;ACE;ZOO;BZIP2;WinExec</OUTLOOK--ScanPackers>
      <MAIL--ScanPackers overwrite="no">EXE;ZIP;MIME;RAR;ARJ;TAR;GZ;CAB;ARC;ACE;ZOO;BZIP2;WinExec</MAIL--ScanPackers>
      <P2P--ScanPackers overwrite="no">EXE;ZIP;MIME;RAR;ARJ;TAR;GZ;CAB;ARC;ACE;ZOO;BZIP2;WinExec</P2P--ScanPackers>
      <IM--ScanPackers overwrite="no">EXE;ZIP;MIME;RAR;ARJ;TAR;GZ;CAB;ARC;ACE;ZOO;BZIP2;WinExec</IM--ScanPackers>
Title: Re:Zip Files
Post by: Vlk on March 02, 2004, 07:36:44 PM
It's actually not file extensions, it's file formats (unpacker engines)...

You can set those for STANDARD (The Standard Shield) as well, but avoid the overwrite="no" attribute, it would make the changes unusable...
Title: Re:Zip Files
Post by: SpeedyPC on March 03, 2004, 02:56:23 AM
If you're using avast 4 Professional, the same thing can be done in a more convenient way by editing the resident task.

Vlk


Vlk may I ask what is the correct setting to do this on avast 4 Pro to setup all the ScanPackers, do you understand what I am trying to say.
Title: Re:Zip Files
Post by: Lisandro on March 03, 2004, 03:07:21 AM
Right click on the task, choose properties, go to page 'Packers' and choose 'All Packers'. You can do for all tasks that you want.

Hope this help  ;)
Title: Re:Zip Files
Post by: SpeedyPC on March 03, 2004, 09:53:01 AM
Right click on the task, choose properties, go to page 'Packers' and choose 'All Packers'. You can do for all tasks that you want.

Hope this help  ;)

Mmmm I found it I better not edit the DefTasks.xml is too risky for me, better leave it alone not unless I know what I am doing with the DefTasks.xml.
Title: Re:Zip Files
Post by: Vlk on March 03, 2004, 10:34:31 AM
It's pointless to do the DefTasks.xml trick if you have avast Pro. That's what the Enhanced GUI is for!
Title: Re:Zip Files
Post by: shgoh on March 18, 2004, 12:53:47 PM
Look at the deftasks.xml file in the avast folder - all you need to do to enable scanning of archives on-access is to add the line

<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers>
 
after the line
<STANDARD--InvalidEntry>1</STANDARD--InvalidEntry>


If you're using avast 4 Professional, the same thing can be done in a more convenient way by editing the resident task.

Vlk


i tried it....but the deftasks.xml file changes everytime i reboot...<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers> disappeared.. ??? ???
Title: Re:Zip Files
Post by: Lisandro on March 18, 2004, 06:42:36 PM
i tried it....but the deftasks.xml file changes everytime i reboot...<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers> disappeared.. ??? ???

For me too... What are we doing wrong?
If we have the Pro version, what does change the deftask.xlm file? A though that the GUI will read the file and keep the values...
If I go to the GUI, I set all packers but that line does not appear as stated before:

...<STANDARD--ScanPackers>EXE;ZIP;MIME;RAR;ARJ;TAR;GZ</STANDARD--ScanPackers>
Title: Re:Zip Files
Post by: shgoh on March 19, 2004, 12:24:48 AM
oh.. :o...weird....think we will wait for the guru to comment....we know who you are!!!.... ;D