Avast WEBforum

Avast Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Lensiora on May 03, 2017, 01:53:53 AM

Title: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Lensiora on May 03, 2017, 01:53:53 AM
We are company manufacturing cameras for medical use. Starting Saturday, we have fielded multiple customer calls where the video would not display unless AVG or Avast are uninstalled or in passive mode.
We tried even with a regular webcam and the issue replicates every single time. We are using amcap for testing.

Please escalate the issue. It is disruptive to potentially millions and is easy to reproduce (hence fix)
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: tli on May 03, 2017, 02:00:59 AM
I don't know if your issue is related to the problem I'd reported yesterday at:

  https://forum.avast.com/index.php?topic=201645.msg1390474#msg1390474
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Lensiora on May 03, 2017, 02:48:00 AM
Maybe they have a common root however I would say they are different issues as nothing eliminates this issue other than uninstalling or setting complete passive mode. Also there is no network involved in this scenario, the streams are displayed from cameras (even webcams) installed locally via USB
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: tli on May 03, 2017, 03:56:36 AM
Agreed, in my case, there's no issue with viewing video locally, via Yawcam, on the PC with the connected USB webcam, Avast installed, and all its shields active.  The problem occurs in stream viewing on remote PCs that have Avast installed and Web Shield enabled.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: aarv on May 03, 2017, 05:33:11 AM
Maybe your issue is related to my problem, it's same of using Directshow capture device
https://forum.avast.com/index.php?topic=201635.0

So i think it's not a individual case.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Lensiora on May 03, 2017, 07:12:06 AM
I agree. Seems to be related to DirectShow indeed. And as AVG an AVAST share some code, it happens to both. Maybe a developer will see this and do a quick test, I am surprised there aren't more reporting this. is likely that they do not know the AV is killing their webcams.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: ingenue007 on May 03, 2017, 03:14:19 PM
I have this confirmed issue with my medical cameras too. Wasted so much time to figure out it was Avast.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: DavidR on May 03, 2017, 04:50:44 PM
If you are using avast then I suggest that you update to the latest version, 17.4.2294 released today.

https://forum.avast.com/index.php?topic=201729.0

Short of that have you tried the suggestion in the link given by tli in Reply #1.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: ingenue007 on May 03, 2017, 05:27:36 PM
I have updated to latest version and cameras still do not work.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Vanic on May 03, 2017, 05:40:59 PM
Since the update this past weekend, around 4/29/17, both Avast and AVG have blocked users' webcams on our platforms. This has happened for over 20+ users with Windows 7, 8.1, and 10. I have tested and confirmed in-house with reliable results. Adding exceptions or testing many settings has not worked. Only setting Avast to passive mode has worked. This same issue happened with AVG, a company purchased by Avast last year. This seems to be a common thread here. Please work on this. I called the helpdesk and they wanted premium support for a clear issue with the program. Other anti-virus programs have worked well.

Troubleshooting notes:
Added folder exception for the entire AppData\Local folder.
Added program exception for .exe in Cyber Capture.
Added program exception for .exe in Hardened mode options.
Added URL exceptions
Turned off File Shield, Web Shield, and Mail Shield under Protection -> Anti-virus.
Turned off Cyber Capture.
Firewall options are a paid feature. Maybe firewall is not active in free version.
Tried a manual join of the .exe instead of launching through our website. No webcam.
There is an option called automatic port scan detection. No access to this due to free version. Avast UI -> Protection -> Firewall -> Settings -> Advanced -> Uncheck "Enable automatic port scan detection".
Disabled behavior shield.
I killed Avast in task manager, no change. (self-defense mechanisms likely prevented this)
Disabling Avast on startup, then restarting provided no change.
-   The Avast service was still running in the background.
-   The Avast behavior scanning service was still running in the background.
Components ->  File System Shield -> Customize -> Added exclusion exe folder.
Components ->  Behavior Shield -> Customize -> Added exclusion exe folder.
Components ->  Web Shield -> Customize -> Added exclusion to .exe.
Turned Avast to Passive Mode. Worked following prompted restart.
Not working anymore after turning Passive mode to Active and restarting.
Added the two removed exceptions back in, but no change.
Re-activating the disabled processes did not make any changes.
Turned discovery of suspicious files to “ask” instead of disconnect.
Added script exclusions.
Turning off HTTPS scanning did not work.
Restart. Webcam not working.
Turned off script blocking.
Smart scan (Explorer) – Heuristics off.
Tried redirecting the ports under Troubleshooting -> Redirect Settings. Platform would not even launch under 443 or 80 redirect.
Set file system shield settings to ask when encountering a suspicious program
Plugged in and attempted to use a Logitech C270 external USB webcam
I turned Avast back to passive mode and restarted. This worked.
Turning the passive mode to active mode caused the external webcam to no longer work.
 
This issue appeared for other users with TV ;capture cards: https://forum   .avast    .com/index.php?topic=201635.0
Also, https://forum     .avast        .com/index.php?topic=201702.0

5/3/17 Notes:
Updated Avast in the AM as there was a patch – no change after restart.
Followed recommendations in this post: https://forum     .avast      .com/index.php?topic=201645.0
   -Scan traffic from well-known browser processes
   -ignored redirecting local communications

Called Avast support: 1-844-340-9251
Demonstrated the issue to the helpdesk. The helpdesk member, confirmed that he thought Avast was the root cause, but stated Total Care would be needed to continue.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Vanic on May 03, 2017, 05:54:40 PM
I should note that in my testing of the issue, the webcam continues to work in Windows 7 using Silverlight and Win 10 using the built-in Camera app. This is despite the webcam not working in the video conferencing platforms.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: ingenue007 on May 03, 2017, 06:09:45 PM
Passive mode has allowed my cameras to work, but I prefer not to use passive long term. THanks for the temp fix to use the devices.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Federoco on May 04, 2017, 05:13:16 AM
Since the update this past weekend, around 4/29/17, both Avast and AVG have blocked users' webcams on our platforms. This has happened for over 20+ users with Windows 7, 8.1, and 10. I have tested and confirmed in-house with reliable results. Adding exceptions or testing many settings has not worked. Only setting Avast to passive mode has worked. This same issue happened with AVG, a company purchased by Avast last year. This seems to be a common thread here. Please work on this. I called the helpdesk and they wanted premium support for a clear issue with the program. Other anti-virus programs have worked well.

Troubleshooting notes:
Added folder exception for the entire AppData\Local folder.
Added program exception for .exe in Cyber Capture.
Added program exception for .exe in Hardened mode options.
Added URL exceptions
Turned off File Shield, Web Shield, and Mail Shield under Protection -> Anti-virus.
Turned off Cyber Capture.
Firewall options are a paid feature. Maybe firewall is not active in free version.
Tried a manual join of the .exe instead of launching through our website. No webcam.
There is an option called automatic port scan detection. No access to this due to free version. Avast UI -> Protection -> Firewall -> Settings -> Advanced -> Uncheck "Enable automatic port scan detection".
Disabled behavior shield.
I killed Avast in task manager, no change. (self-defense mechanisms likely prevented this)
Disabling Avast on startup, then restarting provided no change.
-   The Avast service was still running in the background.
-   The Avast behavior scanning service was still running in the background.
Components ->  File System Shield -> Customize -> Added exclusion exe folder.
Components ->  Behavior Shield -> Customize -> Added exclusion exe folder.
Components ->  Web Shield -> Customize -> Added exclusion to .exe.
Turned Avast to Passive Mode. Worked following prompted restart.
Not working anymore after turning Passive mode to Active and restarting.
Added the two removed exceptions back in, but no change.
Re-activating the disabled processes did not make any changes.
Turned discovery of suspicious files to “ask” instead of disconnect.
Added script exclusions.
Turning off HTTPS scanning did not work.
Restart. Webcam not working.
Turned off script blocking.
Smart scan (Explorer) – Heuristics off.
Tried redirecting the ports under Troubleshooting -> Redirect Settings. Platform would not even launch under 443 or 80 redirect.
Set file system shield settings to ask when encountering a suspicious program
Plugged in and attempted to use a Logitech C270 external USB webcam
I turned Avast back to passive mode and restarted. This worked.
Turning the passive mode to active mode caused the external webcam to no longer work.
 
This issue appeared for other users with TV ;capture cards: https://forum   .avast    .com/index.php?topic=201635.0
Also, https://forum     .avast        .com/index.php?topic=201702.0

5/3/17 Notes:
Updated Avast in the AM as there was a patch – no change after restart.
Followed recommendations in this post: https://forum     .avast      .com/index.php?topic=201645.0
   -Scan traffic from well-known browser processes
   -ignored redirecting local communications

Called Avast support: 1-844-340-9251
Demonstrated the issue to the helpdesk. The helpdesk member, confirmed that he thought Avast was the root cause, but stated Total Care would be needed to continue.


I made the same steps, i totally agree with him !
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Vanic on May 04, 2017, 02:16:04 PM
Does anyone have the Internet Security version or the Premier? If someone experiencing this could enter a real ticket, that would be great.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Jonathan.md on May 04, 2017, 05:50:31 PM
We are company manufacturing cameras for medical use. Starting Saturday, we have fielded multiple customer calls where the video would not display unless AVG or Avast are uninstalled or in passive mode.
We tried even with a regular webcam and the issue replicates every single time. We are using amcap for testing.

Please escalate the issue. It is disruptive to potentially millions and is easy to reproduce (hence fix)

Hello,

We have the same isue !!

Wa are also a company manufacturing camera for optical via port COM and our custumers are experiencing the same issue.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: chris.. on May 04, 2017, 10:46:08 PM
port COM device , port USB device , More than one Network card and/or devices (NAS , Tuner TV , particular cam or alarm)
Already a lot of problems encountered with the web shield of the latest version of avast
Pending that avast restore order in all that, it seems that they proposed a version beta  ???

It almost looks like the web shield functions as a (failing) firewall
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: malmosi2 on May 05, 2017, 09:28:30 AM
We have the same issue on our customer's PC.
- It was reported on Windows7 (WIndows update enabled) with a Logitech C310 and a Sweex webcam
- Today I tested it with a newly installed Avast Free with default settings
- The issue can be reproduced with the old AmCap.exe from the Windows DirectX9 samples (I can't find exe on the net, its size is 6963 bytes and the timestamp is 2001.11.05)
  The preview doesn't appear, and displays a dialog with error code 0.
- But the most recent AmCap demo version works well: "http://noeld.com/dl.asp?filename=AMCapSetup.exe"
- The Delphi Jedi JvAviCapDemo that uses AviCap32.dll also produces the error: "https://github.com/project-jedi/jvcl/blob/master/jvcl/examples/JvAviCapture/JvAviCapDemo.dpr"
  With Avast installed, the preview screen will be green.
- I tried to disable all protection from Avast popup menu, but it doesn' solve the problem.

So I recommend to our customers to uninstall Avast.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Victor_Kulichkin on May 05, 2017, 02:52:47 PM
I have the same problem.  I'm a developer of  two programs for webcam control:

    Splitcam -  http://splitcamera.com/download.html
    KVYcam - http://kvy.com.ua/kvycam/

These programs are used thousands of users and have a digital sign - OMT-LIDER, TOV.
Since April I have gotten many complaints from my users with one issue: Avast blocks a webcams access for my programs. Why?,  before we didn't have any problems with  Avast!
I produced that situation and tested  the Avast Free Antivirus 17.4.2294 (build 17.4.3482.0,   virus version 170505-2) in our lab. My users were right - the problem in Avast.
You can test my programs in your lab too.  These programs are free for usage and can be gotten by using those URLs, see above.
Viktor
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: joseph.d on May 05, 2017, 08:03:40 PM
We got same issue, I am Sr. Tech Support for Video Relay Service company for deaf and hard of hearing users, we got several reports from our clients about local screen being not displayed with our videophone application since last week. We are encouraging our clients to uninstall Avast or enable Passive mode.

For Windows 10 only, interesting part is after uninstalled KB4015217 under Windows Updates and this resolve our local screen issue.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: PayingCustomer27 on May 05, 2017, 09:24:58 PM
FYI, OBS users are experiencing the same blocks on their video software. https://obsproject.com/forum/threads/no-webcam.67552/page-2.

Lets snowball this to get some attention.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Jim (OBS Project) on May 05, 2017, 10:04:13 PM
Hi there, I am the author of the OBS Project, an open source video compositing/capturing/streaming/recording tool with a few million users.

The other day, I released (or was going to release) a new update for my software, version 18.0.2.  When I sent out the update, webcams and capture devices mysteriously stopped working completely for everyone on Avast and AVG.  After a lot of debugging, I determined that my new executable would cause Avast to block webcams and video devices completely.  If I moved my old 18.0.1 executable back over that version, they would start working again.  I did have to renew my code signing certificate with 18.0.2, so that may have triggered Avast/AVG to block them prematurely.  I had to turn off my auto-update and roll back to 18.0.1 for my users.

"Disable for one hour" does not work (edit: apparently passive mode does?) -- but I don't care about disable/passive mode so much, this feature or bug really needs to be fixed or removed from Avast/AVG.

If Avast/AVG blocking video devices is a bug, this needs to be fixed ASAP because I am unable to make updates to my software while this is happening, and clearly it's affecting medical software as well.

If Avast/AVG are now by design intentionally blocking webcams and video devices of non-whitelisted code certs or (even worse) non-whitelisted executable hashes, then this is a very poor design decision that is going to cause a lot of problems for a lot of people and have major unintended consequences.  Medical software as described above are now at your mercy if they want to be functional on a computer with Avast/AVG installed.  Again this is an extremely poor design decision.  Please, we beg of you, revert this change and stop trying to block video devices if this is the case.  It invokes very strong emotions with me.

Right now I am waiting for whitelisting in the mean time, but currently have had no response.  We've tried several avenues to try to get in contact and explain the problem with no feedback.  Please I beg of you -- fix this problem.  Do not do this.

Please, I beg of you, have mercy on those of us and your users whose livelihoods are so heavily dependent on video capture devices functioning properly.  Stop blocking video capture devices.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: PayingCustomer27 on May 05, 2017, 10:44:39 PM
Jim from OBS, thank you for your support in this matter! Note that the AVG forums are beginning to get more posts regarding the issue: https://support.avg.com/answers?id=906b0000000DlYyAAK.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Victor_Kulichkin on May 06, 2017, 10:02:10 AM
My users found how to resolved this problem:

********
Hi Viktor

Yep, uninstalling Avast fixed the problem. In a way I'm glad that it turned out to be that simple. If I'd had to go back to a restore point, I would have had to re-install a lot of software.

Thanks very much

John
*******
What do i must tell  my users?
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Victor_Kulichkin on May 06, 2017, 11:12:55 AM
Official answer of AVG: Temporarily to run AVG in the Passive mode.

https://support.avg.com/answers?id=906b0000000DjznAAC

This is true and for Avast too. For run in the Passive mode you need make the following operations:

1. Call the Avast control window
2. Run Settings
3. Click on Troubleshooting
4. Find the Passive mode and turn on it
5. Restart PC.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: igor on May 06, 2017, 10:20:36 PM
Would you have download links for the affected software (other than the three mentioned on this page)?
Thanks.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Jim (OBS Project) on May 06, 2017, 10:27:21 PM
Would you have download links for the affected software (other than the three mentioned on this page)?
Thanks.

Hi there Igor, here you go:

https://github.com/jp9000/obs-studio/releases/tag/18.0.2

That's our 18.0.2 version.  Just as a note, for 18.0.2 we have a new recently-renewed code signing certificate on the executables and installer.  I apologize if I got a bit heated.  This situation is just really stressful for me at the moment.  I would really prefer it if webcams are not being blocked by anti-virus software.  I hope it's a bug and not intentional.  I really need this situation resolved for my users because as of right now I cannot release new versions of my software without major problems for my users.

Thank you for responding, I really appreciate it.

(EDIT: oh I apologize if you weren't referring to my software, I'm just really frustrated and hope this situation gets resolved)
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Vanic on May 07, 2017, 08:22:35 AM
OmniJoin is one of the programs that have been blocked by this. I believe you can get a 14-day trial of OmniJoin v7 here: http://www.brothercloud.com/omnijoin/VideoConference/
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: pk on May 07, 2017, 05:56:47 PM
It seems there was a problem with some webcam apps which avast could block. This will be fixed with a VPS update on Tuesday. It didn't affect well-known webcam apps (Skype, ...), but only new/uncommon webcam apps, this was caused by a bug in our rating system.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Lensiora on May 07, 2017, 06:07:36 PM
The issue is caused by the exe displaying the video not being signed. I downloaded a shareware AmCap from here http://noeld.com/programs.asp?cat=video
As installed, it works.

I used the Reshacker (resource editor) to remove the version information resource from amcap.exe which invalidated the signature. After that, it stopped working if AVAST is enabled and works if Avast is in Passive mode.

Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: f300rc on May 08, 2017, 05:00:25 AM
I also have this problem but with a BlackGold BGT3620 TV card rather than a webcam. I use a program called DV Scheduler which suddenly stopped recording. The TV card tunes a frequency but does not output any data.

I tried to use the TV Card with some other software, some work and some have the same issue. Eg. MPC-HC (https://mpc-hc.org/) works fine but Mediaportal (https://www.team-mediaportal.com/) does not.

Uninstalling AVAST fixes the issue completely.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: chris.. on May 08, 2017, 11:41:35 AM
Hi,
I think any components that can make captures are likely to encounter problems with avast.
Finally, rather the programs (signatures) of these devices.
As we can see here and on the forums of other languages, there are quite a number of relevant devices (TV tuner, webcam, alarms, ...)
Let's wait for tomorrow's update.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: NON on May 08, 2017, 01:54:29 PM
It seems there was a problem with some webcam apps which avast could block. This will be fixed with a VPS update on Tuesday. It didn't affect well-known webcam apps (Skype, ...), but only new/uncommon webcam apps, this was caused by a bug in our rating system.
Thanks for the comment, pk. I'll test with my own web-camera tomorrow.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: suk on May 09, 2017, 12:15:34 PM
The issue with blocking [some] webcam programs was fixed in the latest virus definition update.
Can you let us know if it fixed your issues? Some people reported that the issue was in streaming (which we couldn't reproduce) rather than viewing the video, so I just want to make sure we've covered all these aspects.

Thank you for reporting all these details, it really helped to diagnose the problem,
Pavel
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: PayingCustomer27 on May 09, 2017, 02:48:22 PM
Thank you for your response. This has been fixed in OmniJoin.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: joseph.d on May 09, 2017, 04:10:22 PM
Latest VSP update fixed our videophone software's local screen issue as well. Many thanks.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Lensiora on May 09, 2017, 06:15:50 PM
Problem is fixed with the latest update.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: Jim (OBS Project) on May 09, 2017, 09:22:05 PM
Getting reports that it appears to be fixed with OBS Studio as well.  I apologize for getting worked up earlier.  Thank you very much for fixing the problem and communicating.
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: maplejosh on May 11, 2017, 10:39:23 PM
Does anyone know if this has been fixed for iSpy? This has caused a major issue for iSpy users.
There was a CRITICAL thread on iSpy about this aswell.

I have completely removed AVAST and I was about to go the Zone Alarm Antivirus way (since I already had the ZA firewall) - it was almost time to say goodbye to AVAST forever after all this years - since this issue was just incredibly serious for me.

Please let me know if its fixed for iSpy and then I will re-install AVAST - otherwise I dare not risk.
Thanks
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: DavidR on May 11, 2017, 11:40:47 PM
Does anyone know if this has been fixed for iSpy? This has caused a major issue for iSpy users.
There was a CRITICAL thread on iSpy about this aswell.

I have completely removed AVAST and I was about to go the Zone Alarm Antivirus way (since I already had the ZA firewall) - it was almost time to say goodbye to AVAST forever after all this years - since this issue was just incredibly serious for me.

Please let me know if its fixed for iSpy and then I will re-install AVAST - otherwise I dare not risk.
Thanks

See Reply #32 above  https://forum.avast.com/index.php?topic=201702.msg1392597#msg1392597 (https://forum.avast.com/index.php?topic=201702.msg1392597#msg1392597).
Title: Re: Critical! AVAST (and AVG) are stopping video streams from local USB cameras
Post by: maplejosh on May 12, 2017, 12:32:34 AM
OK. I will re-install and try iSpy tomorrow. The reason I asked is because I assumed, maybe wrongly, that AVAST is trying to block spyware from secretly monitoring your webcam device - thus they created a white list of "allowed" software that can use the USB Capture device. I thought maybe they thought they have fixed it by just adding softwares mentioned in the complaints, to their white list. Thus was my question whether iSpy is on that white list?
What I am hoping then is that they have completely removed the AVAST capability to block ANY application from accessing the webcam.
Hey AVAST guys, I hope you have learned from this episode...its been disastrous and I don't understand why you did not see this coming? I wasted many days and precious hours. We were all going mad in the iSpy forums until someone in there pointed us towards AVAST / AVG forums. The absolute LEAST that you should have done is stick on a warning on your homepage about this problem or ensure that everyone using AVAST suddenly gets some sort of message/popup in their software telling them about this nasty issue. It shouldn't have been for me to waste my time and come hunting for you.