Skip to content
ImagineWorld

Maturing AI Security

node_idnode-book_adversarial-ai-defense-strategies_chapter-19-maturing-ai-security
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num19
chapter_titleMaturing AI Security
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Throughout this book, we’ve examined the threats that are posed by adversarial AI and considered practical mitigations. In the previous two chapters, we incorporated these threats and mitigations into a more holistic AI application security approach by using a secure-by-design AI methodology and applying MLSecOps to embed AI security throughout the life cycle. These are essential steps to safeguard AI solutions, but their effectiveness will depend on how well they integrate with the broader enterprise AI security. This aligns with the organization’s goals, security standards, and compliance requirements. This alignment ensures that AI security is not a siloed endeavor but a well-integrated part of the organization’s overall risk management and governance frameworks. In this final chapter, we will understand the essential elements of enterprise AI security that will allow us to align and mature AI security. This will follow the five functions of the NIST Cyber Security Framework (CSF), which are Identify, Protect, Detect, Respond, and Recover, and will entail covering the following topics:

  • Risks enterprise security faces when dealing with AI
  • Fundamental functions in enterprise security to enable the adoption and development of secure AI solutions (Identify)
  • Protective foundations to safeguard AI security initiatives (Protect)
  • Operational AI security concerns (Detect, Respond, and Recover)
  • An iterative AI security approach to help mature and succeed

Let’s start by examining how AI challenges enterprise security.

As organizations integrate AI into their core operations, they encounter unique security challenges that extend beyond the scope of traditional enterprise security frameworks. The introduction of AI brings forth new dimensions such as ethics, safety, abuse, misuse, and the concept of Trustworthy AI, all of which necessitate a sophisticated consolidation into existing security structures. Furthermore, the rapid evolution of AI technologies poses additional challenges for enterprise security to remain agile and responsive.

As we have discussed, AI security brings new dimensions that must be incorporated into enterprise security structures and operations. These are as follows:

  • Ethics: AI systems must adhere to ethical standards that prevent harm and ensure fairness and transparency. Ethical considerations in AI include bias prevention, respect for privacy, and the moral implications of AI decisions, especially in critical applications such as healthcare or law enforcement.
  • Safety: AI systems must be designed to operate safely within their intended environments without causing unintended harm to users or systems. This includes ensuring robustness against failures and securing AI against exploitations that could lead to unsafe outcomes.
  • Abuse and misuse: AI technologies can be used maliciously, as seen in creating deepfakes or in exploiting autonomous systems. Protecting AI from abuse and ensuring it is not used to harm individuals or society is a significant security concern.
  • Trustworthy AI: Ensuring AI is trustworthy involves validating its reliability, the integrity of its outputs, and its ability to function as intended without manipulation. This requires rigorous testing and validation protocols that are continually updated as AI systems learn and evolve.

These dimensions require enterprise AI security to develop frameworks, guidelines, and standards to guide secure AI solutions. Furthermore, incorporating governance risk and compliance (GRC) requires adapting them. This, combined with the rapid changes in AI and the new concepts it introduces, often delays the holistic treatment of AI in enterprise security programs. This leads to several risks that we need to address:

  • Shadow AI and lack of governance: Using unauthorized AI applications within an organization, often without oversight or integration into the formal IT environment, can lead to significant security vulnerabilities and compliance issues.
  • Governance and compliance: AI systems are often seen as science projects and black boxes that are not easy to understand. However, they must comply with existing regulatory requirements and internal governance frameworks to avoid landing the organization in legal challenges. The dynamic nature of AI necessitates adaptive governance strategies that can keep pace with technological advances. The explainability and traceability of answers are some areas that should be addressed in governance and compliance, which should offer organizational guardrails for managing AI.
  • Lack of policies and guidelines: Policies for AI development and deployment, including ethical concerns, are crucial for securing AI systems. The pace of change and lack of expertise can be challenges that lead to poor security posture.
  • Poor adversarial risk management: Adversarial risk varies depending on the use case and technology. A lack of clear adversarial risk management can lead to poor responses that lower the organizations’ cyber resilience or gold plating, which overinvests in controls addressing risks that are either unlikely or not applicable. Note It should be clear by now that some adversarial AI attacks, particularly in the area of Predictive AI, are hard to stage outside lab environments. Enrich traditional risk management with an understanding of applicability and risks to help establish adequate adversarial risk management.
  • Inadequate standardization: Lack of standardization in AI deployments can lead to inconsistencies and vulnerabilities. Standardized frameworks, controls, and risk assessment are essential for ensuring consistent security across different AI implementations.
  • Vulnerability management: AI systems can have unique vulnerabilities, particularly in machine learning models that are poorly understood or not extensively tested. Identifying and managing these vulnerabilities requires specialized knowledge and tools.
  • Assurance: Assurance for AI differs from traditional penetration tests. Establishing confidence in AI systems will require that assurance standards are reflected to reflect this.
  • Ethical oversights: Overlooking ethical considerations can lead to reputational damage and legal challenges. It is crucial to embed ethical decision-making processes within the AI life cycle. This is especially true given that cybersecurity’s traditional focus has been on confidentiality, integrity, and availability, with safety and ethics seen as out of scope. This can no longer be the case.
  • Supply chain: AI systems often depend on third-party providers for data and models, algorithms, or computing power. Securing the supply chain will involve activities that require enterprise diligence and accountability. As we discussed, the supply chain is an increasing risk and requires consistent handling rather than solution-level fragmentation, which could lead to vulnerabilities.
  • Monitoring and incident response (IR): Traditional monitoring may not be adequate and will most likely need to be adapted or enhanced to oversee AI operations effectively.

These expanding risks underscore the need for a well-integrated approach to AI security within the broader enterprise security framework. Addressing these challenges effectively will require continuous adaptation and collaboration across multiple domains of expertise within an organization.

Above all, strong leadership will be required to avoid one of AI’s most significant enterprise security risks: avoidance and inaction that leads to not using AI.

This high enterprise security risk originates from fear and unwillingness to manage the risk of a new and largely unknown subject. As a result, the following occurs:

  • Organizations become digitally poor and are left behind. This will leave them unprepared and vulnerable as attackers and competitors harness the power of AI.
  • Organizations do not acquire skills across the organization to use and manage AI, leading to an unskilled and unprepared workforce that can be easily tricked into new advanced attacks.

Often, this causes panic and anxiety to quickly adapt AI and catch up, which is harried and leads to omissions and irresponsible risk-taking.

Addressing these concerns is not easy. OWASP’s Security & Governance Checklist for LLMs is good reading material for getting more insights and advice on the subject. You can find the checklist at https://owasp.org/www-project-top-10-for-large-language-model-applications/llm-top-10-governance-doc/LLM_AI_Security_and_Governance_Checklist-v1.pdf.

In the remainder of this chapter, we will look at some practical ways to mature AI security, starting with laying the foundations.

To develop a robust security framework for AI, we must build the foundations that drive it. These foundations relate directly to the Identify function of the NIST CSF. They act as the compass for organizations to integrate AI technologies securely, including the following:

  • AI risk management integrated with existing processes to cover AI-specific risks. This will include the following aspects:
    • AI risks are different and vary. Adversarial AI research has also created a vast array of threats that may never occur outside lab conditions or be irrelevant to the organization. Understanding a framework to evaluate adversarial risk and capture what is relevant with guidelines is crucial. It will feed into activities driving AI security, including threat modeling and testing and incorporating continuous learning and adaptation into security practices to respond to new adversarial techniques.
      • Other AI-specific risks include bias in decision-making or the unpredictability of AI behavior. This may require that you do the following:
      • Conducting specialized risk assessments focused on AI ethics, accuracy, and fairness - Engaging with external experts and stakeholders to gain insights and validate AI risk management strategies - Implementing mitigation strategies, such as transparency in AI decision processes and regular audits of AI systems The NIST AI Risk Management Framework (AI RMF) is a resource for evaluation. It is a relatively new and still evolving framework that provides guidance and a playbook for managing AI risk. You can find NIST RMF at https://www.nist.gov/itl/ai-risk-management-framework.
  • Business case registry: Centralizing documentation of all AI initiatives and associated risks helps maintain oversight and align AI projects with business objectives. Building this registry involves:
    • Document each AI application’s purpose, expected benefits, and potential risks.
      • Ensuring that each business case is reviewed to align with strategic objectives and comply with relevant laws.
  • AI asset inventory: Keeping a comprehensive inventory of AI assets is crucial for effective governance and risk management and can help deal with shadow AI. Organizations can establish this by doing the following:
    • Cataloging all AI models, their training datasets, and their deployment environments
      • Regularly updating their inventory to reflect changes, retirements, or new additions to AI assets
      • Using their inventory for risk assessments and to support continuity planning
  • Legal and regulatory framework: AI applications must comply with existing and emerging regulations governing data privacy, protection, and ethical considerations. To build a robust framework, organizations should do the following:
    • Stay informed about global and local regulations affecting AI deployments, such as the General Data Protection Regulation (GDPR), the US Executive Order on AI, the EU AI Act, and others
      • Integrate legal expertise into AI project teams to ensure ongoing compliance
      • Develop protocols to handle legal issues that may arise from AI operations, including intellectual property rights and liability
  • Governance: Establishing robust governance frameworks ensures that AI systems are developed and operated in a controlled and transparent manner. Effective governance can be built by doing the following:
    • Creating cross-functional oversight committees that include IT, security, legal, and business unit stakeholders
      • Developing and enforcing policies on AI usage, development, and procurement
      • Regularly reviewing and updating governance policies to adapt to new technologies and changes in the business landscape

By effectively building upon these pillars, organizations can establish stable foundations to manage and evolve enterprise AI security that is aligned with their objectives and risk appetite.

The foundations help establish the structures that are needed to manage and mature AI security in the enterprise. However, they need controls and processes to protect AI. These correspond to the Protect function of the NIST CSF and are critical in defining the necessary protective measures to safeguard AI within enterprise systems. They ensure that AI operations are secure, reliable, and resilient against various threats and include the following aspects:

  • AI policy development: Establishing policies that govern the use of AI systems within the enterprise. This includes defining acceptable uses, ethical guidelines, and security protocols that align with organizational values and compliance requirements. Organizations can develop these policies by engaging with stakeholders across departments to ensure all potential AI use cases are covered comprehensively.
  • Threat modeling: Mandate threat models to guide risk-based defenses will help the organization defend itself better. This involves utilizing templates to systematically identify, assess, and mitigate potential threats to AI systems, including considerations for data integrity, model manipulation, and adversarial attacks. We looked at threat modeling as part of our secure-by-design methodology. Still, these exercises should be driven for large organizations with centrally owned guidance and templates reflecting risk management policies. Operationalization of threat models can help enforce the practice with regular workshops and training sessions and help keep the teams updated on the latest threat scenarios and modeling techniques.
  • Standardized AI security controls: Standardize AI security controls to help maintain security posture and the AI development life cycle. They must be continuously updated to adapt to evolving security threats.
  • Model and data provenance: Mandate provenance to ensure transparency and traceability of AI models and their training data to prevent and detect data quality, bias, and security issues.
  • Framework establishment: Develop systems to log and monitor all data inputs and model changes to facilitate audits and compliance with regulatory requirements.
  • AI SDLC guidelines: Integrate security into every stage of the AI software development life cycle (SDLC) to proactively address potential vulnerabilities from the design phase through deployment.
  • Governance and assurance: Establish governance frameworks to oversee AI projects and conduct regular assurance activities, such as red teaming, to ensure compliance with internal and external security standards.
  • Supplier and solution assurance: Evaluate and secure the supply chain from which AI components and services are sourced to manage risks associated with third-party vendors. This should include data protection and model evaluation assessments.
  • Security training: Educating and training employees on AI security risks, ethical considerations, and protective measures is essential for fostering a security-aware culture.

By embedding these protective measures into the enterprise AI strategy, organizations can safeguard their AI assets against a wide array of risks, ensuring the integrity, confidentiality, and availability of AI systems. They also support incorporating ethics and safety into assurance, elevating enterprise security to the guardian of Trustworthy AI.

Operational AI security encompasses the Detect, Respond, and Recover functions of the NIST CSF, which are critical in ensuring that AI operations within an enterprise are secure and resilient. This segment of security focuses on actively monitoring AI systems, rapidly addressing any security incidents, and efficiently recovering from these incidents to maintain operational integrity and trust. Here are some key points to consider:

  • Monitoring and alerting: Continuous surveillance of AI systems is crucial to detect anomalies and potential security breaches. However, AI redefines monitoring because of its variable and non-deterministic requests and responses. The following are some effective monitoring strategies:
    • Deploying AI-powered anomaly detection systems that can learn from the AI environment and identify threats more accurately.
      • Using AI-driven simulation tools to stress-test AI systems against a range of attack scenarios.
      • Using specialized tools capable of understanding and evaluating AI-specific metrics and logs. Traditional firewalls, for instance, use regular expressions to locate malicious requests. This will not work for AI. By contrast, the use of similarity distances may work better.
      • Implementing moderation APIs and other automated tools to monitor the behavior of generative AI systems in real time.
  • Vulnerability management: AI systems often involve components that are in continuous development, which can introduce new vulnerabilities or exacerbate existing ones. Managing these vulnerabilities is a challenge and involves doing the following:
    • Establishing a standardized approach for identifying and assessing vulnerabilities specific to AI, such as using emerging standards such as Airisk.io and threat intelligence
      • Understanding how your vulnerability detection and threat intelligence suppliers incorporate AI into their products
      • Regularly updating AI systems and components with the latest security patches and configurations
  • Incident handling: When security incidents occur, a swift and structured response is essential to mitigate damage and restore system integrity. AI brings challenges to incident handling, including the need for specialist skills (for example, content authenticity or bias route cause analysis). Responding and recovering from Generative AI abuse incidents, such as the spread of misinformation at a mass scale using your system, may require collaboration with national agencies and legal advice and may be limited. The following are some recommended practices:
    • Combining proactive red teaming exercises with real-time incident response to understand the challenges as early as possible so that you can develop and test effective recovery strategies
      • Developing a playbook for different types of AI-related incidents to ensure all team members know their roles and responsibilities during a crisis

When applicable, factoring in shared responsibility models is essential in all cases. This is especially true in cloud-based AI services, where security responsibilities are divided between the AI service provider and the user. This is often straightforward in traditional systems but can be more complex in AI areas such as ML models.

Operational AI security requires a blend of advanced technological tools and robust procedural strategies to manage AI threats’ dynamic and potentially unpredictable nature effectively.

This concludes our exploration of how to mature AI security but creates many items to work on that could lead to failure. In the next section, we will complete our discussion by looking at iterative approaches to evolve maturity while providing the right balance.

Not everything will be in place, and attempting to do everything simultaneously will likely lead to failure.

AI is evolving fast, and we cannot be ad hoc, reactive, and siloed. However, we cannot wait for the perfect AI security framework; it will likely be outdated before v1.

Instead, we need to apply an iterative security approach that works concurrently at two levels:

  • Top-down with enterprise AI security and governance to establish stable and robust enterprise AI security that’s integrated with the existing GRC. Risk-based prioritization can help build a roadmap for AI enterprise security that’s driven by the CISO with executive support.
  • Bottom-up with guardrails for projects to empower teams to explore AI. Guardrails provide guidance and constraints for a project. They are essential contracts and get updated at an evolving maturity level, with checkpoints ensuring adequate coverage. Alignment and guidance are critical to stay connected and get updated as enterprise AI reaches new maturity levels and aligns with the AI security roadmap. Visibility to avoid unnecessary risks is critical alongside agreed compliance assurance.

Capability building through guided controlled experiments and action with carefully selected pilots can be far more effective than endless planning sessions. Engaged and informed team members can support these. Participating in communities, especially OWASP, can enrich a team with a deep understanding that helps the entire organization.

A key weapon we have against adversaries is openness and transparency. This creates economies of scale when it comes to developing a collective approach to safeguarding AI.

This concludes this chapter and this book. We covered an enormously large and complex area ranging from understanding basic concepts and developing simple ML models to complex threats, AI security methodologies and approaches, and how to mature AI at the enterprise level.

AI brings unprecedented changes to our lives, including opportunities and threats. We must ensure that it is used securely and safely so that it benefits society, our families, companies, and societies rather than malicious adversaries.

I hope you enjoyed this book and that it gave you the knowledge and skills to continue your journey in understanding and defending against adversarial AI.