The hacking took place when the Cabinet secretaries of eight SAARC countries are in Dhaka to attend a two-day meeting.
Cabinet Division Assistant System Analyst Golam Mostofa around 8pm told bdnews24.com repair works were already underway and the site would be restored soon.
The site was seen working properly around 8:10pm.
The hackers identified themselves as ‘Black Dragon (Indian Hackers Online Squad)’ in a message left on the website (https://cabinet.gov.bd/).
The message read: "LOVE TO ALL INDIAN HACKERS OUT THERE."
"It’s a Warning to Bangladeshi Hackers, Stop Defacing Indian sites. We Don't Have a Fight with you But if you Don't stop then get ready for #OP Bangladesh," it said addressing hackers from Bangladesh.