Skip to main content

Command Palette

Search for a command to run...

Security Best Practice: Don't Use Debian or Fedora for Web-Related Activities

Updated
6 min read
Security Best Practice: Don't Use Debian or Fedora for Web-Related Activities

In our previous posts, we fortified the network stack by silencing clearnet leaks, switched to Kicksecure for sys-net, and established the sanctity of templates. We have built a system where the infrastructure is hardened.

However, there is a practical consideration often overlooked in the default Qubes OS workflow: the template used for web browsing.

While Debian and Fedora are excellent general-purpose operating systems, they are not designed to prioritize privacy or anonymity. When browsing the web in App qubes based on these templates, your system may leak sensitive information to web servers, including:

  • Your OS Name: User agents and system fonts often reveal you are running a specific Linux distribution or even Qubes OS.

  • Your Time Zone: System time settings can pinpoint your geographic location.

  • Keyboard Layouts: Installed language packs and input methods can fingerprint your region and language habits.

For users whose threat model includes avoiding tracking or fingerprinting, these leaks are significant. They can turn a "generic" Linux user into a unique, identifiable entity.

Why Debian and Fedora Are Not Ideal for Web Browsing

Debian and Fedora are designed for functionality, stability, and broad hardware support. They are not designed to resist fingerprinting.

When you connect a Debian or Fedora-based App qube to the internet (even via sys-whonix), you are relying on the network layer for anonymity, but the application layer is still leaking metadata.

  • No Anti-Fingerprinting Defaults: Standard browsers on these templates do not strip metadata or normalize system characteristics by default.

  • Unique Configurations: Your specific combination of installed fonts, locales, and time zones creates a unique "signature" that trackers can use to identify you across sessions.

  • Leak Risks: Even if your IP is masked by Tor, your browser fingerprint can still link your activities to your real identity if you have previously logged in or if the fingerprint is unique enough.

For this reason, using Debian or Fedora templates for online App qubes is strongly discouraged for any activity where privacy or anonymity is a priority.

The Whonix and Kicksecure Foundation

The solution is to use Whonix Workstation for all online activities or, if for some workflow you cannot use Tor nodes as your exit node and you need to connect to a VPN, then use Kicksecure.

It is important to understand the relationship between these two: Whonix is built on top of Kicksecure.

Whonix takes the Kicksecure base, which includes all the security hardening, reduced attack surface, and privacy-focused defaults, and adds Tor integration.

  • Kicksecure: Provides the security and privacy foundation.

  • Whonix: Adds the anonymity layer on top of Kicksecure.

The Result: Both templates share the same high level of security and privacy features. The difference lies in anonymity:

  • Whonix provides maximum anonymity via Tor.

  • Kicksecure provides maximum security and privacy, but without the forced Tor anonymity layer.

The Recommendation Hierarchy

Our guidance follows a strict hierarchy based on the principle of maximizing anonymity whenever possible.

1. The Default: Whonix Workstation

Use this for ALL online activities. Whonix Workstation is the gold standard. It ensures that:

  • All traffic is routed through Tor.

  • System metadata is normalized to prevent fingerprinting.

  • DNS leaks are impossible by design.

Do not use Debian or Fedora for browsing. Even if you route them through sys-whonix, the application layer leaks remain.

2. The Exception: Kicksecure

Use this ONLY if you absolutely cannot use Tor. There are rare scenarios where Tor is not viable (e.g., accessing services that strictly block Tor exit nodes, or specific network restrictions). In these cases, you cannot use Whonix Workstation because it is hardwired to sys-whonix.

In this specific exception:

  • Create an App qube based on Kicksecure.

  • Connect it to sys-vpn.

  • Why Kicksecure? Because it retains the security and privacy hardening of the Whonix base (minus the Tor forcing), offering a much safer alternative to stock Debian or Fedora.

Summary:

  • Primary Choice: Whonix Workstation (Tor).

  • Fallback Only: Kicksecure (VPN).

  • Avoid: Debian and Fedora for any web activity.

How to Migrate Your Existing Qubes

You do not need to create a new qube and copy your data over. You can simply change the template of your existing AppVM.

Step 1: Shutdown the Qube

  1. Open Qubes Manager.

  2. Right-click on your existing online App qube (currently based on Debian or Fedora).

  3. Click Shutdown.

Step 2: Change the Template

  1. Right-click the shut down qube.

  2. Hover over the Templates menu.

  3. Select whonix-workstation-18 (recommended) or kicksecure-18 (only if Tor is not an option).

  4. Confirm the change if prompted.

Step 3: Start the Qube

  1. Right-click the qube and select Start/Resume.

Step 4: Update the Application Menu

The migration is immediate, but the default applications in your menu will still point to the old executables (e.g., thunar, xfce4-terminal, mousepad) which no longer exist in the new template. You must manually update the list of applications shown in your menu via the Qubes Manager.

  1. Open Qubes Manager.

  2. Right-click on your migrated app qube and click Settings.

  3. Go to the Applications tab.

  4. Remove Old Entries:

    • In the list on the right side ("Applications shown in App Menu"), locate and select the old applications:

      • Thunar (File Manager)

      • Xfce4-Terminal (Terminal)

      • Mousepad (Text Editor)

    • Click the Remove Selected button (or the back arrow sign <) to move them to the left side.

  5. Add New Entries:

    • In the list on the left side ("All Available Applications"), locate the new alternatives:

      • PCManFM-Qt (File Manager)

      • QTerminal (Terminal)

      • FeatherPad (Text Editor)

    • Select them and click the Add Selected button (or the forward arrow sign >) to move them to the right side.

  6. Click OK to save the changes.

Once updated, your workflow will be restored using the hardened tools native to your new template.

The Bigger Picture

This recommendation reinforces the core philosophy of Security by Architecture.

By segregating your online activities based on the threat model:

  • You prevent fingerprinting leaks that general-purpose OSes allow.

  • You ensure that Tor is the default for all online traffic (via Whonix).

  • You reserve Kicksecure only for the rare cases where Tor is not an option, avoiding the fallback to insecure Debian/Fedora.

Remember: The template defines the environment. If the environment leaks metadata, the network protection is undermined.

Stay vigilant. Stay compartmentalized.

3 views

Qubes OS Security Best Practices

Part 6 of 8

A chain is only as strong as its weakest link. No matter how robust your encryption or how sophisticated your firewall, a security system will eventually fail at its most vulnerable point. Traditional operating systems try to build an impenetrable fortress; when that wall cracks, the entire kingdom falls. Qubes OS takes a different approach: it accepts that compromise is inevitable and focuses on containment. This series moves beyond the basics of installation to explore the deep philosophy and practical hardening of Qubes OS. We operate on a fundamental truth: Qubes is not a magic wand. It cannot stop a user from making a mistake, but it can ensure that mistake doesn't destroy your entire digital life. What to expect: - The Reality Check: Understanding that security is inversely proportional to convenience. - Threat Modeling: How to tweak default configurations to match your specific risk profile. - Hardening Techniques: Step-by-step guides on identifying and strengthening the weak links in your digital defense. - Damage Control: Strategies to limit the blast radius of inevitable human error. This series is for those willing to sacrifice convenience for true security. If you are ready to stop hoping for perfection and start engineering resilience, welcome to the deep dive.

Up next

Security Best Practice: Shift All Online Activities to Disposables (Except E2EE Messengers)

In our last post, we fortified the foundation. We established that Whonix Workstation is the only acceptable baseline for online activity. We agreed that Debian and Fedora are unfit for web browsing.