Hackers brought down Malawi's immigration service's computer systems prompting the government to suspend issuance of passports.
President Lazarus Chakwera revealed details of the attack in an address to MPs during which he described the cyber attack as a "serious national security breach".
“I am duty bound to inform Malawians that the printing of passports has been suspended because the system at immigration was hacked by digital mercenaries who infiltrated the system,” he said on Wednesday.
He said the hackers had asked for a ransom but that the government would not agree to the demand.
"We are not in the business of appeasing criminals with public money nor are we in the business of negotiating with those who attack our country," Chakwera said.
Regain control
The government had since initiated measures to boost the cyber security of the immigration department's systems to regain control of the situation, the president added.
He directed the immigration department to find a temporary solution in three weeks time and resume printing of passports.
Investigations have also been launched to trace the origin of the attack.
Chakwera said The immi to resume printing within three weeks
➤Click here to follow our WhatsApp channel for more stories.