Security/Download Protection: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Better description and link to Safe Browsing)
(→‎Engineering: mention Bugzilla product/component)
Line 20: Line 20:


== Engineering ==
== Engineering ==
Product/Component: '''Toolkit/Safe Browsing'''


* [https://bugzilla.mozilla.org/show_bug.cgi?id=662819 Tracking bug]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=662819 Tracking bug]

Revision as of 22:03, 15 January 2016

Description

This feature protects users against malware downloads. It is based on Safe Browsing.

See Security/Features/Application_Reputation_Design_Doc for implementation details.

Prefs

  • browser.safebrowsing.appRepURL: server endpoint for remote lookups
  • browser.safebrowsing.downloads.enabled: enables application reputation checks for downloaded files
  • browser.safebrowsing.downloads.remote.enabled: enables remote lookups (requires the previous pref)
  • browser.safebrowsing.downloads.remote.timeout_ms: timeout for the remote lookups
  • browser.safebrowsing.malware.enabled: enables malware checks (required by application reputation)
  • urlclassifier.downloadAllowTable: list of trusted certificates which suppress remote lookups (Windows-only)
  • urlclassifier.downloadBlockTable: list of URLs serving malware binaries

Firefox 43 and later:

  • browser.safebrowsing.provider.google.lists: list of tables coming from the Google Safe Browsing service

Engineering

Product/Component: Toolkit/Safe Browsing

Most of the code lives in toolkit/components/downloads/ApplicationReputation.cpp.

QA

To turn on debugging output, export the following environment variable:

NSPR_LOG_MODULES="ApplicationReputation:5"

Documentation