Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

10/22/2015
03:50 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Undermining Security By Attacking Computer Clocks

A team of researchers at Boston University has developed several attacks against the Network Time Protocol that is used to synchronize internal computer clocks on the Internet

Researchers at Boston University have uncovered several vulnerabilities in the Network Time Protocol (NTP) that is used to synchronize the internal clocks on millions of computers worldwide.

The vulnerabilities, now patched, give attackers multiple ways to change the clock settings on systems that use NTP so as to seriously disrupt applications and services that are dependent on accurate time to function securely.

NTP has been used since 1985 to synchronize time between systems that communicate with each other over a network. With NTP, a global network of systems, serve as the primary timekeepers on the Internet. Tens of millions of client systems query these servers on a periodic basis to ensure that their internal clocks are in synch with the time maintained by the primary servers.

In a paper released Tuesday, researchers Aanchal Malhotra, Isaac Cohen, Erik Brakke, and Sharon Goldberg described several scenarios in which an attacker could take advantage of vulnerabilities in NTP to alter the clocks on client systems relatively easily and with potentially severe consequences.

For example, setting the clock back on a client to a previous point in time could cause the system to accept rogue Transport Layer Security (TLS) certificates that may have been already revoked, thereby giving attackers a way to decrypt encrypted communications.

Similarly, an NTP attack sending a primary server forwards in time could cause timestamps on DNSSEC cryptographic keys and signatures to expire, causing the server and all its clients to lose connectivity to domains secured with DNSSEC, the researchers said in their paper.

As an example of the problems that can result from incorrect time information, the paper highlights one incident in November 2012 when NTP servers at USNO.NAVY.MIL incorrectly started listing times from the year 2000, causing outages of Active Directory Servers, authentication systems and routers.

The BU research paper outlines four methods that attackers can employ to compromise NTP.

One of the methods is to disable NTP on a client system by taking advantage of a safety mechanism in NTP called the Kiss of Death (KoD) packet, the researchers said.

The mechanism is normally used when a client system begins sending too many queries to the NTP server, either because of a malfunction or because it has been compromised. In such situations the KoD packet is used to stop the client from querying the server for a period of time.

According to the researchers, some older versions of NTP make it easy for an attacker to spoof KoD packets so they appear to be from a legitimate NTP server and then send them to a client system. This can cause the victim system to stop querying its NTP servers for days or even years, throwing off the internal clock seriously in the process. 

Only a few spoofed KoD packets are needed for the attack to work so it is relatively easy for threat actors to target systems in bulk by adapting network scanning tools to send the spoofed KoD packets, the researchers noted.

A second attack method described in the paper also takes advantage of the KoD mechanism. But in this case, attackers send NTP servers a high volume of queries that are spoofed to look like they came from a particular client system. This prompts the server to issue a KoD packet effectively blocking the client system from sending further queries for sometime.

One of the other attack methods involves hijacking traffic to NTP servers while the fourth method described in the report takes advantage of packet fragmentation in iPV4 to shift time on client systems.

The attacks are mainly possible because of poor authentication of NTP messages, the researchers said in their report. Though mechanisms exist to cryptographically authenticate NTP messages that are sent between clients and servers, they are rarely implemented. As a result, it is trivially easy with some versions of NTP to spoof the messages, Malhotra and the other researchers said.

The researchers have listed fixes and workarounds for each of the four attack methods described in their paper.

Black Hat Europe returns to the beautiful city of Amsterdam, Netherlands November 12 & 13, 2015. Click here for more information and to register.

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
RyanSepe
50%
50%
RyanSepe,
User Rank: Ninja
10/23/2015 | 1:09:30 PM
Fingerprinting NTP
Interesting. Typically, are these KoD and malformed packets sent on a large scale basis using zombie machines or are these more of targeted attack after an NTP server has been fingerprinted?
How Attackers Infiltrate the Supply Chain & What to Do About It
Shay Nahari, Head of Red-Team Services at CyberArk,  7/16/2019
US Mayors Commit to Just Saying No to Ransomware
Robert Lemos, Contributing Writer,  7/16/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Building and Managing an IT Security Operations Program
As cyber threats grow, many organizations are building security operations centers (SOCs) to improve their defenses. In this Tech Digest you will learn tips on how to get the most out of a SOC in your organization - and what to do if you can't afford to build one.
Flash Poll
The State of IT Operations and Cybersecurity Operations
The State of IT Operations and Cybersecurity Operations
Your enterprise's cyber risk may depend upon the relationship between the IT team and the security team. Heres some insight on what's working and what isn't in the data center.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-14230
PUBLISHED: 2019-07-21
An issue was discovered in the Viral Quiz Maker - OnionBuzz plugin before 1.2.7 for WordPress. One could exploit the id parameter in the set_count ajax nopriv handler due to there being no sanitization prior to use in a SQL query in saveQuestionVote. This allows an unauthenticated/unprivileged user ...
CVE-2019-14231
PUBLISHED: 2019-07-21
An issue was discovered in the Viral Quiz Maker - OnionBuzz plugin before 1.2.2 for WordPress. One could exploit the points parameter in the ob_get_results ajax nopriv handler due to there being no sanitization prior to use in a SQL query in getResultByPointsTrivia. This allows an unauthenticated/un...
CVE-2019-14207
PUBLISHED: 2019-07-21
An issue was discovered in Foxit PhantomPDF before 8.3.11. The application could crash when calling the clone function due to an endless loop resulting from confusing relationships between a child and parent object (caused by an append error).
CVE-2019-14208
PUBLISHED: 2019-07-21
An issue was discovered in Foxit PhantomPDF before 8.3.10. The application could be exposed to a NULL pointer dereference and crash when getting a PDF object from a document, or parsing a certain portfolio that contains a null dictionary.
CVE-2019-14209
PUBLISHED: 2019-07-21
An issue was discovered in Foxit PhantomPDF before 8.3.10. The application could be exposed to Heap Corruption due to data desynchrony when adding AcroForm.