Author Topic: Virtual Machine killed by updating Avast Free to 20.4  (Read 2259 times)

0 Members and 1 Guest are viewing this topic.

Offline O A

  • Newbie
  • *
  • Posts: 6
Virtual Machine killed by updating Avast Free to 20.4
« on: June 25, 2020, 10:14:54 AM »
(Trying here as Avast folks do not seem to be responsive to my other message in the forum...)

I updated Avast program from the menu last week, it all went ok until it wanted to reboot. But my Windows 10.0.18363.900 did not boot any more. It's on VMware ESXi 6.7u3 and I figured out that the VM crashes due to some unsupported instruction. It took me a few days (booting into safe mode each time and playing with the settings of each Avast driver - there's a lot!) to figure out which Avast drivers have the problem - aswSnx and aswSP. So I disabled both and Windows can start but Avast UI cannot, it now says "UI Failed to load".

What is the quickest way to get Avast fully running again? At least my machine is usable again but not sure to what extent it is protected by Avast now. (And unfortunately, I had no VM snapshot of the machine. Next time I promise I'm going to create one!)

I'd be happy to remove Avast and install back the previous program version from an offline installer - is that available somewhere?

Offline rocksteady

  • Super Poster
  • ***
  • Posts: 1545
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #1 on: June 25, 2020, 10:53:14 AM »

I'd be happy to remove Avast and install back the previous program version from an offline installer - is that available somewhere?

FYI back versions are available on filepuma here:
https://www.filepuma.com/download/avast_free_antivirus-2/versions/

Offline Spec8472

  • Avast team
  • Sr. Member
  • *
  • Posts: 297
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #2 on: June 25, 2020, 11:12:29 PM »
Hi OA. Avast AV cannot run properly without aswsp.sys loaded. This looks like a virtualization issue, both aswsp.sys and aswsnx.sys are virtualization clients. If your ESXi VM has enabled Virtualize Intel-VTx/EPT or AMD-V/RVI under CPU settings, please try disable it. You can also disable Avast hardware-assisted virtualization under troubleshooting settings in Avast GUI. Each of these methods should help. Can you please specify your CPU?
« Last Edit: June 25, 2020, 11:25:02 PM by Spec8472 »

Offline O A

  • Newbie
  • *
  • Posts: 6
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #3 on: June 26, 2020, 07:35:48 AM »
FYI back versions are available on filepuma here:
https://www.filepuma.com/download/avast_free_antivirus-2/versions/
Thanks, will keep this option as a last resort.

Offline O A

  • Newbie
  • *
  • Posts: 6
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #4 on: June 26, 2020, 07:52:48 AM »
Hi Spec8472,

Thanks for picking this up.

If your ESXi VM has enabled Virtualize Intel-VTx/EPT or AMD-V/RVI under CPU settings, please try disable it.
I only tried turning off Virtualization Based Security, that did not help. There's an "expose hardware assisted virtualization to the guest OS" setting, I can give that whirl but I believe I need that somewhere else.

You can also disable Avast hardware-assisted virtualization under troubleshooting settings in Avast GUI.
Yeah, this was one of my ideas too, hence I wrote that Avast UI fails to load. I'm sure there's a reason why the UI is so complex that it fails to load unless everything is normal but especially the settings should be available somewhere to fix an issue like this. Can you specify how I can disable this without the UI? (Registry?)

Can you please specify your CPU?
Intel Core i5-2400 @ 3.1GHz

Offline Spec8472

  • Avast team
  • Sr. Member
  • *
  • Posts: 297
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #5 on: June 26, 2020, 07:26:46 PM »
Hi OA, thank you for the info. If you need to keep the "expose hardware assisted virtualization to the guest OS" setting of ESXi enabled, try to disable it temporarily just to install Avast and then disable HW assisted virtualization in Avast GUI. Then you can re-enable nested virtualization again in ESXi settings.

Offline O A

  • Newbie
  • *
  • Posts: 6
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #6 on: June 26, 2020, 10:48:19 PM »
If you need to keep the "expose hardware assisted virtualization to the guest OS" setting of ESXi enabled, try to disable it temporarily just to install Avast and then disable HW assisted virtualization in Avast GUI. Then you can re-enable nested virtualization again in ESXi settings.
Ok, that seems to have done the trick. Avast UI is working again, definitions were successfully updated.
Two questions:
  • What did I lose by turning off virtualization in Avast? Is my system more vulnerable to certain clever malware as a result?
  • What can I expect from Avast 20.5+? Will this be fixed so that I can turn on Avast virtualization again?

Thanks.

Offline Spec8472

  • Avast team
  • Sr. Member
  • *
  • Posts: 297
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #7 on: June 26, 2020, 11:10:50 PM »
Hi OA,
1) You lose some low level OS filtering capability, nothing crucial
2) It depends on our ability to reproduce the issue, not very successful so far, can you please provide a memory dump or core dump?

Thank you

Offline O A

  • Newbie
  • *
  • Posts: 6
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #8 on: June 28, 2020, 10:29:40 PM »
2) It depends on our ability to reproduce the issue, not very successful so far, can you please provide a memory dump or core dump?
There's a virtual machine process core dump available - not sure if there's any public tool to read that, quick googling revealed nothing.
I think this message should give enough clue:
2020-06-21T15:20:09.272Z| vcpu-0| W115: MONITOR PANIC: vcpu-0:NOT_IMPLEMENTED vmcore/vmm/hv/vt/hv-vt.c:3254
because, again based on googling, the line number (i.e. 3254 in this case) seems to be specific to the instruction. Can you talk to VMware folks to understand what is the instruction attempted to beinterpreted on that line?

Offline Spec8472

  • Avast team
  • Sr. Member
  • *
  • Posts: 297
Re: Virtual Machine killed by updating Avast Free to 20.4
« Reply #9 on: June 29, 2020, 11:58:31 AM »
O A: Thank you for the info