[Paper Review] FENCE: Feasible Evasion Attacks on Neural Networks in Constrained Environments
FENCE is a novel iterative gradient-based framework for generating feasible evasion attacks on deep neural networks in constrained environments, such as cyber security applications, by respecting feature-space dependencies. It successfully evades malware and botnet classifiers with minimal, realistic perturbations—e.g., adding just 12 network connections—to flip predictions from 'Malicious' to 'Benign' while maintaining data feasibility.
As advances in Deep Neural Networks (DNNs) demonstrate unprecedented levels of performance in many critical applications, their vulnerability to attacks is still an open question. We consider evasion attacks at testing time against Deep Learning in constrained environments, in which dependencies between features need to be satisfied. These situations may arise naturally in tabular data or may be the result of feature engineering in specific application domains, such as threat detection in cyber security. We propose a general iterative gradient-based framework called FENCE for crafting evasion attacks that take into consideration the specifics of constrained domains and application requirements. We apply it against Feed-Forward Neural Networks trained for two cyber security applications: network traffic botnet classification and malicious domain classification, to generate feasible adversarial examples. We extensively evaluate the success rate and performance of our attacks, compare their improvement over several baselines, and analyze factors that impact the attack success rate, including the optimization objective and the data imbalance. We show that with minimal effort (e.g., generating 12 additional network connections), an attacker can change the model's prediction from the Malicious class to Benign and evade the classifier. We show that models trained on datasets with higher imbalance are more vulnerable to our FENCE attacks. Finally, we demonstrate the potential of performing adversarial training in constrained domains to increase the model resilience against these evasion attacks.
Motivation & Objective
- To address the vulnerability of deep neural networks to evasion attacks in constrained environments where feature dependencies must be preserved.
- To develop a generalizable framework that supports both linear and non-linear feature constraints common in real-world applications like network traffic and malware classification.
- To evaluate the effectiveness of FENCE in real cyber security use cases, including botnet and malicious domain detection.
- To analyze how data imbalance and optimization objectives affect attack success rates.
- To explore the potential of adversarial training as a defense mechanism in constrained, domain-specific settings.
Proposed method
- FENCE uses an iterative optimization process that computes the gradient of the attacker’s objective with respect to each feature.
- At each iteration, it identifies the family of features dependent on the feature with the maximum gradient and modifies them collectively to preserve feasibility constraints.
- It enforces an upper bound on the total perturbation distance from the original input to ensure minimal, realistic changes.
- The framework supports both linear and non-linear constraints, enabling applicability across diverse domains with complex feature dependencies.
- It integrates two optimization objectives: Projected Gradient Descent (PGD) and the Penalty method (Carlini-Wagner), comparing their performance.
- FENCE ensures all intermediate and final adversarial examples remain within the feasible region defined by domain-specific constraints.
Experimental results
Research questions
- RQ1Can evasion attacks be effectively mounted in constrained domains where feature dependencies must be preserved, such as in network traffic or malware classification?
- RQ2How does the choice of optimization objective (PGD vs. Carlini-Wagner) affect the success rate and feasibility of adversarial examples in constrained settings?
- RQ3To what extent does data imbalance in training datasets influence the vulnerability of DNNs to FENCE-style evasion attacks?
- RQ4Can adversarial training in constrained environments improve model robustness against FENCE-type attacks?
- RQ5How do realistic, minimal perturbations (e.g., adding 12 network connections) impact classifier predictions in real cyber security workloads?
Key findings
- FENCE successfully generates feasible adversarial examples that evade DNNs in cyber security applications, such as botnet and malicious domain classification, by making minimal, realistic changes.
- Adding just 12 network connections in Zeek connection logs was sufficient to change a malicious sample’s prediction from 'Malicious' to 'Benign' in the network traffic classifier.
- Models trained on datasets with higher class imbalance were found to be more vulnerable to FENCE attacks, indicating that data imbalance exacerbates model susceptibility.
- The PGD-based optimization in FENCE outperformed the Carlini-Wagner penalty method in terms of attack success rate and feasibility of generated examples.
- Adversarial training in constrained domains shows promise as a defense mechanism, increasing model resilience against FENCE-style evasion attacks.
- Standard adversarial training methods from continuous domains (e.g., PGD) are insufficient in constrained environments, necessitating domain-aware attack and defense frameworks like FENCE.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.