Boot Clock Randomization

From Kicksecure
Jump to navigation Jump to search

Randomizes clock when systems boots.

Randomizes clock at boot time. Moves clock a few seconds and nanoseconds to past or future to prevent time based fingerprinting / linkablity.


The TimeSync page notes:

Using Boot Clock Randomization, i.e. after boot, the clock is set randomly between 0 and 180 seconds into the past or future. This is useful to enforce the design goal, that the host clock and VM clock should always slightly differ. It is also useful to obfuscate the clock when sdwdate itself is running, because naturally at this time, sdwdate hasn't finished. sdwdate runs after booting.

By randomly moving the system clock a few seconds (and nanseconds) in the past or future during boot, this enforces the design goal of a slightly different host clock and any VMs clock, even before secure timesync has succeeded. This prevents time-based fingerprinting and linkability issues, thereby improving security and privacy. [1]

For technical discussion on the Boot Clock Randomization design, see [2]

Log Inspection[edit]

Open file /var/log/bootclockrandomization.log in a text editor of your choice as a regular, non-root user.

If you are using a graphical environment, run. mousepad /var/log/bootclockrandomization.log

If you are using a terminal, run. nano /var/log/bootclockrandomization.log


Info Disabling of Boot Clock Randomization is discouraged because it is not usually required. However, it may be useful for offline (vault) VMs.

Run the following command. Note:

  • Qubes: Use a StandaloneVM or a separate Template.
  • Non-Qubes: No extra steps are required.

sudo systemctl mask bootclockrandomization

Boot Clock Randomization will no longer occur after reboot.

See Also[edit]


  2. Notably, one recent change is the 0-5 second time window is no longer excluded in the process, as it was found to aid fingerprinting.

Unfinished: This wiki is a work in progress. Please do not report broken links until this notice is removed, use Search Engines First and contribute improving this wiki.

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!