View comment

Hardening TOR for more security

by /u/dread1922forlife · 0 votes · 2024-04-29 17:30:00

Tor Browser hardening configuration:
(Note that these will make you more identifiable, but a tad more secure due to the browser's attack surface being a little smaller, it's up to you to decide what is best for your OpSec)

about:config

javascript.enabled - false.
browser.urlbar.filter.javascript - false
geo.enabled - false.
media.getusermedia.screensharing.enabled - false
media.getusermedia.audiocapture.enabled - false
media.peerconnection.enabled - false
network.http.sendSecureXSiteReferrer - false
webgl.disabled - true
webgl.enable-webgl2 - false
browser.send_pings - false
toolkit.telemetry.enabled - false
network.captive-portal-service.enabled - false
browser.aboutConfig.showWarning - false
webgl.min_capability_mode - true
webgl.disable-extensionsUS - true
media.video_stats.enabled - false
dom.telephony.enabled - false
dom.battery.enabled - false
canvas.path.enabled - false
canvas.capturestream.enabled - false
privacy.resistFingerprinting - true.
privacy.donottrackheader.enabled - true
privacy.firstparty.isolate - true
privacy.trackingprotection.enabled - true
privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts - true
privacy.resistFingerprinting.randomDataOnCanvasExtract - true
privacy.trackingprotection.cryptomining.enabled - true
privacy.trackingprotection.enabled - true
privacy.donottrackheader.enabled - true
gfx.downloadable_fonts.enabled - false
privacy.socialtracking.block_cookies.enabled - true
media.peerconnection.ice.default_address_only - true
privacy.firstparty.isolate = true
privacy.resistFingerprinting = true
privacy.trackingprotection.enabled = true
browser.cache.offline.enable = false


User: /u/dread1922forlife

browser.safebrowsing.malware.enabled = false [More privacy but less security. Decide if this one is right for you.] browser.safebrowsing.phishing.enabled = false [Same as above] browser.sessionstore.max_tabs_undo = 0 browser.urlbar.speculativeConnect.enabled = false dom.battery.enabled = false [Prevents websites for seeing your battery level, less information for fingerprinting] dom.event.clipboardevents.enabled = false geo.enabled = false security.ssl.enable_false_start = false media.eme.enabled = false -Disables playback of DRM-controlled HTML5 content, which, if enabled, automatically downloads the Widevine Content Decryption Module provided by Google Inc.DRM-controlled content that requires the Adobe Flash or Microsoft Silverlight NPAPI plugins will still play, if installed and enabled in Firefox. media.gmp-widevinecdm.enabled = false -Disables the Widevine Content Decryption Module provided by Google Inc., used for the playback of DRM-controlled HTML5 content. media.navigator.enabled = false network.cookie.cookieBehavior = 1 Disable cookies 0 = Accept all cookies by default 1 = Only accept from the originating site (block third-party cookies) 2 = Block all cookies by default network.cookie.lifetimePolicy = 2 cookies are deleted at the end of the session 0 = Accept cookies normally 1 = Prompt for each cookie 2 = Accept for current session only 3 = Accept for N days network.http.referer.trimmingPolicy = 2 Send only the scheme, host, and port in the Referer header 0 = Send the full URL in the Referer header 1 = Send the URL without its query string in the Referer header 2 = Send only the scheme, host, and port in the Referer header network.http.referer.XOriginPolicy = 2