Engineer working on a laptop connected to a device test rig, surrounded by wiring harnesses and test hardware

Firmware vulnerabilities & fixes

ENISA's Multilayer Framework for AI cybersecurity, explained

Last updated:

ENISA's Multilayer Framework for Good Cybersecurity Practices for AI (the "FAICP"), published in June 2023 by the European Union Agency for Cybersecurity, is a three-layer catalogue of existing good practices for securing AI systems — built because, per its own executive summary, AI-specific harmonised technical standards under the then-proposed EU AI Act were "most likely" not going to be ready before the regulation took effect.

Layer I covers the conventional ICT-security foundations any organisation running AI needs regardless of the AI itself; Layer II adds practices specific to AI and machine learning; Layer III adds sector-specific guidance, including a section on the energy sector's industrial automation and control systems. The report also summarizes a survey of EU national competent authorities (NCAs) and found their AI-security monitoring and enforcement readiness generally low.

Key takeaways

  • Evasion — crafting small input perturbations ("adversarial examples") that exploit a trained model's output without altering the model itself.
  • Layer II's "Security controls" section gives one control set per threat.
  • The report was written against the 2021 proposal; three provisions in the final texts matter more to a product team than the framework itself.
  • This is a hypothetical example, not a customer case.

Why did ENISA build a three-layer framework instead of a single checklist?

The report's stated problem is sequencing: the EU AI Act, first proposed in April 2021, requires "high-risk" AI systems to meet "adequate levels for robustness, accuracy and cybersecurity" through technical standards — but those standards "most likely will not be ready before the regulation enters into force." ENISA had already published two narrower studies — AI Cybersecurity Challenges: Threat Landscape for Artificial Intelligence (2020) and Securing Machine Learning Algorithms (2021) — but both stopped short of covering "the entire AI life cycle (from concept to decommissioning), the associated infrastructure and all the elements of the AI supply chain." The Commission then asked ENISA to assess the state of national AI-cybersecurity requirements and enforcement, which the June 2023 report answers through both the FAICP framework and an accompanying NCA survey.

The three layers are explicitly cumulative, not alternatives:

Layer Name Scope
I Cybersecurity Foundations Basic ICT security — risk management, access control, existing legislation (NIS2, GDPR) — for any environment that hosts, operates, develops, integrates, maintains or supplies AI systems, independent of the AI itself
II AI Fundamentals and Cybersecurity Practices specific to AI/ML components — their life cycle, properties, threats and controls — applicable regardless of industry sector
III Sector-Specific Cybersecurity Good Practices Best practices tailored to energy, health, automotive and telecommunications, reflecting that "the operational environment... and usage... of the AI system need to be considered for the realistic and accurate mitigation of sectoral threats"

Layer I frames any ICT infrastructure as a six-block pyramid — physical infrastructure, telecom networks, IT applications (where AI components sit), domain/sectoral services, data, and users/procedures — and ties its risk-management guidance directly to the NIS and NIS 2 directives' requirement that essential entities "assess and mitigate their risks." Its key elements are security management of the hosting infrastructure, cybersecurity certification under the Cybersecurity Act, and the legislation that already applies, including the then-proposed Cyber Resilience Act. The report adds that evaluation methods for certifying AI products themselves were still missing in 2023. The framework treats this layer as a prerequisite: an organisation that has not secured the ICT environment hosting its AI has not done the work Layer II and III assume is already in place.

What specific threats does Layer II say are unique to AI and machine learning?

Layer II draws its ML-specific threat list directly from ENISA's own 2021 Securing Machine Learning Algorithms report, naming five high-level ML threats:

  1. Evasion— crafting small input perturbations ("adversarial examples") that exploit a trained model's output without altering the model itself.
  2. Poisoning— altering training data or the model to change its behaviour in a chosen direction, including inserting a backdoor.
  3. Model or data disclosure— leaking a model's configuration, parameters or training data.
  4. Compromise of ML application components— exploiting vulnerabilities in the open-source libraries an ML pipeline is built on.
  5. Failure or malfunction of an ML application— denial of service triggered by bad input or an unhandled error condition.

The report is careful to size these against real-world incidence rather than treat them as hypothetical: citing a quantitative study of 139 industrial ML practitioners, it notes that "the number of reported AI threats was marginal, with 2.1% of evasion attacks and 1.4% of poisoning attacks recognised by the organisations" — most incidents still traced back to conventional ICT infrastructure, not the ML layer itself. Layer II also folds in AI Act-specific risk categories that sit outside classic confidentiality/integrity/availability thinking — loss of transparency, interpretability, bias management and accountability — and points to the NIST AI Risk Management Framework and ETSI's Securing Artificial Intelligence (SAI) AI threat ontology as complementary references for structuring that assessment. Among its tools it lists MITRE ATLAS, the adversary-technique knowledge base for ML systems (see our MITRE ATLAS guide).

Which controls does ENISA pair with each threat, and where does the AI Act use the same words?

Layer II's "Security controls" section gives one control set per threat. The adopted AI Act, Regulation (EU) 2024/1689, uses closely matching terms in Article 15(5), which asks high-risk AI systems to have measures against "data poisoning", "model poisoning", "adversarial examples or model evasion", "confidentiality attacks or model flaws". The last column is our reading of what a device team would keep on file; it is not in either text.

ENISA threat Closest Article 15(5) wording Controls ENISA names Evidence a device team can keep
Evasion adversarial examples or model evasion Adversarial-input detection, adversarial training, less transferable models Robustness test results for the shipped model version
Poisoning data poisoning; model poisoning (pre-trained components) Processes that keep ML components secure over time, assess model exposure, enlarge and clean training data Provenance of training data and of any pre-trained model
Model or data disclosure confidentiality attacks Access control; federated learning How model files are protected on the device and in updates
Compromise of ML application components (Article 15(5) first sentence: exploiting system vulnerabilities) Components covered by protection policies, security operations and asset management; evaluate the libraries the algorithm runs on SBOM entries for inference runtimes and their CVE status
Failure or malfunction model flaws Bias reduction, evaluation against the operating environment, explainability Test cases for malformed sensor input and fail-safe behaviour

The report also cites ETSI's work on security testing of AI, noting that testing "does not end at the component level" and that self-learning systems can see security properties degrade over time.

How does the framework connect to the AI Act and the CRA as adopted?

The report was written against the 2021 proposal; three provisions in the final texts matter more to a product team than the framework itself. First, Article 42(2) of the AI Act presumes that a high-risk AI system certified under a Cybersecurity Act scheme complies with the Article 15 cybersecurity requirements, as far as the certificate covers them — the certification route Layer I describes. Second, the Cyber Resilience Act, Article 12(1), deems a product with digital elements that is also a high-risk AI system to meet Article 15's cybersecurity requirements when it meets the CRA's essential cybersecurity requirements, "without prejudice to" accuracy and robustness. Third, the Digital Omnibus on AI, Regulation (EU) 2026/1744, adds a matching Article 42(3) to the AI Act and moves the high-risk obligations to 2 December 2027 for Annex III systems and 2 August 2028 for systems that are high-risk through Annex I product legislation. For most embedded products, then, the practical route is CRA work first, with the Layer II threats added to the CRA risk assessment. Our AI Act cybersecurity guide and CRA guide cover those obligations in full.

What does the framework say about AI running in energy and industrial environments?

Layer III's energy-sector section is the closest the framework comes to OT-specific guidance, and it does not soften the conclusion: "the emergence of industrial automation and control systems, AI, smart grids and autonomous devices have made the energy sector a target for cyberattacks, while the existing interconnectivity and the rapidly complexity of the underlying infrastructures increase the security threats and their cascading effects." It lists the AI-adjacent components already in use — miniaturised sensors monitoring transmission pipelines, inspection and repair robots, AI-managed virtual power plants and microgrids, and demand-response systems — and names recurring root causes: outdated control systems, a "limited cybersecurity culture among vendors, suppliers and contractors," and remote access used for operations and maintenance.

Rather than prescribing a bespoke OT control baseline, the section points practitioners to existing sector guidance: ENISA's own 2019 Industry 4.0 Cybersecurity: Challenges and Recommendations, the 2022 EU Cybersecurity Market Analysis — IoT in Distribution Grids, and the US National Renewable Energy Laboratory's Artificial Intelligence for Energy Systems Cybersecurity report. The report treats energy as one of only four sectors (alongside health, automotive and telecommunications) where it found enough existing sector-specific AI-cybersecurity guidance to summarise — a deliberate limitation the report states outright: "while almost every economic sector already relies on AI systems, we have identified below only those sectors for which we managed to find relevant cybersecurity guidelines." The health section names three attack vectors for connected medical devices (the device itself, its communication channels, and its applications and software), and the automotive section summarises five ENISA/JRC attack scenarios, including rogue firmware deployed at scale after a manufacturer's back-end servers are hacked.

How ready were EU national regulators, according to ENISA's own survey?

Alongside the framework, ENISA ran a survey of national competent authorities built on the FAICP's own structure and the proposed AI Act's principles: 30 questions, 14 of them mandatory, across five policy areas, with 10 responses. Its conclusion was direct: member states were aware of AI's new risks to critical infrastructure, but "up to now, [member states] essentially expect to follow the same mechanisms as for other cybersecurity threats or incidents" rather than AI-specific ones — with the report noting that only two member states reported having AI-specific guidance or self-assessment tools in place at the time. The survey's strongest response areas were human capital (collaboration with universities), market-readiness guidance, and networking (one member state running an AI ethics committee, another maintaining a registry of AI-system safety measures). The report's own framing of this finding is that the readiness level of NCAs was low and that further measures were needed — a conclusion directly relevant to any vendor assuming a mature regulatory AI-security baseline already exists.

Worked example: how do the three layers apply to a camera with an on-device model?

This is a hypothetical example, not a customer case. A maker of industrial safety cameras ships a person-detection model that runs on the camera's SoC through an open-source inference runtime; the model is retrained at the vendor and delivered in signed firmware updates.

  1. Layer IThe team first secures what hosts the model: the build server, the update-signing keys, the camera's web interface and its network services. None of this is AI-specific, and it is where most real incidents still start.
  2. Layer II, threat by threatEvasion: test the shipped model against adversarial patterns, such as printed patches, that could hide a person. Poisoning: record where the training images and any pre-trained base model came from. Disclosure: decide whether the model file in the firmware image needs encryption. Component compromise: list the inference runtime and its dependencies in the firmware SBOM and track their CVEs. Malfunction: define what the camera does when the model crashes or the sensor feed is corrupt.
  3. Layer IIIIf the camera is sold into energy sites, the energy section's root causes apply: remote maintenance access and outdated control systems around the camera, not only the camera itself.
  4. RegulationMap the result to the CRA risk assessment and, if the product is a high-risk AI system, to Article 15 through the CRA Article 12 route.

What reading order works for device, firmware and OT teams?

  1. Treat Layer I as non-negotiable before adding AI-specific controlsIf the ICT infrastructure that will host or operate an AI feature is not already covered by conventional risk management and access control, the AI-specific layers assume a foundation that is not actually there.
  2. Map the five ML threats against your actual pipeline, not a generic listA product with no on-device training loop has little poisoning exposure at the edge but may still face evasion attacks against an inference-only model, or component compromise through a vulnerable open-source inference library. An AI-BOM records which models and runtimes are actually on the device.
  3. Read the energy-sector section even if you are not in energyIts root causes — outdated control systems, inconsistent vendor cybersecurity culture, and remote maintenance access — generalize to most OT environments adding AI-driven monitoring or predictive maintenance, not just utilities.
  4. Do not assume a regulator-approved AI-security baseline existsThe report's own NCA survey found readiness low as of 2023, and the AI Act's high-risk obligations now start in December 2027 or August 2028; teams selling into the EU should track the harmonised standards rather than treat this framework as a finished compliance target.
  5. Use the framework to organize existing references, not replace themThe FAICP is explicitly a catalogue — ISO/IEC 27000-series, the NIST AI RMF, ENISA's own prior reports — rather than a new control set; the practical value is in the three-layer structure for deciding which existing guidance applies at which layer.

What are the common pitfalls?

  • Citing the FAICP as a compliance basis. It is a June 2023 catalogue written against the AI Act proposal; conformity is shown against the adopted AI Act, the CRA and their harmonised standards.
  • Skipping Layer I because the product "is an AI product". The report's own incident figures show that conventional ICT weaknesses dominate.
  • Treating the inference runtime as part of the model. It is a software component with its own CVEs and belongs in the SBOM and vulnerability-handling process.
  • One-off model testing. The report stresses that AI risk assessment must be dynamic; retest when the model is retrained, not only at first release.
  • Reading the four sectors as the full scope. ENISA covered only the sectors where it found guidance; a missing sector does not mean lower risk.

Where does SoftWSP fit?

SoftWSP extracts an SBOM from a firmware image (CycloneDX 1.6 JSON), matches the identified components against NVD, CISA KEV, FIRST EPSS and CISA's ICS advisories, and drafts a cited report that an engineer reviews. For an AI-enabled device that covers ENISA's fourth threat, compromised ML application components, for the libraries the extraction identifies; it does not test models for evasion, poisoning or disclosure. See device & firmware security for the assessment scope.

This guide summarizes ENISA's Multilayer Framework for Good Cybersecurity Practices for AI (June 2023) and the cited articles of the AI Act, the Digital Omnibus on AI and the Cyber Resilience Act; it is not a substitute for the full texts and does not constitute compliance or legal advice.

Put this guide to work

Frequently asked questions

What is ENISA's Multilayer Framework for Good Cybersecurity Practices for AI?

A June 2023 report from the European Union Agency for Cybersecurity (ENISA), authored by Nineta Polemi and Isabel Praça and edited by Monika Adamczyk and Konstantinos Moulinos (ISBN 978-92-9204-619-4, doi 10.2824/588830, published under CC BY 4.0). It proposes what it calls the FAICP (Framework for AI good Cybersecurity Practices): a "scalable framework to guide [national competent authorities] and AI stakeholders on the steps they need to follow to secure their AI systems, operations and processes." Per its executive summary, it was produced because the European Commission asked ENISA to gather "information on the current state of cybersecurity requirements for AI on the EU and national levels" while the proposed AI Act's own harmonised technical standards were still years from being ready.

What are the framework's three layers?

Section 2 defines three layers, each built on the one before it. Layer I ("Cybersecurity Foundations") covers "basic cybersecurity knowledge and practices that need to be applied to all ICT environments that host/operate/develop/integrate/maintain/supply/provide AI systems" — risk management, access control and existing legislation (NIS2, GDPR), independent of whether AI is involved at all. Layer II ("AI Fundamentals and Cybersecurity") addresses "cybersecurity practices needed for addressing the specificities of the AI components... which would be applicable regardless of the industry sector," including an AI/ML-specific threat taxonomy and AI trustworthiness properties. Layer III ("Sector-Specific Cybersecurity Good Practices") gives best practices tailored to energy, health, automotive and telecommunications, since — as the report puts it — "the operational environment... and usage... of the AI system need to be considered for the realistic and accurate mitigation of sectoral threats."

What ML-specific threats does the framework name, and how common were they in practice?

Section 2.2 lists five high-level machine-learning threats, drawing on ENISA's own 2021 Securing Machine Learning Algorithms report: Evasion (adversarial input perturbations that exploit a trained model's output), Poisoning (altering training data or the model itself to change its behaviour, e.g. to insert a backdoor), Model or data disclosure (leaking a model's configuration, parameters or training data), Compromise of ML application components (exploiting vulnerabilities in the open-source libraries an ML pipeline depends on), and Failure or malfunction of an ML application (denial of service from a bad input or an unhandled error). Citing a quantitative study of 139 industrial ML practitioners, the report notes that despite most reported attacks targeting conventional ICT infrastructure, organisations did recognise some ML-specific incidents — 2.1% evasion attacks and 1.4% poisoning attacks — a small but non-zero share that the report uses to argue AI-specific threat assessment can no longer be skipped.

What does the framework say about AI in energy and other critical-infrastructure sectors?

Layer III's energy-sector section states plainly that "the emergence of industrial automation and control systems, AI, smart grids and autonomous devices have made the energy sector a target for cyberattacks," pointing to AI-driven monitoring sensors, inspection robots, virtual power plants and demand-response systems as components that widen the attack surface — citing ENISA's own 2019 Industry 4.0 Cybersecurity report. It lists outdated control systems, limited vendor/supplier cybersecurity culture, and remote operations and maintenance access as recurring root causes. The section points readers to ENISA's EU Cybersecurity Market Analysis – IoT in distribution grids and to the US National Renewable Energy Laboratory's Artificial Intelligence for Energy Systems Cybersecurity report as further sector-specific guidance, rather than prescribing a single OT-specific control list of its own.

Is this framework a standard, a certification scheme, or a legal requirement?

None of the three. ENISA describes the FAICP as a "scalable framework" and catalogue of existing good practices and standards (ISO/IEC 27000-series, the NIST AI Risk Management Framework, ENISA's own prior reports), not a new technical standard, a conformity-assessment scheme or a mandatory control baseline. The report's own stated motivation is to fill the gap until AI-specific harmonised standards under the EU AI Act are finished, since "standards development takes a long time, so they most likely will not be ready before the regulation enters into force." Its legal notice states it "does not endorse a regulatory obligation of ENISA," and its conclusions section explicitly calls for further research and additional practices rather than claiming the framework is complete.

Sources

  1. ENISA: Multilayer Framework for Good Cybersecurity Practices for AI — publication page
  2. ENISA Multilayer Framework for Good Cybersecurity Practices for AI, full-text PDF (June 2023, ISBN 978-92-9204-619-4)
  3. ENISA: Securing Machine Learning Algorithms (December 2021) — source of the five ML-threat definitions
  4. ENISA: Industry 4.0 Cybersecurity — Challenges and Recommendations (2019) — cited for the energy-sector attack surface
  5. NIST AI Risk Management Framework (AI RMF 1.0) — framework the report cites for AI trustworthiness characteristics
  6. Regulation (EU) 2024/1689 (AI Act), EUR-Lex — Article 15(5) AI-specific vulnerabilities, Article 42(2) Cybersecurity Act presumption
  7. Regulation (EU) 2026/1744 (Digital Omnibus on AI), EUR-Lex — new AI Act Article 42(3) and Article 113 application dates
  8. Regulation (EU) 2024/2847 (Cyber Resilience Act), EUR-Lex — Article 12 high-risk AI systems
  9. Regulation (EU) 2019/881 (Cybersecurity Act), EUR-Lex
  10. ETSI GR SAI 001 V1.1.1 (2022-01): Securing Artificial Intelligence — AI Threat Ontology
  11. MITRE ATLAS — adversarial threat landscape for AI systems
  12. Grosse et al., "Why do so?" — A practical perspective on machine learning security (arXiv:2207.05164), the 139-practitioner study the report cites
Was this guide helpful?

In this cluster