A hacker from the Ghost Hunters group stole the personal data of 1.2 million residents and civil servants in 82 Flemish municipalities. He left the technical work to the Chinese AI model DeepSeek.
A hacker linked to the cybercriminal group Ghost Hunters has stolen the personal data of residents and civil servants in 82 Flemish municipalities. Together, those municipalities have around 1.2 million residents. This emerges from research by the Belgian company Secutec and SOCRadar, an international company specialised in threat intelligence. According to the researchers, Ghost Hunters is also known as APT90. The campaign ran between 6 and 15 November and targeted organisations in Belgium, France and Switzerland. It was named ‘BabidiGhost’, after the hacker’s alias.
The hacker had hardly any technical knowledge himself and had the Chinese language model DeepSeek direct an AI agent. SOCRadar tracked him down because he left his own working folder open on a hijacked server in France, according to SOCRadar’s analysis. It contained, among other things, his instructions to the AI agent and some 10 GB of stolen data. Secutec mapped the Belgian impact and notified the Centre for Cybersecurity Belgium (CCB).
82 Flemish municipalities affected
The hacker gained access to the server of a service provider for Flemish municipalities. It held the central data of the residents of all those municipalities, along with passwords and data from, among others, recycling parks. For 65 municipalities he found a dedicated folder, while seventeen others were affected through data stored at an intermunicipal association. The 82 municipalities are spread across all five Flemish provinces.
In the stolen data, the researchers found names, addresses, dates of birth, gender, national register and identity card numbers, and IBAN numbers. In some cases it also includes licence plates, which are worth a lot on the dark web. Passwords from municipal configuration files were also seized.
On the server, the data of the various municipalities were not separated from one another, access was insufficiently secured and the files were not encrypted. According to SOCRadar, the provider’s management interface was open on the internet, protected by a weak administrator password. That gave the attacker access to the folders of all municipalities and intermunicipal associations in one go. He took 23 archives, totalling 8.6 GB.
So far there are no indications that the attacker broke into the municipalities’ own networks. However, the stolen data of several municipalities has already been shared, and that of at least one municipality has been sold externally. The researchers suspect that there are buyers specifically looking for Belgian data.
This is exactly the scenario we have been warning about for years.
Geert Baudewijns, CEO of Secutec
“This is exactly the scenario we have been warning about for years,” says Geert Baudewijns, CEO of Secutec. “One provider that stores the data of all its customers on a single server, without proper segregation, without encryption and visible from the internet. That is all it takes.” According to Baudewijns, the haul can be used for targeted fraud. “The hacker now has all the information needed to draft convincing phishing messages or to pose as a civil servant. We are once again at the start of a digital ordeal.”
DeepSeek as the brain of the attack
“Today the attacker doesn’t even need to know how it’s done: AI finds the vulnerability, writes the code and pulls in the data,” says Baudewijns. The hacker used DeepSeek for this. That Chinese language model has far fewer built-in safety mechanisms (guardrails) than the well-known commercial AI services. He bypassed the refusals DeepSeek does have with a jailbreak. According to SOCRadar, this involved an instruction file of 1,371 lines that treats every refusal as a malfunction of the model, and a local proxy that automatically resubmitted refused requests, each time with more insistence.
At the end of November last year, the federal government banned DeepSeek for all federal civil servants, after the CCB had examined the model. The Berlin data protection authority had already asked Apple and Google in June last year to remove the DeepSeek apps from their stores, because data of German users is sent to China without sufficient protection.
In the BabidiGhost campaign, DeepSeek directed an autonomous AI agent built with Hermes Agent. This is legitimate open source software from the American Nous Research, which can work with any language model. The agent itself wrote the scanners, the exploits, the scripts to search data and the tools to siphon off the loot via a Telegram bot. The hacker gave 1,801 instructions, which the agent turned into 5,779 requests to the language model. Only 41 of those remained refused.
We see an operator with very little expertise who has been handed a very powerful tool.
Samet Sazhak of SOCRadar
Amateurish prompts
The prompts show how little expertise was needed. They were written in very amateurish French, full of language and spelling mistakes. In one instruction, the hacker asked for thirteen files of a thousand complete records each, including IBAN numbers. “These are not elite hackers,” says Samet Sazhak of SOCRadar. “We see an operator with very little expertise who has been handed a very powerful tool. Where you used to need years of experience to set up such a campaign, an AI model without guardrails and a series of sloppily typed sentences are now enough.”
Ghost Hunters also targeted banks
Besides the Flemish municipalities, the group targeted more than fifty organisations in Belgium, France and Switzerland, including banks, insurers, payment and fintech companies, gambling platforms and crypto exchanges. Belgium accounted for more than half of the targets. At one insurer, the entire customer database was exported. On Swiss websites, the agent collected IBAN numbers, email addresses and phone numbers on a large scale. The AI agent exploited only publicly known and sometimes years-old vulnerabilities, most of them from 2017 to 2023.
Organisations with multifactor authentication, IP restrictions and proper server-side validation stopped the attacks. At a payment provider, eleven scripts that tried to guess passwords got stuck on two-step verification. At a crypto exchange, more than 180 scripts were stopped by the security measures.
Attack via the supplier
Attackers increasingly choose the weakest link in the supply chain as the way in to their actual target. In early November, the cooling systems of dozens of Belgian supermarkets were disrupted, including at Delhaize, Spar and Carrefour. The management of such installations usually lies with an external party that also sells the refrigerators with a maintenance contract, Baudewijns explained at the time. “That software is very often outdated, which is why such vulnerabilities are discovered in it.”
With BabidiGhost, the weakest link was one provider that stored the data of all its customers on a single server, without separating them from one another. As a result, one break-in gave access to the data of 82 municipalities.
The European NIS2 directive requires organisations that fall under it to also vet their suppliers. At our round table on two years of NIS2, Ulrich Seldeslachts, CEO of LSEC, estimated that a typical essential or important company has three to four thousand suppliers. Ron Mukherjee, cybersecurity consultant at Eset, warned that organisations cannot outsource responsibility for their security. Mukherjee works a lot with cities and municipalities. According to him, NIS2 has become “even less clear” for many of them.
‘Basic measures work’
“The good news is that the basic measures work,” says Baudewijns. “Wherever multifactor authentication and well-protected access were in place, the AI agent got stuck. Those who have their basic hygiene in order are also largely protected against this kind of simple, AI-driven attack.”
SOCRadar notified the affected organisations and published detection rules and indicators that IT teams can use to search their log files. The two companies are not disclosing which municipalities and which provider were affected. Whether the stolen data will be published or sold on a larger scale has not yet been confirmed.
