Hacking

Hacking NTP Servers from Long-Distance with low cost devices

A couple of experts demonstrated how to wirelessly change the time on NTP servers over long distances using an inexpensive equipment.

The HACK IN THE BOX conference is a hotbed of interesting hacks,  today I will present you the results of a research conducted by the researchers Yuwei Zheng and Haoqi Shan from Qihoo360 firm that explained how a remote attacker can shift time on a stratum 1 NTP server by sending it forged radio time signals.

The NTP is one of the most important protocols on the Internet, it is used to synchronize the time between computers. The attack on an NTP server could have serious consequences, it can misalign machines causing malfunctions, it can allow the authentication of entities using expired credential or digital certificates.

The Network Time Protocol is a hierarchical protocol that is divided into stratum which define the distance from the reference clock. The stratum 0 is represented by reference clocks (i.e. atomic, GPS and radio clocks (JJY, WWVB, DCF77 and WWVH)), the machines on the other stratum are synchronized with the previous stratum and also with systems on the same stratum to ensure stability and robustness.

The security duo demonstrated that it is possible to wirelessly change the time on network time protocol (NTP) servers over long distances using a low-cost equipment.

The researchers explained that in order to successfully modify the time on the NTP server it is necessary to make small modifications of up to 1,000 seconds at a time, in this way it is possible to avoid server crashes.

“• Can we inject any time ? The time offset must be less than 4 hours. • Inject a time that is one hour slow than real time Server crashed !!! “ states the duo in the presentation.

“Can we inject any time ? If the time offset is more than 1000s, the server will shutdown.”

“• Can we inject any time ? the offset > 1000s, require manually adjust”

The researchers have used off-the-shelf components to build proof-of-concept (PoC) equipment that they have used to remotely target the NTP servers.

The custom-made system is able to emit fake GPS and JJY signals to interfere with the NTP servers. In their tests, the security duo targeted an NTP server that they had set up to provide the time to a mobile device.

The attack is very dangerous, an attacker can launch a GPS attack from a distance up to 100 meters, the same distance can be increased by amplifying the signals and reaching a distance of up to 2 km.

Almost any NTP servers leveraging on GPS as a reference clock is equipped with a GPS antenna that could be easily targeted by hackers.

The researchers confirmed that the attacks work against NTP systems that are widely deployed in Europe, North America, and China.

Let’s hope vendors of NTP servers will implement security protections against these types of attacks.

If you appreciate my effort in spreading cyber security awareness, please vote for Security Affairs as best European Security Blog. Vote SecurityAffairs in every section it is reported. I’m one of the finalists and I want to demonstrate that the Security Affairs community a great reality.

https://www.surveymonkey.com/r/secbloggerwards2016

Thank you

Pierluigi

[adrotate banner=”9″]

Pierluigi Paganini

(Security Affairs – NTP servers, hacking)

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

U.S. CISA adds a Fortinet flaw to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a Fortinet vulnerability to its Known Exploited Vulnerabilities…

3 hours ago

Kosovo authorities extradited admin of the cybercrime marketplace BlackDB.cc

Kosovar citizen extradited to the US for running the cybercrime marketplace BlackDB.cc appeared in federal…

4 hours ago

U.S. CISA adds Microsoft Windows flaws to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds Microsoft Windows flaws to its Known Exploited…

15 hours ago

Ivanti fixed two EPMM flaws exploited in limited attacks

Ivanti addressed two Endpoint Manager Mobile (EPMM) software vulnerabilities that have been exploited in limited…

17 hours ago

Microsoft Patch Tuesday security updates for May 2025 fixed 5 actively exploited zero-days

Microsoft Patch Tuesday security updates for May 2025 addressed 75 security flaws across multiple products, including…

1 day ago

Fortinet fixed actively exploited FortiVoice zero-day<gwmw style="display:none;"></gwmw><gwmw style="display:none;"></gwmw>

Fortinet fixed a critical remote code execution zero-day vulnerability actively exploited in attacks targeting FortiVoice…

1 day ago