Author Topic: automatic repair fails for network paths  (Read 9120 times)

0 Members and 1 Guest are viewing this topic.

darkfader

  • Guest
automatic repair fails for network paths
« on: March 24, 2006, 01:05:16 AM »
I wonder why the automatic repair function fails on network paths? I do have write permissions.
Mapping to a driveletter does not help as it automatically detects the real source.
« Last Edit: April 04, 2006, 04:44:37 AM by darkfader »

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67241
Re: [bug] repair fails for network paths
« Reply #1 on: March 24, 2006, 01:10:41 AM »
In fact, repair function could fail just because the infection is not repairable at all.
For instance, trojans aren't repairable: all the file/registry key IS the infection. It's not a healthy file (like an executable) that is corrupted (infected). So, better will be know the name of the virus and the file name/path  8)
The best things in life are free.

darkfader

  • Guest
Re: [bug] repair fails for network paths
« Reply #2 on: March 24, 2006, 02:21:30 AM »
Well... after some more testing I saw some files are cleaned indeed but not all of them. It's weird because when I move the files it skipped to my local drive it does clean the files it failed on.
I don't know how to get detailed error information. Please investigate.
Btw... the remote machine I'm trying to clean runs linux+samba.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11815
    • AVAST Software
Re: [bug] repair fails for network paths
« Reply #3 on: March 24, 2006, 09:51:09 AM »
Can you post (some of) the full paths of the files that were not repaired? What virus was detected?

darkfader

  • Guest
Re: [bug] repair fails for network paths
« Reply #4 on: March 25, 2006, 01:59:04 AM »
27-3-2006 3:50:31   SYSTEM   1504   Sign of "Win32:Parite" has been found in "\\akusho\hosts\84.81.183.26\temp\fl.exe" file. 

\\akusho\darkfader\hosts\84.81.183.26\temp\fl.exe [L] Win32:Parite (0)
During the file repair, error occurred: The file was not repaired.
File was successfully renamed/moved...

The automatic scanner doesn't clean it automatically as I wanted. I even had it set up so it showed a dialog if the clean would fail but apparently it thinks somehow it was successful since it does not show up.

Manual scan+clean does work for network folders.
« Last Edit: March 27, 2006, 04:26:30 AM by darkfader »

darkfader

  • Guest
Re: repair fails for network paths
« Reply #5 on: April 04, 2006, 04:42:11 AM »
*bump* (I rewrote the previous post and should be read again)

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11815
    • AVAST Software
Re: automatic repair fails for network paths
« Reply #6 on: April 05, 2006, 01:13:35 AM »
Well, I have an idea why it might happen; it's probably connected with the embedded Virus Cleaner which doesn't handle network paths (so it only affects files infected with the viruses that avast! Virus Cleaner is capable to repair, i.e. about 5 families - Parite being one of them).
I'll see what I can do about it, but I'm really not sure if I'll make it into the upcoming update.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67241
Re: automatic repair fails for network paths
« Reply #7 on: April 05, 2006, 03:04:52 AM »
So it only affects files infected with the viruses that avast! Virus Cleaner is capable to repair, i.e. about 5 families - Parite being one of them.
Can you post the whole family names and types? I'm curious to know... Thanks Igor.
The best things in life are free.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11815
    • AVAST Software
Re: automatic repair fails for network paths
« Reply #8 on: April 05, 2006, 02:06:18 PM »
darkfader, what exactly do you mean by "automatic scanner"?
You mean a scheduled scan, or a manually started scan which has an automated action set for infected files (what action exactly is that?), or something else maybe?

Additionally, can you somehow distinguish the files that were not repaired? (you said only some of them weren't repaired... is there anything special about them? filename, size, ...?)
I cannot reproduce the problem, i.e. it probably isn't what I thought originally...
« Last Edit: April 05, 2006, 02:12:13 PM by igor »

darkfader

  • Guest
Re: automatic repair fails for network paths
« Reply #9 on: April 05, 2006, 03:03:55 PM »
darkfader, what exactly do you mean by "automatic scanner"?
The on-access scanner with clean as automatic action when it encounters a virus.

When it doesn't repair, the filesize stays bigger than it should be. And it shows that yellow alert line each time I enter the folder.

When such infected file is on my local disk, it shows that alert line only once and the file does get repaired and filesize decreased.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11815
    • AVAST Software
Re: automatic repair fails for network paths
« Reply #10 on: April 05, 2006, 03:26:04 PM »
So, you modified the resident protection task and set its virus action to "Repair"?

darkfader

  • Guest
Re: automatic repair fails for network paths
« Reply #11 on: April 05, 2006, 04:16:39 PM »
yes

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11815
    • AVAST Software
Re: automatic repair fails for network paths
« Reply #12 on: April 14, 2006, 09:55:00 AM »
I'm afraid I'm unable to reproduce thisĀ  :-\