Computers at the Rockport Town Office are back up and running after a hackers’ virus invaded its computer servers Friday, encrypting the office’s data and demanding ransom payment.

No data were stolen from the servers, according to Rockport Town Manager Rick Bates. The town’s IT specialist was able to rebuild the system and retrieve the majority of data that had been encrypted.

[How local Maine police departments let their cyber-guard down and paid criminals]

Town employees noticed Friday afternoon that they were being locked out of files in the office’s system. The IT specialist was then called to shut down the office’s computer servers.

Bates said the IT specialist worked throughout the night Friday and for the majority of the long weekend to rebuild the system and retrieve all but a day’s worth of data. The town office has handwritten copies of the lost data, which will need to be re-entered into the system.

[Criminals increasingly hold government computers for ransom]

The ransom request amounted to about $1,000, Bates said. The ransom requested that payment be made in Bitcoin, a digital currency. Bates said they were going to pay the ransom to regain access to the encrypted files, but the IT specialist was able to rebuild the system, so that did not happen.

After contacting the company that provides internet security for the town office, Bates said he was told similar viruses encrypting files and demanding ransom had been reported across the country.

Follow the Bangor Daily News on Facebook for the latest Maine news.