Researchers warn computer clocks can be easily scrambled

Researchers from Boston University said on Wednesday they've found several flaws in NTP that could undermine encrypted communications and even jam up bitcoin transactions.

In 2012, two servers run by the U.S. Navy rolled back their clocks 12 years, deciding it was the year 2000.

The servers were very important: they're part of a worldwide network that helps computers keep the right time using the Network Time Protocol (NTP).

Computers that checked in with the Navy's servers and adjusted their clocks accordingly had a variety of problems with their phones systems, routers and authentication systems.

The incident underscored the serious problems that can occur when using NTP, one of the oldest Internet protocols published in 1985.

The protocol is fairly robust, but researchers from Boston University said on Wednesday they've found several flaws in NTP that could undermine encrypted communications and even jam up bitcoin transactions.

One of the problems they found is that it's possible for an attacker to cause an organization's servers to stopping checking the time altogether.

NTP has a rate-limiting mechanism, nicknamed the "Kiss O' Death" packet, that will stop a computer from repeatedly querying the time in case due to a technical problem. When that packet is sent, systems may stop querying the time for days or years, according to a summary of the research.

They found a big issue: it's possible for an attacker to spoof a Kiss O'Death packet, making it appear to have come from a system experiencing trouble when it's actually fine.

The researchers didn't discover the Kiss O'Death packet by hunting through code, said Sharon Goldberg, an associate professor at Boston University's computer science department. 

"We discovered the KOD vulnerability by just reading the specifications of the [NTP] protocol," she said in a phone interview on Wednesday. "We just saw this packet, and we were like 'Really? What can you do with this thing'?"

With just one computer, the researchers suspect such a spoofing attack could be conducted on a large scale across NTP clients found using network scanners such as nmap and zmap.

The spoofing is possible in part because most NTP servers don't use encryption when talking to their clients. 

The connections are unencrypted because NTP doesn't have a key exchange protocol as refined as SSL/TLS (Secure Socket Layer/Transport Layer Security), Goldberg said. The encryption keys have to manually programmed into NTP devices, which most organizations don't bother to do, she said.

When a computer's clock goes out of sync, it can have wide-ranging effects. 

If a computer's clock is rolled back, it could mean an expired SSL/TLS certificate could be accepted as valid for which the attacker has the decryption key, according to their technical paper.

With the virtual currency bitcoin, an inaccurate clock could cause the bitcoin client software to reject what is a legitimate transaction, wasting computational time, they wrote.

Two other flaws were also found. In a type of denial-of-service attack, an attacker could spoof Kiss O'Death packets to look like they're coming from an NTP client. The time server then tries to slow down those queries, sending a response that causes the NTP client to stop updating its clock.

The third flaw could allow an attacker who interfering with unencrypted NTP traffic to shift a computer's clock forward or backwards on reboot.

Software fixes for the problems are available now, as the researchers privately disclosed their findings in August to the Network Time Foundation, and vendors including Red Hat and Cisco, which have patched their NTP implementations.

The latest version of NTP released on Tuesday is ntp-4.2.8p4, and administrators are advised to patch as soon as possible.

Goldberg said because NTP is viewed as robust, it hardly gets much attention these days. Their research showed that one of the most widely used versions of NPT is 4.1.1, which is more than a decade old. 

"What that means is you've have these old clients, just sitting there," she said.

The research paper was co-authored by Aanchal Malhotra, Isaac E. Cohen and Erik Brakke, all of Boston University. 

Join the Good Gear Guide newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jeremy Kirk

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?