Upgrade to Pro — share decks privately, control downloads, hide ads and more …

"Вредоносные браузерные расширения и борьба с ними", Александра Сватикова

OWASP Moscow
December 04, 2017

"Вредоносные браузерные расширения и борьба с ними", Александра Сватикова

OWASP Russia Meetup #6

OWASP Moscow

December 04, 2017
Tweet

More Decks by OWASP Moscow

Other Decks in Technology

Transcript

  1. 3

  2. 4

  3. 7 Что могут расширения - Подписываться на события - Выполнять

    код в контексте произвольного домена - Изменять DOM - chrome.* APIs - Inline установка
  4. 8 Что могут плохие расширения - Слушать ввод, собирать данные

    - Выполнять код в контексте вашего домена - Изменять интерфейс - Изменять настройки браузера
  5. 9 В чем проблема - Content Scripts => Same Origin

    Policy - Вирус на js - Плохо обнаруживаются антивирусами - Не вызывают подозрений пользователя
  6. 12

  7. 16 9.1. Vendor-specific Extensions and Addons Policy enforced on a

    resource SHOULD NOT interfere with the operation of user- agent features like addons, extensions, or bookmarklets. These kinds of features generally advance the user’s priority over page authors, as espoused in [HTML- DESIGN]. http://www.w3.org/TR/CSP3/#extensions … we model extensions more or less as an application of the user's will, and … we prioritize the user above the site. This means that the extension is explicitly allowed to do things that the site owner would prefer that it not do. https://bugs.chromium.org/p/chromium/issues/detail?id=634265