Re:Windows feature that resets system clocks based on random...
by binkHN on Wednesday August 16, 2023 @02:48PM
(#37151796)
The article doesn’t talk about a fix—scary. I know OpenBSD uses a similar SSL-based method for time keeping on startup, but I’ve never experienced an issue like this.
[ Parent
| on HN ]
Re:Windows feature that resets system clocks based on random...
by tedunangst on Wednesday August 16, 2023 @03:01PM
(#37151973)
Openbsd does an https (with expiry checks disabled) GET to google.com (or another server) and uses the Date header in the response.
Re:Windows feature that resets system clocks based on random...
by JohnFen on Wednesday August 16, 2023 @03:51PM
(#37152730)
If it's assuming that it can make an internet connection, why does it do that rather than NTP?
Re:Windows feature that resets system clocks based on random...
by somat on Wednesday August 16, 2023 @04:07PM
(#37152960)
It is a sanity check to protect against malicious ntp actors.
Re:Windows feature that resets system clocks based on random...
by toast0 on Wednesday August 16, 2023 @03:59PM
(#37152852)
NTP is trivially MITM. Secure NTP is basically not deployed anywhere. Someone with a google.com cert that's valid other than expiration is probably google and probably has a working clock.
Re:Windows feature that resets system clocks based on random...
by anthk on Wednesday August 16, 2023 @04:03PM
(#37152908)
You can always use a gpsd(4) compatible USB dongle as the time source.
Re:Windows feature that resets system clocks based on random...
by toast0 on Wednesday August 16, 2023 @04:13PM
(#37153060)
Sure, if you have such a dongle, and it has sufficient view of the sky. Adding a 'free' https based sanity check on top of NTP seems like a good balance of cost vs reward.
gps (and friends) is a nice way to get access to a very accurate timesource, but it's not always worth the cost.
Re:Windows feature that resets system clocks based on random...
by JohnFen on Wednesday August 16, 2023 @04:09PM
(#37152994)
Or run their own NTP server. That's what I do in my home network.
Re:Windows feature that resets system clocks based on random...
by labawi on Sunday August 20, 2023 @02:01PM
(#37201495)
GPS doesn't send full time. It wraps every 1024 weeks, or about 20 years, hence you need a (very) rough basis in case the system is over 20 years old.
Re:Windows feature that resets system clocks based on random...
by simendsjo on Wednesday August 16, 2023 @03:53PM
(#37152755)
It's easy to turn off the feature, and its described in their original blog post. The article doesn't mention it directly though.
Re:Windows feature that resets system clocks based on random...
by newman314 on Wednesday August 16, 2023 @05:06PM
(#37153847)
The fix is to disable.
Here's the PowerShell cmd to do so: Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\Config" -Name "UtilizeSslTimeData" -Type DWord -Value 0