In short
Local governments are a prime target for cybercriminals: in 2024, ANSSI handled 218 incidents involving them—18 per month and 14% of its total caseload—including 25 ransomware attacks. Attackers primarily gain access through compromised email accounts and vulnerabilities in exposed equipment such as VPNs and firewalls. The NIS2 Directive is intended to impose security obligations on regions, departments, large municipalities, and intermunicipal associations, but as of October 2026, its French transposition—the Resilience Bill—had not yet been enacted.
The threat landscape according to ANSSI
The threat assessment targeting local governments, published by ANSSI on February 24, 2025, covers the year 2024:
| Indicator (2024) | Figure |
|---|---|
| Incidents handled by ANSSI involving local governments | 218, or 18 per month, accounting for 14% of all incidents handled by the agency |
| Affected local governments | Mostly municipalities and public intermunicipal cooperation institutions (EPCI) with their own taxing authority; 44 incidents targeted departments and 29 targeted regions |
| Email Account Compromises | 66, or 30% of reported incidents |
| Distributed Denial of Service (DDoS) Attacks | 58 |
| Ransomware | 25 incidents, 21 of which had a significant impact on the local government’s operations |
| High-severity incidents | 33, or 15% of the total |
ANSSI describes local governments as “often poorly or inadequately secured, managing numerous and disparate information systems,” which struggle to maintain a comprehensive overview of their networks. After a serious attack, it often takes several months to return to normal operations: civil registry, social services, urban planning, finance, and email systems switch to degraded or even manual mode. Interconnections sometimes cause the incident to spread: in 2024, a municipality mentioned in the report had to cut off its connections with other municipalities whose systems it hosted, rendering their services unavailable.
In addition to the financial threat, local governments face destabilization attacks: waves of DDoS attacks carried out by pro-Russian hacktivist groups, such as the one on December 31, 2024, and defacements of city hall websites.
Services at risk that should be tested as a priority
- VPNs, firewalls, and remote access gateways: According to ANSSI, many local governments were compromised in 2024 through the exploitation of vulnerabilities, primarily in this edge infrastructure (including vulnerabilities in Ivanti, Palo Alto Networks, and Fortinet equipment). Software versions, patches, multi-factor authentication, and the exposure of administration interfaces should be checked first.
- Email: the most common type of incident in 2024. Exposed webmail, lack of multi-factor authentication, forwarding rules created by the attacker, and domain protection against spoofing (SPF, DKIM, DMARC)—the basis for fake wire transfer scams.
- Citizen portals and online services: online procedures, family portal, school meal payments, and appointment scheduling. User access control, account creation, and uploading of supporting documents.
- Websites: Out-of-date CMS and plugins are targets for defacement; websites disseminating crisis information are resilient to DDoS attacks.
- Active Directory and backups: what attackers target once they’ve gained access. ANSSI emphasizes that a disaster recovery plan and robust, offline backups significantly reduce remediation time.
- Service providers and shared systems: IT unions, business software vendors, and shared hosting providers—compromises of which affect multiple local governments at once.
An external penetration test, followed by an internal test from an agent’s workstation, answers the key question: What can an attacker do based on what is exposed? Sovra Recon conducts this type of test using autonomous AI agents, either as a one-time audit (RAID) or as a continuous monitoring service (SENTINELLE).
NIS2 and the Resilience Bill: Where Do We Stand? (October 2026)
The NIS2 Directive classifies public administration as a highly critical sector (Annex I) for central and regional governments, and leaves each Member State free to extend this classification to the local level (Article 2, paragraph 5). The French draft transposition bill includes part of the local sector.
| Local governments | Category in the text of the National Assembly’s special committee (September 10, 2025) |
|---|---|
| Regions, departments, municipalities with more than 30,000 residents (and their public administrative institutions operating in a critical sector) | Critical entities |
| Metropolitan areas, urban communities, and urban agglomeration communities (and their public administrative institutions operating in a critical sector) | Critical entities |
| Departmental fire and rescue services, local government management centers, and municipalities with more than 30,000 residents operating in a critical sector | Critical entities |
| Communities of municipalities (and their public administrative institutions operating in a critical sector) | Key Entities |
| Date | Step |
|---|---|
| October 15, 2024 | The Resilience Bill is introduced in the Senate |
| March 12, 2025 | Adoption by the Senate on first reading |
| September 10, 2025 | Text adopted by the National Assembly’s special committee |
| October 2026 | With the law still not enacted and no implementing decrees published, no NIS2 requirements are yet applicable to local governments. |
The scope has evolved during the legislative process, particularly with regard to metropolitan communities, and may still change before final adoption. The substance of the obligations, however, stems from the directive: risk management, supply chain security, notification of significant incidents (early warning within 24 hours), assessment of the effectiveness of measures, and involvement of the executive branch.
The CNIL did not wait for the law: it has included the cybersecurity of local governments among its priority audit areas for 2025, due to the sensitive data they process (civil registry records, social benefits, financial data).
Public resources for assistance
- Cybermalveillance.gouv.fr: assistance for victims, referrals to local service providers, response guides, and awareness materials for public officials.
- Regional CSIRTs: regional incident response centers whose deployment ANSSI has been supporting since 2021 (as part of the France Relance plan), serving local governments, associations, and businesses in their respective regions. ANSSI has identified 12 such centers, plus 3 overseas cyber resource centers.
- MonAideCyber (ANSSI): a free cybersecurity assessment, conducted by ANSSI-trained advisors, which identifies priority measures to be implemented.
- CERT-FR: alerts and advisories on critical vulnerabilities—these should be monitored as a priority for exposed systems.
- MonEspaceNIS2 (ANSSI): the online service to check whether an entity will be affected by NIS2 and in which category.
These measures help structure the approach and facilitate a response. They do not replace a penetration test, which concretely verifies what an attacker can access.
Where to start?
- Identify what is exposed on the Internet: VPNs, webmail, portals, websites, and administrative interfaces.
- Enable multi-factor authentication for email, VPNs, and all administrative access.
- Prioritize patching edge devices and monitor alerts from CERT-FR.
- Verify SPF, DKIM, and DMARC on all of the local government’s domains.
- Have offline backups and a recovery plan that prioritizes business applications.
- Have exposed services tested, followed by the internal network, and present the results to elected officials.
Frequently asked questions
Will my municipality be affected by NIS2?
According to the text from the National Assembly’s special committee (September 10, 2025), municipalities with more than 30,000 residents would be classified as “essential entities,” and intermunicipal communities as “significant entities.” Smaller municipalities are not directly affected, but may be indirectly affected through their intermunicipal associations or service providers. The bill had not been enacted as of October 2026 and may still be subject to change.
Do the NIS2 requirements already apply to local governments?
No, not in October 2026. The Resilience Bill was adopted by the Senate on March 12, 2025, and amended in committee by the National Assembly on September 10, 2025, but it has not been enacted. The requirements will take effect after the decrees are enacted and published.
What should be done in the event of a cyberattack on a local government?
Isolate affected systems from the network without shutting them down; alert the regional CSIRT, cybermalveillance.gouv.fr, or ANSSI; file a complaint; notify the CNIL within 72 hours if personal data is involved; and activate the business continuity plan.
Is it in a small municipality’s best interest to conduct a penetration test?
Yes, to the extent covered by its scope: email, websites, teleservices, and remote access. A test focused on these areas covers the main entry points observed by ANSSI.
Sources
Find out where an attacker would get in.
Our AI agents actually attack your scope, fully automated, and hand you the proof of every vulnerability.
