A message was left on the site - www.galle.dist.gov.lk with the hackers identifying themselves as a Pakistani pro-Islam group named Muhammad Bilal.
Hailing Islam, Muslims, Pakistan and its military as well as the country's SIS, the message also stated that Kashmir, Syria and Palestine should be made independent.
Meanwhile, the Sri Lanka Computer Emergency Response Team has said they are yet to receive reports of local computer systems being affected by the recent ransomware virus.
Chief Information Security Engineer Roshan Chandraguptha told media that it is essential to follow precautionary measures to avoid such attack.
“So far we haven’t received any reports of an infected computer in Sri Lanka. It has so far no effect on the financial system either,” Chandraguptha said.
“Updating Windows is the best way to avoid this. People can report to us, if there is a known attack of ransomware virus.”
Due to Vesak holidays, computer systems in the private and public sector were mostly not used during the past few days reducing risk of infection with the virus.
Sri Lanka Computer Emergency Readiness Team however informed the public to be on high level alert for this malicious software.
Software security companies said the ransomware worm called “WannaCry” has infected computer systems in over 100 countries with Russia, Ukraine, and Taiwan being the top targets, since Friday.
WannaCry is a form of ransomware that locks up files on a computer and encrypts them in a way that cannot access them anymore.
It targets Microsoft’s widely used Windows operating system including Windows XP, Windows Vista, Windows 7, Windows 8 and Windows 10 systems.
On March 14, Microsoft released a security update to patch this vulnerability and protect customers.