Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: cska133 on December 07, 2020, 09:48:27 AM

Title: AvastUI is trying to install global hook dwmapi.dll
Post by: cska133 on December 07, 2020, 09:48:27 AM
hi,

I got following message
What should it be and why?
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: igor on December 07, 2020, 10:07:44 AM
I believe you'll have to ask Comodo what they mean by that.
Btw, dwmapi.dll is a system (Microsoft's) module.
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: cska133 on December 07, 2020, 10:16:33 AM
but Avast is trying to install and Comodo is just reporting. So Avast is making the action, why to ask Comodo?
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: igor on December 07, 2020, 02:37:05 PM
But what exactly is Comodo actually reporting? Personally I believe it's some kind of false alarm - but in any case, it's not clear what it's supposed to mean. So there's no answer to your question as the question is rather vague/unknown.
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: McMcBrad on December 08, 2020, 07:49:36 AM
hi,

I got following message
What should it be and why?

Hooks are modules that extend program functionality.
A global keyboard hook from an app will allow you to set shortcuts e.g ctrl+alt+F2 to bring a main window, and then regardless of the current app you are using, pressing these keys will perform the action.
In that case the hook serves as a key capturer.
Other hooks AVs install is for their behavioural blocker - they hook all apps so they can capture events.

This hook in particular looks like Windows, not Avast hook, that manages the transparency in the title bar, as well as its colour. It’s also responsible for hardware acceleration and rendering and is linked to the dwm.exe (Desktop Window Manager) process.
I believe Comodo hasn’t captured the information accurately.

This might be helpful:
https://en.m.wikipedia.org/wiki/Desktop_Window_Manager

Comodo is alerting you on hooks installation as they can be used by keyloggers, to inject code in trusted processes, to access process memory and for privilege escalation.
If the prompt is from a trusted app, you should allow it, not to limit its functionality.
If it’s an app not trusted and not digitally signed, you should not allow global hooks installation.
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: cska133 on December 10, 2020, 12:27:49 PM
ok, but in my case if it was not Avast but - maybe - Windows... so it is not for sure which app it trying to do it
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: McMcBrad on December 10, 2020, 06:44:30 PM
ok, but in my case if it was not Avast but - maybe - Windows... so it is not for sure which app it trying to do it

It's been the dwm.exe, but Comodo hasn't traced the event properly.
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: cska133 on December 10, 2020, 09:18:51 PM
but why dwm.exe will want to install this dll?
Title: Re: AvastUI is trying to install global hook dwmapi.dll
Post by: McMcBrad on December 11, 2020, 04:55:20 AM
but why dwm.exe will want to install this dll?

It needs to install this dll in every app, so hardware acceleration can be used and transparency on the title bar can be achieved.