Earlier quoted context omitted.
It's already discussed in the article -- because to determine that weather.gov connection is sound and not hacked, you first need to check its certificate expiration date. Chicken/Egg problem.
That's the point, if you can't trust the connection, stop trying to come up with more complicated ways to use the untrustable connection and accept that there is no safe way to update time.
Windows feature that resets system clocks based on random data is wreaking havoc
141–150 of 169 posts
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#142I think MS should improve implementation in two ways: - ask known trusted sources (like their own servers) for SSL timestamp - use that timestamp only internally (as opposed to system-wide) to acquire valid NTP timestamp
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#143Earlier quoted context omitted.
Computers have a lot more temperature variations than a typical quartz watch. In the absence of temperature correction, they'll be less accurate.
Enter the temperature compensated crystal oscillator (TXCO). A few $ at most should get you one. This shouldn't be overkill for a server dedicated to timekeeping on a large company network, right? In a datacenter one could even go for a matchbox sized atomic clock. Last I checked (years ago) such a miracle device could be had for ~$1500. Then: how often does atomic clock (or even TXCO) fail, in practice? My guess: on…
Most atomic clocks will have 20+ year lifetimes. OCXOs age out a good bit faster, but they're rather cheap (<$200 for ones good enough to provide holdover for a GPS module). TCXOs don't age as quickly (they're not literally in an oven), I'm not sure how long they can be expected to last.
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#144I wonder if you could use this 'feature' to exploit a system? Set up a bunch of servers all over the internet with innocuous web pages. Get all of them to include in their SSL headers the exact identical timestamp of July 5th 1998. Then get the user to connect to all those domains (eg. with a page with a bunch of iframes). The Secure Time service will see that lots of remote servers all agree with high confidence tha…
If you're a big enough customer, and you contrive a way to rely on this bug, then you've hacked the Microsoft backwards compatibility commitment. They'll have to preserve the functionality in perpetuum.
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#145Windows Time bullshit was one of the most annoying things I dealt with during my years as an IT guy. Registering and unregistering w32time, trying different NTP servers. Trying to figure out why domain systems werent getting their time from the DC. It always felt so... stupid. Surely having the correct time on a device isnt that complicated. Turns out, its not, unless you're on Windows. Somewhat ironic that these day…
I have a Windows work laptop that sometimes drifts up to 10 minutes off the correct time despite time/date settings saying it has synced every day. It won't even let me correct the time because of an enterprise policy requiring it to use network time. Then one day it will be back to the correct time and the drift cycle begins anew.
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#146Earlier quoted context omitted.
There are public users and owner users. Specifically, you don't trust input from public users. You absolutely should trust input from owner users, or if you won't by default for some reason, you absolutely should give them the option to do so. Primarily, you should be giving them the choice as to what their system will do when it cannot reliably determine the actual time. The alternative is to pretend that you can so…
If your goal is to phase out local accounts and force microsoft.com logins as part of the computer setup, being able to trust your certificates seems like a prerequisite to being able to trust your users. And the correct time is a prerequisite to trusting your certificates.
There's no way for the server to accurately determine the client's hardware clock, barring some sort of user-hostile hardware clock with a nuclear battery or hardened GPS or radio time receiver or something.
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#147Windows Time bullshit was one of the most annoying things I dealt with during my years as an IT guy. Registering and unregistering w32time, trying different NTP servers. Trying to figure out why domain systems werent getting their time from the DC. It always felt so... stupid. Surely having the correct time on a device isnt that complicated. Turns out, its not, unless you're on Windows. Somewhat ironic that these day…
I have a Windows work laptop that sometimes drifts up to 10 minutes off the correct time despite time/date settings saying it has synced every day. It won't even let me correct the time because of an enterprise policy requiring it to use network time. Then one day it will be back to the correct time and the drift cycle begins anew.
(A smarter time daemon like chrony would've kept track of the RTC drift.)
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#148Earlier quoted context omitted.
From the article > “The false assumption is that most SSL implementations return the server time,” Simen said. “This was probably true in a Microsoft-only ecosystem back when they implemented it, but at that time [when STS was introduced], OpenSSL was already sending random data instead.” And they link the reason for sending random data at https://mailarchive.ietf.org/arch/msg/tls/_clS-TIIlZUcid_2S4... The post start…
Yes, I read that. I think that if you're making mission-critical systems rely on nonguaranteed behavior from systems you don't control, then it's a Bad Idea.
https://www.ietf.org/archive/id/draft-mathewson-no-gmtunixti...
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#149Earlier quoted context omitted.
In 1996 I was supporting a small dialup operation, and one of our customers was having non-stop problems connecting via modem. Their plant was 2 hours away, but I was driving past there to visit a friend, so I made arrangements to drop by and investigate. For reasons unknown, most of their Windows desktops were configured to a year in the 21st century, probably 2096 instead of 1996 but it’s been a while. Wish I knew…
A lot of shareware back then stopped working after a certain # of calendar days, which it used windows to figure out. So I always had my date set far in the future.
Re: Windows feature that resets system clocks based on random data is wreaking havoc
#150Earlier quoted context omitted.
It does. As long as you carefully select HW.
I said 2023. Not 2013.
I’ve been running Linux since 1990s. It’s best it ever was with the HW support, but saying it’s not an issue is just a straight up lie.