14
10 Hardening the Firefox browser Preventing unwanted background traffic to Google, Pocket and hidden telemetry to Mozilla Per Foyer [email protected] 10 Cryptoparty 201911-R1

Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

10

Hardening the Firefox browser

Preventing unwanted background traffic to Google, Pocket and hidden telemetry to Mozilla

Per [email protected]

10Cryptoparty 201911-R1

Page 2: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Hardening Firefox: Method

To harden Firefox we need to:

1. Adjust visible configurations in Options / Preferences

2. Do a fair amount of changes to parameters hidden in the about:config settings (behind the scene):

• Disabling Pocket• Disabling WebRTC (notorious for leaking)• Disabling sending of crash dumps• Combat telemetry settings• Remove all references to Google

First, let’s have a look what’s going on the network interface when using a stock installation of Firefox…

[email protected] Cryptoparty 201911-R1

Page 3: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Firefox - stock install (1)

12

Firefox started…Not touching the browser!

Cryptoparty 201911-R1

Wireshark monitoring host’s NIC(outgoing traffic)

[email protected]

Page 4: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Firefox - stock install (2)

13

Not touching the browser!Massive amounts of requests being done…

Cryptoparty [email protected]

Page 5: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Firefox - stock install (3)

14

Not touching the browser!Say hello to Google…

Cryptoparty [email protected]

Page 6: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Firefox - stock install (4)

15

Still not touching the browser!Probable telemetry sent to Mozilla

Cryptoparty [email protected]

Page 7: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Firefox – Hardened!

16

Just startedA short initial burst of (unknown) connections to one single Akamai serverThen, silence…

Cryptoparty [email protected]

Page 8: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Hardening Firefox: Step 1

17

Visible settings

(Follow me)Cryptoparty [email protected]

Step 0:Backup yourbookmarks!!!

Page 9: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Hardening Firefox: Step 2

18

about:config: PocketCryptoparty [email protected]

(Follow me)

Page 10: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Hardening Firefox: Step 3

19

about:config: WebRTCCryptoparty [email protected]

(Follow me)

Page 11: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Hardening Firefox: Step 4

20

about:config: Crash dumpsCryptoparty [email protected]

(Follow me)

Page 12: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Hardening Firefox: Step 5

21

about:config: TelemetryCryptoparty [email protected]

(Follow me)

Page 13: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Hardening Firefox: Step 6

22

about:config: Google… (Done!)Cryptoparty [email protected]

Page 14: Hardening the Firefox browser - Uppsala Universityuser.it.uu.se › ~arvge836 › cryptoparty › 191122-Firefox-Hardening.pdf · Hardening Firefox: Method To harden Firefox we need

Finito!

23Cryptoparty [email protected]