Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering does not work when AdGuard and Kaspersky Internet Security are running simultaneously #4200

Closed
Aydinv13 opened this issue Apr 7, 2022 · 34 comments

Comments

@Aydinv13
Copy link

Aydinv13 commented Apr 7, 2022

Steps to reproduce

  1. Install the latest version of AdGuard
  2. Install Kaspersky Internet Security
  3. Reboot PC
  4. Kill the process of AdGuard
  5. Open AdGuard again

Expected behavior

When opening the webpage the certificate is issued by AdGuard

Actual behavior

Certificate isn't issued by AdGuard

@KamiYamabushi
Copy link

This issue is still on-going in 7.11 Beta 1.

Disabling the following in Kaspersky makes AdGuard take priority again. If this is enabled, AdGuard will not filter:

image

I'm unsure if there's a way for both to co-exist at this time. It used to work prior to 7.11 Beta 1.

@adbuker
Copy link

adbuker commented Aug 18, 2022

@KamiYamabushi , thanks for the useful tip, we'll work on it

@NUser2018
Copy link

NUser2018 commented Aug 30, 2022

@adbuker Подтверждаю конфликт Adguard для Windows 7.11 (как на текущей beta так и на текущей nightly)... Если в антивирусе включена фильтрация HTTPS-трафика в любом режиме (как "всегда..." так и "...по запросу компонентов защиты...") то Adguard ничего не фильтрует, вне зависимости от того включен ли WFP-драйвер в настройках Adguard или отключен (насколько понимаю в этом случае Adguard переключается на TDI-драйвер). Помогает только отключение проверки защищенных соединений (HTTPS-трафика) в антивирусе совсем что конечно является крайне нежелательным и по сути недопустимым в плане безопасности. С нетерпеним ждём новостей по проблеме, ведь судя по первому сообщению о чём-то подобном сообщили ещё в апреле, но проблема так до сих пор к сожалению не исправлена. А 7.11 уже пошла в beta-версиях. :(

@adbuker
Copy link

adbuker commented Aug 31, 2022

@NUser2018 , спасибо. В последних найтли у нас обновились драйверы, хотелось попробовать с ними. На нашей стороне тоже повторяется, будем решать дальше

@NUser2018
Copy link

NUser2018 commented Aug 31, 2022

@NUser2018 , спасибо. В последних найтли у нас обновились драйверы, хотелось попробовать с ними.

Я же писал вчера что проверял вчера и на 7.11 beta 1 (от 16 августа) и на 7.11 nightly 9 (от 22 августа) и в обоих случаях к сожалению проблема воспроизводится. А других более новых версий мне программа через штатную функцию автообновления не показывает\не предлагает. Что есть уже какие-то ещё более свежие сборки?

@adbuker
Copy link

adbuker commented Aug 31, 2022

@NUser2018 , 7.11 nightly 9 последняя, она как раз с новыми драйверами

@NUser2018
Copy link

NUser2018 commented Aug 31, 2022

@NUser2018 , 7.11 nightly 9 последняя, она как раз с новыми драйверами

Тогда пока значит увы. :( Если что пишите здесь.

@eduardoaddad
Copy link

This issue is still on-going in 7.11 nightly 11.

@NUser2018
Copy link

NUser2018 commented Sep 9, 2022

Могу только добавить, что изначальное описание проблемы в первом сообщении от @Aydinv13 возможно несовсем корректное, ну или я его неправильно понимаю. Но в части того какой сертификат показывается у сайтов браузером (Adguard или Kaspersky) это вообщем-то скорее всего не имеет отношения ко второй более серьезной проблеме, которая обсуждается здесь (отстутствие фильтрации от Adguard 7.11 в паре с антивирусом если в антивирусе включена в любом режиме фильтрация HTTPS (проверка защищенных соединений)). Сертификаты скорее всего всё-равно применяются оба для фильтрации (и Adguard и Kaspersky) просто видимо перекрывают друг друга в браузере на выходе (при отображении сертификата сайта в браузере), по какому принципу непонятно, но лично у меня на 7.10 (и вообщем-то всегда так и было) таким образом: если в Adguard вкючен WFP-драйвер, то в браузере отображается сертификат Kaspersky, если в Adguard выкючен WFP-драйвер (т.е. Adguard переключается насколько я понимаю на TDI-драйвер), то в браузере отображается сертификат Adguard (для корректного воспроизведения и для чистоты эксперимента может требоватся очистка данных в браузере (кэш, куки и др.) хотя бы для конкретного сайта на примере которого проводится опыт, в том числе после переключения драйвера в Adguard, ну и конечно перезапуск браузера), но в любом случае это никак не влияет на корректность работы фильтрации как со стороны Adguard так и со стороны антивируса на версии 7.10 на которой нет конфликта с антивирусом и где всё работает корректно, тогда как на версии 7.11 конфликт стабильно есть пока к сожалению.

@NUser2018
Copy link

in 7.11 nightly 11.

And my program (through the regular auto-update function in the program) on the nightly update channel shows\ offers as the latest up-to-date version only 7.11 nightly 10 (from September 8, 2022). Link to the version history.

А у меня программа (через штатную функцию автообновления в программе) на канале обновлений nightly показывает\предлагает как последнюю актуальную версию только 7.11 nightly 10 (от 8 сентября 2022). Ссылка на историю версий.

@adbuker
Copy link

adbuker commented Sep 9, 2022

Могу только добавить, ....

@NUser2018 , yes, indeed, all as you've described above. The fact, that the certificate is issued by Kaspesrsky (when both product are work together) is not a problem itself, but the filtering absense is the one, unfortunately.

@eduardoaddad, @NUser2018 as for version - the latest one is the 7.11 nightly 10, we published yesterday

@NUser2018
Copy link

@adbuker Что-то приоритет (P3 Medium) низковат для такой серьёзной проблемы... Надо бы повысить... Нет?

@adbuker
Copy link

adbuker commented Sep 9, 2022

@NUser2018 , на самом деле он конечно выше. Для отображение тут стоит тоже поправить

@NUser2018
Copy link

@adbuker Вижу что наметилось на горизонте обновление CoreLibs (для Windows это 1.10.91) в котором заявлено предположительно (пока буду называть это так посколько сам пока на практике не могу проверить ещё) исправление данной проблемы конфликта Adguard 7.11 с антивирусами от Kaspersky насколько я вижу в их описании. Но пока что на канале обновлений Nightly насколько я вижу доступна только версия для Windows 7.11 nightly 12 в составе которой пока только более старое обновление CoreLibs (1.10.38 или 1.10.58) и в которой эта проблема пока также воспроизводится (только что проверял лично, после чего откатил систему обратно из бэкапа и Adguard соответственно откатился обратно на 7.10.2).

Соответственно вопрос : как скоро (хотя бы примерно) и в какой nightly версии\сборке для 7.11 для Windows можно ожидать выхода обновления включающего это или более новое обновление CoreLibs включающее данный фикс? Чтобы можно было уже и самому всё на практике проверить лично. Заранее спасибо за Ваш ответ\комментарий.

@adbuker
Copy link

adbuker commented Sep 16, 2022

@NUser2018 , да, действительно предположительно нашли причину проблемы и пофиксили её. В прод уйдет буквально в начале следующей неделе (если предположение окажется верным). Поскольку у нас проблема повторяется, то определить факт решения будет проще. В этой задаче специально отпишу, как только фикс увидит свет

@NUser2018
Copy link

@adbuker Хорошо. Отлично. Спасибо. Буду ждать. Но потом всё-равно тоже проверю и у себя и напишу здесь о результате, ведь дополнительная проверка и на стороне простого обычного пользователя также не помешает всё-равно, верно? ;)

@adbuker
Copy link

adbuker commented Sep 16, 2022

@NUser2018 не то что "не помешает", а окажет большую услугу:)

@NUser2018
Copy link

NUser2018 commented Sep 21, 2022

да, действительно предположительно нашли причину проблемы и пофиксили её. В прод уйдет буквально в начале следующей неделе (если предположение окажется верным).

@adbuker Уже среда, но обновления для nightly так и нет к сожалению пока. Есть какие-то новости? Что-то пошло не так? Фикс не сработал? :( Заранее спасибо за Ваш ответ\комментарий.

@zubrRB
Copy link

zubrRB commented Sep 21, 2022

@NUser2018 сам фикс уже заявлен в новой версии CoreLibs, которая упомянута сразу над вашим комментарием.

@adbuker
Copy link

adbuker commented Sep 21, 2022

@NUser2018 , @zubrRB , фикс сработал, всё пошло по плану. Скоро будет найтли

@NUser2018
Copy link

@NUser2018 , @zubrRB , фикс сработал, всё пошло по плану. Скоро будет найтли

Отлично, ждём тогда, поскорее. У меня просто на 7.10 последнее время (и давненько уже) что-то частенько бывают отказы\сбои службы Adguard, поэтому хотел поскорее перейти на 7.11 (даже на nightly) и попробовать посидеть и понаблюдать на ней, а тут неожиданно всплыл этот конфликт с антивирусом.

@Aydinv13
Copy link
Author

@NUser2018 только что выпустили новую v7.11 nightly 13 с возможным фиксом данной проблемы, проверьте на своей стороне, пожалуйста.

@NUser2018
Copy link

@NUser2018 только что выпустили новую v7.11 nightly 13 с возможным фиксом данной проблемы, проверьте на своей стороне, пожалуйста.

@Aydinv13 Спасибо за информацию. Проверил. Пофикшено. Но на всякий случай буду наблюдать и дальше (см. вот этот мой пост), если будут какие-то проблемы, то снова напишу об этом здесь.

@adbuker
Copy link

adbuker commented Sep 22, 2022

@NUser2018 , отлично. Тогда пока задачу закрываю - если будут проблемы, переокройте плз тогда

@adbuker adbuker closed this as completed Sep 22, 2022
@adguard-bot adguard-bot changed the title AdGuard's certificate isn't established when Kaspersky Internet Security is installed Filtering does not work when AdGuard and Kaspersky Internet Security are running simultaneously Oct 5, 2022
@SeriousHoax
Copy link

Guys, I saw a few days ago that when Adguard is running, AVG's web protection can not block malicious sites. AVG is also a product that do HTTPS scanning, but their method is a bit different.
More info here: https://textslashplain.com/2019/08/11/spying-on-https/
AVG & Avast are basically the same product, so you may check it in Avast as well.
I don't have them installed at the moment, so can't provide any more data.

@NUser2018
Copy link

Guys, I saw a few days ago that when Adguard is running, AVG's web protection can not block malicious sites. AVG is also a product that do HTTPS scanning, but their method is a bit different. More info here: https://textslashplain.com/2019/08/11/spying-on-https/ AVG & Avast are basically the same product, so you may check it in Avast as well. I don't have them installed at the moment, so can't provide any more data.

С антивирусом от Kaspersky (в моём случае Kaspersky Internet Security 21 MR3 21.3.10.391 (патч j)) подобной проблемы не наблюдаю. Adguard 7.11 nightly 14.
Тестовая ссылка для проверки (безопасно (подробнее ЗДЕСЬ))
Напомню что с антивирусами Kaspersky у Adguard 7.11 была по сути обратная проблема, когда они были запущены одновременно то фильтрация наоборот не работала в Adguard а не в антивирусе.

@SeriousHoax
Copy link

Guys, I saw a few days ago that when Adguard is running, AVG's web protection can not block malicious sites. AVG is also a product that do HTTPS scanning, but their method is a bit different. More info here: https://textslashplain.com/2019/08/11/spying-on-https/ AVG & Avast are basically the same product, so you may check it in Avast as well. I don't have them installed at the moment, so can't provide any more data.

With the antivirus from Kaspersky (in my case, Kaspersky Internet Security 21 MR3 21.3.10.391 (patch j)) I do not observe such a problem. Adguard 7.11 nightly 14. Test link for verification (safe (details HERE )) Let me remind you that Adguard 7.11 had the opposite problem with Kaspersky antiviruses, when they were launched simultaneously, the filtering, on the contrary, did not work in Adguard and not in the antivirus.

Yes, with Avast the problem is exactly the opposite. I just mentioned it here so that the Adguard dev can have a look at the issue I described.
Personally, I'm not a fan of letting two programs do HTTPS scanning since it slows down webpage loading speed a lot. If I'm using Adguard for Windows, then I prefer the AV not to do HTTPS scanning. I tried ADG for Windows with Kaspersky and Bitdefender, and it was not a pleasant experience.

@NUser2018
Copy link

I just mentioned it here so that the Adguard dev can have a look at the issue I described.

That's right, thank you.

Personally, I'm not a fan of letting two programs do HTTPS scanning since it slows down webpage loading speed a lot. If I'm using Adguard for Windows, then I prefer the AV not to do HTTPS scanning.

The fact is that each of the software essentially performs its task. Adguard is still primarily an ad blocker and it still does not have the full functionality of an antivirus and cannot completely replace it, so it's still better to use both, but then everyone decides for himself, of course.

@mehdifirefox
Copy link

mehdifirefox commented Oct 25, 2022

It's been a year since I have wiped the program and did not use because of the same problem
No one understands my problem.
I saw this thread now I realized the problem was from here
Support is too weak @Aydinv13
No one told me the solution too

@SeriousHoax
Copy link

Guys, I saw a few days ago that when Adguard is running, AVG's web protection can not block malicious sites. AVG is also a product that do HTTPS scanning, but their method is a bit different.
More info here: https://textslashplain.com/2019/08/11/spying-on-https/
AVG & Avast are basically the same product, so you may check it in Avast as well.
I don't have them installed at the moment, so can't provide any more data.

BTW, this issue seems to be solved. Maybe the new Adguard update fixed it.

@KamiYamabushi
Copy link

I know this issue has been closed for a while; however, the issue has popped up again in AdGuard 7.17.0 RC (4691) with Kaspersky Free 21.16.6.647 (c).

In browsers, certificate issued is AO Kaspersky Lab instead of AdGuard. Hard refreshing webpages will sometimes switch it back to AdGuard temporarily. There is an additional impact where HTTPS in browsers will fail to load a webpage completely due to conflict.

@NUser2018
Copy link

@KamiYamabushi

In Russian:

Со своей стороны не могу подтвердить возврат проблемы, реклама фильтруется AdGuard нормально, а то что сертификат показывет у сайта от антивируса а не от AdGuard это нормально и на фильтрацию не влияет, говорю со знанием дела поскольку давно уже использую и AdGuard для Windows и антивирус от Kaspersky.

Какой сертификат будет показан в браузере зависит от того какой драйвер используется в AdGuard. Если TDI-драйвер, то в браузере идёт сертификат от AdGuard, если в AdGuard включен WFP-драйвер, то в браузере идёт сертификат от антивируса, но на фильтрацию ни AdGuard ни антивирусом и на их совместную нормальную работу это никак не влияет и не зависит от того чей сертификат в итоге отображается в браузере.

При смене драйвера в AdGuard для надёжности лучше перезагрузить компьютер что и рекомендует сама программа, а для более корректного изменения отображения сертификата в браузере после таких изменений лучше также очистить браузер (кэш, куки и прочее).

На данный момент я использую также AdGuard для Windows 7.17.0 RC (4691), правда антивирус я использую более старой версии (Kaspersky Internet Security 21.3 (2.3.10.391)).

Извините, я не знаю английский язык, поэтому для чтения и написания здесь таких сообщений я использую online-переводчик.

In English (via an online translator):

For my part, I cannot confirm the return of the problem, ads are filtered by AdGuard normally, and the fact that the certificate shows the site from an antivirus and not from AdGuard is normal and does not affect filtering, I speak knowledgeably because I have been using both AdGuard for Windows and Kaspersky antivirus for a long time.

Which certificate will be shown in the browser depends on which driver is used in AdGuard. If the TDI is a driver, then the browser has a certificate from AdGuard, if the WFP driver is enabled in AdGuard, then the browser has a certificate from antivirus, but this does not affect the filtering of either AdGuard or antivirus and their normal joint work in any way and does not depend on whose certificate is eventually displayed in the browser.

When changing the driver in AdGuard, it is better to restart the computer for reliability, which is recommended by the program itself, and for a more correct change in the display of the certificate in the browser after such changes, it is also better to clear the browser (cache, cookies, etc.).

At the moment, I also use AdGuard for Windows 7.17.0 RC (4691), although I use an older version of the antivirus (Kaspersky Internet Security 21.3 (2.3.10.391)).

Sorry, I do not know English, so I use an online translator to read and write such messages here.

@KamiYamabushi
Copy link

KamiYamabushi commented Apr 18, 2024

image

Just to show an example, this is when Firefox uses the AO Kaspersky certificate. AdGuard is enabled both in the application and you can see it is active in the browser as seen by the AdGuard Browser Assistant extension. However, it does not filter the Sponsored ads - this affects other pages as well, randomly.

Additionally, I also encounter this issue frequently:

image

I'm not sure if it's related or not but these issues started occurring around the same time. I use CIRA DNS via DoH. I have not changed any browser or DNS settings since before or after the issues began. AdGuard is using the WFP driver.

The only things that have changed are Kaspersky versions and AdGuard versions via standard updates.

@NUser2018
Copy link

NUser2018 commented Apr 19, 2024

@KamiYamabushi

In Russian:

К тому что я писал ранее мне особо добавить нечего. YouTube я использую мало и чаще не через браузер с компа а со смартфона через приложение на Android. И честно говоря на Вашем скриншоте не очень очевидно где рекламный а где полезный контент. DNS по DoH я в браузере не использую, использую, но настроено у меня DNS по DoH от Google но не в браузере а непосредственно в AdGuard для Windows. Антивирус от Kaspersky я использую, но другой более старой версии. У себя на данный момент не наблюдаю проблем с фильтрацией рекламы при совместной работе AdGuard и Kaspersky. Повторюсь только что то что браузер показывает сертификат от Kaspersky а не от AdGuard (если в AdGuard включен WFP-драйвер) это нормально и всегда так и было и это не мешает нормальной совместной работе Adguard и Kaspersky и нормальной фильтрации рекламы. Если сейчас и есть у Вас какие-то проблемы совместимости актуальных версий AdGuard и Kaspersky то их причина вовсе не в том чей сертификат отображается в браузере при их совместной работе. Браузер на компьютере я использую кстати тоже Firefox, текущая актуальная версия 125.0.1

In English (via an online translator):

I have nothing much to add to what I wrote earlier. I use YouTube a little and more often not through a browser from a computer, but from a smartphone through an Android application. And to be honest, it's not very obvious in your screenshot where the advertising content is and where the useful content is. I do not use DNS by DoH in the browser, I use it, but I have configured DNS by DoH from Google, but not in the browser, but directly in AdGuard for Windows. I use Kaspersky antivirus, but a different older version. At the moment, I do not see any problems with filtering ads when working together with AdGuard and Kaspersky. I repeat only that the browser shows a certificate from Kaspersky and not from AdGuard (if the WFP driver is enabled in AdGuard) this is normal and has always been the case, and it does not interfere with the normal collaboration of Adguard and Kaspersky and the normal filtering of ads. If you have any compatibility problems with the current versions of AdGuard and Kaspersky now, then their reason is not at all in whose certificate is displayed in the browser when they work together. By the way, I also use Firefox on my computer, the current version is 125.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants