Post-installation Security Advice
(Redirected from Swap)
Whonix ™ comes with many security features [archive]. Whonix ™ is Kicksecure ™ Security Hardened by default and also provides extensive Documentation including a Security Hardening Checklist. The more you know, the safer you can be.
This page provides security advice, steps that can be applied after installation of Whonix ™ for better security.
- 1 On Whonix-Gateway ™ and Whonix-Workstation ™
- 2 Network Time Syncing
- 3 Better Security
- 4 Appendix
- 5 Footnotes
On Whonix-Gateway ™ and Whonix-Workstation ™
Increase Virtual Machine RAM
- Whonix-Workstation ™: No changes required for most users.
- Whonix-Gateway ™: If you have enough RAM on the host, ideally users should increase the virtual RAM setting of Whonix-Gateway ™ to
2048MB RAM. 
- If this is not feasible, this this OK too. 
TODO: document how users can learn how much RAM different host operating systems Windows, Linux, macOS have.
Related: Low RAM Issues
- To add RAM in VirtualBox the VM must first be powered down.
After Whonix ™ has finished installing, immediately change the passwords for both the user
user and user
Regularly check for security updates and apply them in a timely fashion; see Operating System Updates.
Network Time Syncing
Follow the platform-specific recommendations below to avoid Tor connectivity problems and to limit possible adverse anonymity impacts.
To protect against time zone leaks, the system clock inside Whonix ™ is set to UTC. This means it may be a few hours before or ahead of your host system clock. Do not change this setting!
If the host clock (in UTC!  ) is more than 1 hour in the past or more than 3 hours in the future, Tor cannot connect. In this case, manually fix the host clock by right-clicking on it, and also check for an empty battery. Then, power off and power on the Whonix-Gateway ™ (
sys-whonix) and Tor should be able to reconnect. If the host clock is grossly inaccurate, the user might experience problems when updating the host operating system, so periodically check it is (roughly) correct.
Non-Qubes-Whonix: It is strongly discouraged to use the pause / suspend / save / hibernate features.
Qubes-Whonix ™: It is strongly discouraged to use the pause feature of Qube Manager, but it is is safe to use the suspend or hibernate feature of dom0.
If you are interested in using the pause / suspend / save / hibernate features, please click the expand button for further instructions.
- It is strongly discouraged to pause / suspend / save / hibernate the Whonix-Gateway ™, because it is difficult to restore the clock after resume. 
- It is strongly discouraged to pause / suspend / save / hibernate the Whonix-Workstation ™. If this advice is ignored, restart sdwdate after resume.
- It is strongly discouraged to pause Whonix-Gateway ™ (
sys-whonix) using the pause feature of Qube Manager, because it is difficult to restore the clock after resume. 
- It is strongly discouraged to pause Whonix-Workstation ™ (
anon-whonix) using the pause feature of Qube Manager. If this advice is ignored, restart sdwdate after resume. 
- It is safe to use the suspend or hibernate feature of dom0 and a manual restart of sdwdate is unnecessary. 
Start Menu →
Time Synchronization Monitor (sdwdate-gui) →
Or in a terminal. 
This chapter is aimed at newcomers and only provides a short and simple overview for basic protection. Anonymity and platform security can be improved by following recommendations outlined in the Security Guide and Advanced Security Guide sections, along with the Network Time Synchronization page.
How do I Check the Current Whonix ™ Version?
Open a terminal.
Open a terminal.
- Qubes has dynamic RAM assignment.
- Higher performance during upgrades, lower likelihood of issues [archive].
- Non-ideal but swap-file-creator [archive] will create an encrypted swap file and system is configured to swap as little as possible [archive].
- By default, Qubes does not require a password for superuser access.
- https://www.qubes-os.org/doc/vm-sudo/ [archive]
- Type the command in the terminal and press
To view the system time in UTC on Linux platforms, run.
- TODO: Show desktop clock in local time; keep system in UTC [archive]
- This is because the clock will be incorrect after system resume. A correct clock is important for anonymity (see Dev/TimeSync to learn more).
Qubes does not dispatch the
/etc/qubes/suspend-pre.dhooks upon pause / resume using Qube Manager.
- https://github.com/QubesOS/qubes-issues/issues/1764 [archive]
- This process was simplified in Whonix ™ 15 and only requires one command, instead of two, see: https://github.com/Whonix/sdwdate/blob/master/usr/lib/sdwdate/restart_fresh [archive]
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.
Copyright (C) 2012 - 2020 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?)