whonixcheck Hardening
From Whonix
Rationale[edit]
Although whonixcheck already has apparmor and systemd hardening, some marginal security and anonymity benefits are gained by reducing: the number of network connections, the amount of code running, and unnecessary functionality. This is not the default configuration, since that would come at the cost of decreased usability for the entire Whonix ™ population.
Hardening Steps[edit]
Prevent Autostart[edit]
To prevent whonixcheck from automatically starting, run.
sudo systemctl mask whonixcheck
sudo systemctl mask systemcheck
Prevent Whonix ™ Warrant Canary Check and User Census Counting[edit]
See whonixcheck wiki page chapters
Prevent Polluting TransPort[edit]
Only useful when running
whonixcheck --leak-tests
. On the other hand, running whonixcheck --leak-tests
with the Tor TransPort
test disabled makes little sense. In that case it would would be useful as a Tor SocksPort
connectivity test.
Deactivate the TransPort
Test for better Stream Isolation.
Open file /etc/whonix.d/50_user.conf
in an editor with root rights.
(Qubes-Whonix ™: In TemplateVM)
This box uses sudoedit
for better security [archive]. This is an example and other tools could also achieve the same goal. If this example does not work for you or if you are not using Whonix, please refer to this link.
sudoedit /etc/whonix.d/50_user.conf
Add the following content.
WHONIXCHECK_DISABLE_TRANS_PORT_TEST="1"
Save.
Prevent Running apt-get[edit]
This prevents the running of apt-get by whonixcheck.
Open file /etc/whonix.d/50_user.conf
in an editor with root rights.
(Qubes-Whonix ™: In TemplateVM)
This box uses sudoedit
for better security [archive]. This is an example and other tools could also achieve the same goal. If this example does not work for you or if you are not using Whonix, please refer to this link.
sudoedit /etc/whonix.d/50_user.conf
Add the following content.
whonixcheck_skip_functions+=" check_operating_system "
Prevent torproject.org Connections[edit]
Default. No action required.
whonixcheck would only connect to torproject.org
if the user would manually run whonixcheck --leak-tests
.
Footnotes[edit]
- ↑ In near future.
Whonix ™ is Supported by Evolution Host DDoS Protected VPS. Stay private and get your VPS with Bitcoin or Monero.
Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki
We are looking for contributors and developers.
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.
Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)
The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.
Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].
Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.
By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint, Contact.