Analyzing an Attack and Implementing Compensating Controls for an AI System
This lab directly supports the preparation for the CompTIA SecAI+ (CY0-001) certification exam. The following table maps the major concepts and tasks covered in this lab to the corresponding exam objectives.
| Lab Task/Concept | CompTIA SecAI+ (CY0-001) Objective | Description |
|---|---|---|
| Task 2: Data Poisoning Analysis | 2.5: Given a scenario, implement monitoring and auditing for an AI system | Analyzing training logs and model metrics to detect anomalies (loss spikes) indicative of a poisoning attack |
| Task 3: Evasion Attack Analysis | 2.6: Given a scenario, analyze an attack and implement compensating controls | Investigating adversarial examples and calculating perturbation magnitude to understand the evasion attack vector |
| Task 4: Implementing Compensating Control | 2.2: Given a scenario, implement security controls for AI systems | Implementing a compensating control (input filter) to mitigate the immediate threat of an evasion attack |
| Task 5: Final Reporting & Recommendation | 2.6: Given a scenario, analyze an attack and implement compensating controls | Verifying the control's effectiveness and recommending a corrective control (model retraining) to address the root cause |
| General Lab Context | 4.2: Explain risks associated with AI | Understanding the mechanics and impact of adversarial machine learning (AML) attacks (poisoning and evasion) |
Overview
Artificial intelligence (AI) systems, particularly those based on machine learning (ML), are increasingly deployed in critical infrastructure, including security and defense applications. This reliance introduces a new class of security risks, primarily from adversarial machine learning (AML) attacks. These attacks aim to manipulate the behavior of the AI model, either during training (poisoning) or during inference (evasion), to cause a malfunction or a security breach.
This lab is designed to provide a simulation-based learning scenario where a security analyst must investigate evidence of an AML attack on a critical AI system—specifically, a computer vision model used for object detection in a surveillance system. The analysis will focus on identifying the attack vector and the resulting impact through simulated outputs from Python scripts. Following the analysis, the student will be tasked with suggesting and implementing compensating controls to mitigate the identified risks, aligning with the objective: 2.6: Given a scenario, analyze the evidence of an attack and suggest compensating controls for AI systems.
VM Credentials
Username: student
Password: student