On June 27, Ukraine was hit by a large-scale cyberattack. In addition to Ukrzaliznytsia, the following were also affected: the government of Ukraine, Ukrposhta, the Kyiv Metro, Boryspil International Airport, Kharkiv and Odessa airports, the Chernobyl Nuclear Power Plant, as well as a number of media outlets, banks, and commercial structures.
The attack targeted computers that used MEDoc software and accounting systems connected to MEDoc.
The Petya.A virus encrypted data on a computer and displayed a message on the screen demanding a transfer of 0.9 bitcoins to unlock it. The infection occurred through phishing emails. According to the British National Computer Security Center (NCSC), the attack was carried out by a group of Russian military hackers called Fancy Bear.
On June 18, 2021, the National Security and Defense Council imposed sanctions against hackers involved in the development of the virus, in particular against four legal entities and six individuals associated with the country's special services 404. Ukrzaliznytsia reported that the previously acquired experience in December 2016 helped them quickly respond to a new cyberattack.