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

FBI chief says China is preparing to attack US critical infrastructure

China-linked threat actors are preparing cyber attacks against U.S. critical infrastructure warned FBI Director Christopher…

5 hours ago

United Nations Development Programme (UNDP) investigates data breach

The United Nations Development Programme (UNDP) has initiated an investigation into an alleged ransomware attack…

7 hours ago

FIN7 targeted a large U.S. carmaker with phishing attacks

BlackBerry reported that the financially motivated group FIN7 targeted the IT department of a large…

19 hours ago

Law enforcement operation dismantled phishing-as-a-service platform LabHost

An international law enforcement operation led to the disruption of the prominent phishing-as-a-service platform LabHost.…

24 hours ago

Previously unknown Kapeka backdoor linked to Russian Sandworm APT

Russia-linked APT Sandworm employed a previously undocumented backdoor called Kapeka in attacks against Eastern Europe since…

1 day ago

Cisco warns of a command injection escalation flaw in its IMC. PoC publicly available

Cisco has addressed a high-severity vulnerability in its Integrated Management Controller (IMC) for which publicly…

1 day ago

This website uses cookies.