Author Topic: locked file  (Read 10524 times)

0 Members and 1 Guest are viewing this topic.

alpha1

  • Guest
locked file
« on: October 16, 2011, 07:45:13 AM »
when scan report opens after on-demand scan,there's a long list of errors: error,locked file.
my question is,are these files getting scanned or not?

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89052
  • No support PMs thanks
Re: locked file
« Reply #1 on: October 16, 2011, 10:01:07 AM »
If a file is locked by another process or password protected, etc. then it isn't being scanned. Unlike many other AVs avast will report files that haven't been scanned and the reason why.

Files that can't be scanned are just that, not an indication they are suspicious/infected, just unable to be scanned, but worthy of investigation.

Many programs (usually security based ones) password protect their files for legitimate reasons such as AdAware and Spybot Search & Destroy, there are others (and avast doesn't know the password or have any way of using it even if it did know it).

When you run scans with the above programs and you delete harmful entries that they detect, a copy is kept (in quarantine/restore/backup) in case you need to reverse what you did. These are usually password protected, you should do some housekeeping and delete old backup/recovery/quarantine entries (older than two weeks or so), this will reduce the numbers of files that can't be scanned.

By examining 1) the reason given by avast! for not being able to scan the files, 2) the location of the files, you can get an idea of what program they relate to. You may need to expand the column headings to see all the text.

If you can give some examples of those file names, the locations and reason given why it can't be scanned might help us further ?
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

alpha1

  • Guest
Re: locked file
« Reply #2 on: October 17, 2011, 12:35:41 AM »
thanks dave,i'll run another scan and investigate further,i'll  check back for help if needed.
btw,i only have malwarebytes on-demand,and my system is always clean,so no quarantined items.
also,i haven't noticed locked file errors on boot scans.
« Last Edit: October 17, 2011, 12:38:48 AM by alpha1 »

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89052
  • No support PMs thanks
Re: locked file
« Reply #3 on: October 17, 2011, 12:45:53 AM »
You're welcome.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

alpha1

  • Guest
Re: locked file
« Reply #4 on: October 17, 2011, 01:18:01 AM »
i did another scan,it seems that all of the "password protected archives" are either items in recycle bin or files in k-lite codec pack,except 1 file which was neither,i think it was a video file or something.

any thoughts?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: locked file
« Reply #5 on: October 17, 2011, 01:47:27 AM »
Don't worry.
Clean the recycle bin.
Locked files are just files in use, not infected. avast is just reporting them.
Run a boot time scanning.
The best things in life are free.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89052
  • No support PMs thanks
Re: locked file
« Reply #6 on: October 17, 2011, 02:21:23 AM »
i did another scan,it seems that all of the "password protected archives" are either items in recycle bin or files in k-lite codec pack,except 1 file which was neither,i think it was a video file or something.

any thoughts?

Aside from clearing the recycle bin there is little else to do as it looks like k-lite protecting some of its codec files.

It does depend on what files are selected to be scanned, if you have selected All packers then you are going to come across more password protected archives. I never select archive files for scanning (other than the 4 selected by default) as they are inert files.

You need to extract the files from the archive and run any executable that was extracted before it is an immediate risk. Before that is likely to happen the file system shield will have scanned it.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

alpha1

  • Guest
Re: locked file
« Reply #7 on: October 17, 2011, 02:26:11 AM »
yes, thank u,ur right,i have selected all packers,which probably is the reason.

alpha1

  • Guest
Re: locked file
« Reply #8 on: October 17, 2011, 02:32:51 AM »
If a file is locked by another process or password protected, etc. then it isn't being scanned. Unlike many other AVs avast will report files that haven't been scanned and the reason why.

Files that can't be scanned are just that, not an indication they are suspicious/infected, just unable to be scanned, but worthy of investigation.

Many programs (usually security based ones) password protect their files for legitimate reasons such as AdAware and Spybot Search & Destroy, there are others (and avast doesn't know the password or have any way of using it even if it did know it)



this raises questions regarding scan effectiveness (avast or others) when they cant scan password protected files a)what about password protected folders? b)infected password protected
files? c)viruses,malware etc that protects itself with password or something?
« Last Edit: October 17, 2011, 02:39:04 AM by alpha1 »

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89052
  • No support PMs thanks
Re: locked file
« Reply #9 on: October 17, 2011, 02:40:36 AM »
yes, thank u,ur right,i have selected all packers,which probably is the reason.

Yes that is almost certainly the reason.

Not sure what you were doing in just quoting my earlier post, without any additional comments ?
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

alpha1

  • Guest
Re: locked file
« Reply #10 on: October 17, 2011, 02:48:27 AM »


Not sure what you were doing in just quoting my earlier post, without any additional comments ?

sorry about that,first time quoting,i did add a post 2 that quote.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89052
  • No support PMs thanks
Re: locked file
« Reply #11 on: October 17, 2011, 01:09:09 PM »
<snip>
this raises questions regarding scan effectiveness (avast or others) when they cant scan password protected files a)what about password protected folders? b)infected password protected
files? c)viruses,malware etc that protects itself with password or something?

No it doesn't, as this is a password protected archive, which in its archive state is inert.

It has to be unpacked and when that happens the contents are outside of the password protected archive and can be scanned.

Before an executable file is run avast scans it, so there are a further two stages when the contents aren't protected and can be scanned. That is the point of on-access, resident anti-viruses, if there is access to the file then that triggers a scan by the file system shield.

Can you imagine how long a scan would take, if you had archives scanned if your AV tried a brute force password cracking every time it came across one, on the average PC forever.
« Last Edit: October 17, 2011, 01:11:09 PM by DavidR »
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: locked file
« Reply #12 on: October 18, 2011, 01:43:27 AM »
this raises questions regarding scan effectiveness (avast or others) when they cant scan password protected files a)what about password protected folders? b)infected password protected
files? c)viruses,malware etc that protects itself with password or something?
No, not at all. Protected archive files are inert by nature.
The best things in life are free.

alpha1

  • Guest
Re: locked file
« Reply #13 on: October 18, 2011, 06:16:23 PM »
i guess ur right,but how do u know i have an average pc  ;D ;) ?

Nesivos

  • Guest
Re: locked file
« Reply #14 on: October 18, 2011, 07:06:04 PM »
Another option is to select All Packers the first time you run a specific type of Scan.

If there are locked or password protected files then you can decide if you think are safe or not. 

If you think that they are safe then you can exclude those files from that Scan in the future.