Author Topic: Scanning of archives  (Read 8436 times)

0 Members and 1 Guest are viewing this topic.

jamesvaul

  • Guest
Scanning of archives
« on: October 19, 2006, 08:00:52 PM »
Avast is not able to detect some viruses when you do a scan from the main avast antivirus interface (0 virus found!!!) but the virus is detected if you use the scan explorer shell extension. Why? So scanning folders or the whole hard disk from the main avast antivirus interface is useless???

in test folder I've keyfinder.exe



and when you use the scan explorer shell extension the virus is detected, but Avast is not able to remove that virus:



I uploaded here the file used during the test (tested the exe inside): http://rapidshare.de/files/37365307/keyfinder.rar.html
« Last Edit: October 20, 2006, 10:13:05 AM by igor »

Offline Bluesman

  • Avast Evangelist
  • Advanced Poster
  • ***
  • Posts: 926
  • Amiga Power!
Re: Warning: dangerous bug in Avast
« Reply #1 on: October 19, 2006, 08:12:48 PM »
1)Avast is not able to detect some viruses when you do a scan from the main avast antivirus interface

What was the name on these virus?
"The blues are the roots, everything else is the fruits" -Willie Dixon

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Warning: dangerous bug in Avast
« Reply #2 on: October 19, 2006, 08:29:45 PM »
I believe that the issue you are reporting is nothing new.

You ran a standard scan - a standard scan does not unpack archive files.  I believe that the rationale is that malware sitting in an archive file is not about to be executed.  If you unpacked the rar file yourself the the malware would be detected.  If you ran a thorough scan then the archive file would be unpacked and the malware reported.

The explorer shell extension (ashquick.exe) executes a through scan and does does unpack archive files. 

It is frequently recommended here that all file downloaders should (whenever provision is made) invoke ashquick.exe to scan files being downloaded and so prevent them getting into your file store.   I assume you bypassed that recommendation to get the rar file in place.

It is for this reason too that it is recommended in this forum that first time avast users should run a thorough scan.

Spyros

  • Guest
Re: Warning: dangerous bug in Avast
« Reply #3 on: October 19, 2006, 08:32:16 PM »
In the screenshot you don't have "Test archives" enabled, although the malware is "keyfinder.rar" (which of course IS an archive).

[Edit: please avoid silly thread titles if you are not 100% sure what you're doing!]
« Last Edit: October 19, 2006, 08:34:20 PM by Spyros »

jamesvaul

  • Guest
Re: Warning: dangerous bug in Avast
« Reply #4 on: October 19, 2006, 08:36:32 PM »
Quote
In the screenshot you don't have "Test archives" enabled, although the malware is "keyfinder.rar" (which of course IS an archive).

[Edit: please avoid silly thread titles if you are not 100% sure what you're doing!]

I've tested the .exe, look the images.
try yourself: extract the exe from this rar and test it http://rapidshare.de/files/37365307/keyfinder.rar.html
« Last Edit: October 19, 2006, 08:46:04 PM by jamesvaul »

Spyros

  • Guest
Re: Warning: dangerous bug in Avast
« Reply #5 on: October 19, 2006, 08:44:57 PM »
Sorry, but I can't reproduce it now, because I'm testing another AV on this machine right now. Maybe someone else can help you out.
Please remove the malware link, you never now in what way other people may use it ;)

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11873
    • AVAST Software
Re: Scanning of archives
« Reply #6 on: October 19, 2006, 09:02:00 PM »
Just as alanrf said: you don't have the scanning of archives enabled and this file is an archive (RAR SFX, in particular - and I'm talking about the EXE file, not about the outer RAR layer). If you check the "Test archives" option, it will be detected.

So, there's no bug here.
« Last Edit: October 20, 2006, 10:13:19 AM by igor »

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3870
  • Just an avast user
Re: Scanning of archives
« Reply #7 on: October 19, 2006, 09:09:40 PM »
Here is the result when I place your file in a folder and run a standard scan of the folder.

Edit: I just rechecked - although I did a standard scan I did have the "scan archive" box checked.  As igor has pointed out this file is, in itself, an archive file.  the ashquick.exe scan shows it containing 6 files.

« Last Edit: October 19, 2006, 09:16:55 PM by alanrf »

jamesvaul

  • Guest
Re: Scanning of archives
« Reply #8 on: October 20, 2006, 10:25:58 AM »
So, there's no bug here.

Avast is not able to delete the infected file (The operation is not supported for this type of archive: can't process..) so there's a huge bug!

« Last Edit: October 20, 2006, 10:35:02 AM by jamesvaul »

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11873
    • AVAST Software
Re: Scanning of archives
« Reply #9 on: October 20, 2006, 10:32:58 AM »
No, it is not!
Please read the message: "The operation is not supported for this type of archive". That's it - deleting the file from the archive is not supported, and it's clearly stated - so it's not a bug. The archive is a solid RAR SFX - and it's not possible to delete files from solid archives (that would require avast! to recompress the archive, but the RAR compression algorithm is closed).

Simply put, avast! is not an archive processing tool, allowing you to do whatever you want with them. It is trying to do its best, but there are some limits.

The "Delete all" button does the following: "try to delete all next detected files, without stopping and displaying any windows". You are right that in some cases, a (failure) message should be displayed, but that would go against the idea of not stopping with any windows...
« Last Edit: October 20, 2006, 10:35:20 AM by igor »

jamesvaul

  • Guest
Re: Scanning of archives
« Reply #10 on: October 20, 2006, 10:37:51 AM »
The archive is a solid RAR SFX - and it's not possible to delete files from solid archives (that would require avast! to recompress the archive, but the RAR compression algorithm is closed).

Is it so difficult to delete the whole infected rar archive automatically? Every other antivirus product does it, also a-squared free is able to remove it
« Last Edit: October 20, 2006, 10:39:38 AM by jamesvaul »

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11873
    • AVAST Software
Re: Scanning of archives
« Reply #11 on: October 20, 2006, 10:50:29 AM »
Well, it's not that difficult - the question is if you really want it.
Imagine you use RAR as a backup tool and pack the content of your hard disk (or an important folder, doesn't matter). Now, you scan it with avast! and it detects one infected item inside; you choose to delete it - and the whole archive is gone, together with all your backups. Oops...

So, this kind of processing would require additional options or questions to the user - which would bother most of them. I hope such an option will be implemented in one of the future versions, but it will need some GUI changes.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67183
Re: Scanning of archives
« Reply #12 on: October 20, 2006, 04:51:47 PM »
Well, it's not that difficult - the question is if you really want it.
There are applications that ask the user if they want to do so.
It's better, much better, then trying to repair or send the file to Chest and receive the 'stupid' message that avast can't handle this kind of package (file or archive).
The user clicks again and again and nothing happens... He/she will blame against avast malfunction...
I would like to see an option to send to Chest (and even delete) the whole archive file (zip, rar, etc.).

So, this kind of processing would require additional options or questions to the user - which would bother most of them.
I hope such an option will be implemented in one of the future versions, but it will need some GUI changes.
You can automate it ('Don't ask again...')... I hope you can do it...
The best things in life are free.