TLDR: This research paper investigates how Explainable AI (XAI) methods, crucial for understanding AI decisions, can be vulnerable to adversarial attacks in cybersecurity applications. It explores six different attack procedures (like fairwashing and explanation manipulation) on popular XAI techniques (SHAP, LIME, IG) across datasets for phishing, malware, intrusion, and fraudulent website detection. The study reveals that many attacks are highly effective at manipulating explanations, highlighting an urgent need for more robust and resilient XAI systems to maintain trust and transparency in critical security contexts.
Artificial Intelligence (AI) has become an indispensable tool across various sectors, including critical domains like cybersecurity. However, as AI models grow more complex, understanding how they arrive at their decisions becomes a significant challenge. This is where Explainable Artificial Intelligence (XAI) steps in, offering a window into these ‘black-box’ models, aiming to foster trust and transparency by generating explanations alongside predictions.
While XAI methods are designed to demystify AI, a recent research paper titled “Explainable but Vulnerable: Adversarial Attacks on XAI Explanation in Cybersecurity Applications” by Maraz Mia and Mir Mehedi A. Pritom from Tennessee Tech University, sheds light on a critical concern: XAI methods themselves can be targets of sophisticated adversarial attacks. These attacks can manipulate the explanations generated by AI systems, potentially leading to misinformed decisions, especially in sensitive areas like cybersecurity.
Understanding the Threat to XAI
The paper identifies three primary categories of adversarial attacks on XAI explanations:
- Fairwashed Explanation (FE): This attack aims to hide or diminish the importance of specific sensitive features in an explanation. For instance, an attacker might want to conceal that an AI model is making decisions based on a protected attribute, making the model appear fairer than it is.
- Manipulated Explanation (ME): Here, the adversary forces the XAI method to produce an explanation that is random, meaningless, or specifically chosen by the attacker, regardless of the model’s true logic. This can mislead users into trusting a flawed or malicious explanation.
- Backdoor Attack (BD): This involves embedding a hidden vulnerability into the XAI model. When a specific, subtle ‘trigger’ is present in the input, the model produces an attacker-intended explanation, deviating from the true explanation.
These attacks can be orchestrated using various techniques, such as creating adversarial models, manipulating data, crafting adversarial examples (subtly perturbed inputs), or fine-tuning model parameters.
The Research Study: Unveiling Vulnerabilities in Cybersecurity
The researchers conducted an extensive experimental study to understand the effectiveness of these adversarial attacks on popular post-hoc XAI methods, including SHAP (SHapley Additive exPlanations), LIME (Local Interpretable Model-agnostic Explanation), and Integrated Gradients (IG). They investigated six different individual attack procedures across four real-world cybersecurity datasets: phishing, malware, intrusion detection systems (IDS), and fraudulent e-commerce websites.
The study aimed to answer crucial questions:
- How effective are these attacks in cybersecurity classification tasks, and does data type play a role?
- What is the impact of these attacks when different machine learning models are used?
- How effective are existing defenses against these specific attacks?
The findings revealed that attacks designed to create Fairwashed Explanations (FE), such as Output Shuffling, Scaffolding OOD, Makrut, and Biased Sampling, were highly effective. For example, the Makrut attack could successfully hide the importance of a protected feature while maintaining the original model’s prediction accuracy, though sometimes with a slight performance degradation.
Conversely, attacks focused on Manipulated Explanations (ME), specifically Data Poisoning and Black Box attacks, were found to be less efficient and significantly slower to execute. In many cases, they produced minimal changes to feature rankings or generated unrealistic perturbations.
Also Read:
- Unpacking AI Explanations: A Philosophical Look at How We Understand Machine Decisions
- Context-Aware AI Agents Enhance Anomaly Detection in Critical IoT Systems
The Urgent Need for Robust Defenses
A significant takeaway from the paper is the alarming lack of reliable defenses for many of these identified attacks. While some countermeasures exist for specific attacks like Scaffolding OOD and Biased Sampling, four of the six individual attacks investigated currently have no proposed defenses. This highlights an urgent need for immediate attention from the research community to enhance the resiliency of XAI methods and their applications, especially in critical domains like cybersecurity where trust and transparency are paramount.
This research represents one of the first systematic efforts to understand the landscape of adversarial attacks on XAI explanations within cybersecurity contexts. It underscores that while XAI provides valuable insights, its vulnerability to manipulation can undermine its core purpose of fostering trust and transparency. Future work will likely focus on developing robust defense mechanisms and exploring these vulnerabilities in more complex AI models and larger datasets. For a deeper dive into the methodology and detailed results, you can access the full research paper here.


