Back to Playbook
tech

Mozilla / Firefox Recovery Guide

Hardening your Firefox Sync data, securing your browser profile, and managing the risks of local credential storage.

Firefox: The Gateway to Your Digital Life

Your web browser is the most used piece of software on your device. It handles your banking, your emails, and your social media. If you use Firefox Sync, your browser profile—including your history, your bookmarks, and potentially your saved passwords—is synced across all your devices. This makes your Mozilla account a "High Value" target. A compromise of this account doesn't just expose your history; it provides an attacker with a "Snapshot" of your entire digital existence.

1. Hardening Your Account

Two-Step Authentication (2FA)

Mozilla supports 2FA via Authenticator Apps and Security Keys (FIDO2). The Policy: Enable 2FA immediately. Given the sensitivity of synced browser data, a physical Security Key (YubiKey) is the recommended primary method.

Action: Go to your Mozilla Account Settings and enable Two-step authentication.

The Primary Password (Local Security)

If you choose to save passwords in Firefox, you must use a Primary Password (formerly called a Master Password). Why it matters: Without a Primary Password, anyone with physical access to your computer (or a thief who steals your laptop) can view all your saved passwords in plain text through the Firefox settings menu. The Primary Password encrypts your local credential store, requiring you to enter the password once per session to "unlock" your logins.

Action: In Firefox, go to Settings > Privacy & Security > Logins and Passwords > Use a Primary Password.

Reviewing "Connected Services"

Your Mozilla account is often used for more than just Sync; it may be used for Firefox Relay, Mozilla VPN, or Pocket. Action: Periodically review "Connected Services" and "App Permissions." Revoke access for any old devices or services you no longer use.

2. Failsafe Recovery Preparation

The Mozilla Recovery Key

Because Firefox Sync uses end-to-end encryption, Mozilla cannot "reset" your password and keep your data intact. If you forget your password, your synced data (passwords, history, etc.) will be wiped for security reasons unless you have a Recovery Key. The Strategy: Generate a Recovery Key. This is a unique code that allows you to reset your password without losing your data. Print this key and store it in a physical safe.

Action: Generate your Recovery Key in your Mozilla Account settings.

Verified Recovery Email

Ensure your primary email is hardened with its own hardware MFA. If an attacker gains access to your email, they can attempt to reset your Mozilla account, although the end-to-end encryption will still protect your actual synced data as long as they don't have your Recovery Key.

3. Browser Hardening for Privacy

  • Enhanced Tracking Protection: Set this to "Strict." This blocks most cross-site trackers and fingerprinters, making it harder for advertisers and malicious actors to follow you across the web.
  • DNS over HTTPS (DoH): Enable DoH (using a provider like Cloudflare or Quad9) to encrypt your DNS queries. This prevents your ISP or a local network attacker from seeing which websites you are visiting.
  • HTTPS-Only Mode: Enable this to force Firefox to only connect to websites via encrypted HTTPS, preventing "downgrade" attacks on public Wi-Fi.

For more information on the underlying principles, see our articles on MFA Fundamentals and Password Security.


Why This Matters

The Importance of MFA

Multi-Factor Authentication (MFA) is your strongest defense against account takeover. Even if a physical or digital attacker obtains your password, MFA provides a critical second layer of defense that is much harder to bypass. Learn more about MFA best practices.

Unique, Strong Passwords

Never reuse passwords across different services. If one service is breached, every other account using that same password becomes vulnerable to "credential stuffing" attacks. Every online service should have its own unique, long, and complex password managed by a reputable password manager. Learn why unique passwords are critical.

Need Help?

These guides are community-sourced. If you find an error or a platform has updated its interface, please let us know.