Security/Download Protection: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎Documentation: link to Chromium source code)
(document all of the about:config prefs)
Line 4: Line 4:


See [[Security/Features/Application_Reputation_Design_Doc]] for implementation details.
See [[Security/Features/Application_Reputation_Design_Doc]] for implementation details.
== Prefs ==
* <tt>browser.safebrowsing.appRepURL</tt>: server endpoint for remote lookups
* <tt>browser.safebrowsing.downloads.enabled</tt>: enables application reputation checks for downloaded files
* <tt>browser.safebrowsing.downloads.remote.enabled</tt>: enables remote lookups (requires the previous pref)
* <tt>browser.safebrowsing.downloads.remote.timeout_ms</tt>: timeout for the remote lookups
* <tt>browser.safebrowsing.malware.enabled</tt>: enables malware checks (required by application reputation)
* <tt>urlclassifier.downloadAllowTable</tt>
* <tt>urlclassifier.downloadBlockTable</tt>: list of URLs serving malware binaries


== Engineering ==
== Engineering ==

Revision as of 20:07, 7 August 2015

Description

We warn on every application download, which causes warning fatigue and doesn't help users make good decisions. We should track the reputation of download URLs and hashes.

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
  • urlclassifier.downloadBlockTable: list of URLs serving malware binaries

Engineering

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