Ukrainian police have seized the servers of an accounting software firm suspected of spreading a malware virus that crippled computer systems at major companies around the world last week, a senior police official said.
The head of Ukraine's cyber police, Serhiy Demedyuk, said the servers of MeDoc - Ukraine's most popular accounting software - had been seized as part of an investigation into the attack.
Though they are still trying to establish who was behind last week's attack, Ukrainian intelligence officials and security firms have said some of the initial infections were spread via a malicious update issued by MeDoc, charges the company's owners deny.
The owners were not immediately available for comment.
Premium Service, which says it is an official dealer of MeDoc's software, wrote a post on MeDoc's Facebook page saying masked men were searching MeDoc's offices and the software firm's servers and services were down.
Premium Service could not be reached for further comment.
Cyber police spokeswoman Yulia Kvitko said investigative actions were continuing at MeDoc's offices, adding that further comment would be made on Wednesday.
The police move came after cyber security investigators unearthed further evidence that the attack had been planned months in advance by highly-skilled hackers, who they said had exploited a vulnerability into the MEDoc progam.
Ukraine has also taken steps to extend its state tax deadline by one month to help businesses hit by the malware assault.
Researchers at Slovakian security software firm ESET said they had found a backdoor written into some of MeDoc's software updates, likely with access to the company's source code, which allowed hackers to enter companies' systems undetected.
"Very stealthy and cunning backdoor"
"We identified a very stealthy and cunning backdoor that was injected by attackers into one of MeDoc's legitimate modules," ESET senior malware researcher Anton Cherepanov said in a technical note.
"It seems very unlikely that attackers could do this without access to MeDoc's source code.
"This was a thoroughly well-planned and well-executed operation."
ESET said at least three MeDoc updates had been issued with the backdoor vulnerability, and the first one was sent to clients on April 14, more than two months before the attack.
ESET said the hackers likely had access to MeDoc's source code since the beginning of the year, and the detailed preparation before the attack was testament to the advanced nature of their operation.
Oleg Derevianko, board chairman at Ukrainian cyber security firm ISSP, said an update issued by MeDoc in April delivered a virus to the company's clients which instructed computers to download 350 megabytes of data from an unknown source on the internet.
The virus then exported 35 megabytes of company data to the hackers, he said.
"With this 35 megabytes you can exfiltrate anything - emails from all of the banks, user accounts, passwords, anything."
Little known outside Ukrainian accounting circles, MeDoc is used by around 80 percent of companies in Ukraine. The software allows its 400,000 clients to send and collaborate on financial documents between internal departments, as well as file them with the Ukrainian state tax service.
Ukraine's government said it would submit a draft law to parliament for the country's tax deadline to be extended to July 15, and waive fines for companies who missed the previous June 13 cutoff because of the attack.
"We had progra failures in connection to the cyber attack, which meant that businesses were unable to submit account reports on time," Prime Minister Volodymyr Groysman told a cabinet meeting.
Separately, Ukraine's security service, the SBU, said it had discussed cyber defence with NATO officials and had received equipment from the alliance to better combat future cyber attacks. Ukraine is not in NATO but is seeking closer ties.
On Saturday Ukrainian intelligence officials accused Russian security services of being behind the attack, and cyber security researchers linked it to a suspected Russian group who attacked the Ukrainian power grid in December 2016.
A Kremlin spokesman dismissed charges of Russian involvement as "unfounded blanket accusations".
Derevianko said the hacker's activity in April and reported access to MeDoc's source code showed Ukraine's computer networks had already been compromised and the intruders were still operating inside them.
"It definitely tells us about the advanced capabilities of the adversaries," he said. "I don't think any additional evidence is needed to attribute this to a nation-state attack."