A Tails OS user wanting to tweak their setup!
Tails OS (The Amnesic Incognito Live System) is a security-focused, Debian-based Linux distribution that prioritizes anonymity, privacy, and security. It's great that you're cautious about installing additional software, as Tails is designed to be a self-contained, read-only system to minimize the attack surface.
Fastfetch is a neat tool, by the way – a command-line system information tool that fetches and displays various system details (OS, kernel, CPU, memory, etc.) in a visually appealing way.
Now, let's assess the safety of installing Fastfetch on Tails OS:
Risks and considerations:
- Additional package installation: Tails OS is designed to be a live system, where all changes are lost on reboot. By installing Fastfetch, you'll need to enable persistence (more on this below). This adds a writable overlay to your system, which slightly increases the attack surface.
- Third-party repository: Fastfetch is not part of the official Debian repositories (which Tails OS is based on). The developer maintains a personal PPA (Launchpad repository). While the developer seems trustworthy, adding a third-party repository expands your trust perimeter.
- Dependencies: Fastfetch relies on some additional packages (e.g.,
libc6, libgcc-s1, libstdc++6, zlib1g). These dependencies will be installed alongside Fastfetch, potentially introducing new vulnerabilities (although they're all quite common, mature packages).
- System modifications: The installation process will modify the file system (in the persistent storage area). This deviates from Tails' default read-only setup.
Mitigating factors:
- Fastfetch is a userland tool: It doesn't require elevated privileges (no setuid, no kernel modifications) and runs entirely in userspace.
- No network services exposed: Fastfetch doesn't listen on any network ports or expose any services that could be remotely exploited.
- Open-source and auditable: Fastfetch is open-source (on GitHub), allowing anyone to review the code for potential backdoors or vulnerabilities.
Installation steps with safety considerations:
If you still want to install Fastfetch, follow these steps to minimize risks:
1. Enable Persistence (if not already done):
* Reboot Tails OS.
* Create a Persistent Volume ( Settings > Persistent Volume).
* Set a strong password for the Persistent Volume (this encrypts the writable storage area).
* Only enable the "Persistent" option (no "APT Lists" or other features).
2. Add the Fastfetch repository (as amnesia user, in Terminal):
sudo apt install curl
curl -fsSL https://repo.chrv.be/deb/chrv.gpg | sudo gpg --dearmor -o /usr/share/keyrings/chrv-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/chrv-archive-keyring.gpg] https://repo.chrv.be/deb/ unstable main" | sudo tee /etc/apt/sources.list.d/fastfetch.list
Verify the key fingerprint: sudo gpg --show-keys /usr/share/keyrings/chrv-archive-keyring.gpg (compare with the dev's website).
3. Install Fastfetch:
sudo apt update
sudo apt install fastfetch
Post-install checks:
- Run
fastfetch to verify it's working as expected.
- Double-check that no unexpected services are listening (
sudo netstat -tulpn or ss -tulpn).
- Inspect the installed package files (
dpkg -L fastfetch).
Safety summary:
Installing Fastfetch on Tails OS increases the attack surface marginally:
- You've added a third-party repository (moderate risk).
- You've enabled Persistence (minor risk, but still a deviation from the default setup).
- You've introduced additional packages (low risk, as they're common dependencies).
However:
- Fastfetch is a read-only, userland tool with no network exposure.
- You've taken reasonable steps to verify the repository and package authenticity.
To stay safe:
- Keep Tails OS and Fastfetch up-to-date.
- Regularly inspect your Persistent Volume for unexpected changes (
sudo du -sh /live/persistence/TailsData_unlocked/, sudo find /live/persistence/TailsData_unlocked/ -type f -mtime -7).
- Use Fastfetch moderately (avoid running it over Tor or untrusted networks, as it displays system info).
- Consider uninstalling Fastfetch when you're done experimenting (remove the
fastfetch.list repo file and purge the package: sudo apt purge fastfetch).
By following these guidelines, you've minimized the risks associated with installing Fastfetch on Tails OS. Happy fetching!