Skip to content
Back to skills

Malware Adversarial Eval

ASecurity

Evaluates the robustness of deep neural network malware classifiers against adversarial attacks. It probes whether an attacker can successfully misclassify malicious Android applications by adding a limited number of valid features to their manifest files. Use when the user wants to benchmark on DREBIN, or asks about evaluating this task. Reports misclassification rate.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
developmentpythongoapi

Works with

  • api

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill malware-adversarial-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Malware Adversarial Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Malware Adversarial Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-malware-adversarial-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-malware-adversarial-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: malware-adversarial-eval
description: Evaluates the robustness of deep neural network malware classifiers against adversarial attacks. It probes whether an attacker can successfully misclassify malicious Android applications by adding a limited number of valid features to their manifest files. Use when the user wants to benchmark on DREBIN, or asks about evaluating this task. Reports misclassification rate.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 1606.04435
  bibtex_key: [REDACTED]
  confidence: high
---

# malware-adversarial-eval

> Adversarial Perturbations Against Deep Neural Networks for Malware Classification — Grosse et al. (2016) (arXiv:1606.04435, 2016)

## What this evaluates

Evaluates the robustness of deep neural network malware classifiers against adversarial attacks. It probes whether an attacker can successfully misclassify malicious Android applications by adding a limited number of valid features to their manifest files.

## Datasets

- **DREBIN** — total 129013; splits: train (-1), test (-1)

## Metrics

- `misclassification rate` **(primary)** — range: percent
  - Percentage of malware samples that are correctly classified initially but misclassified after applying the adversarial crafting algorithm.
- `accuracy` — range: percent
  - Overall percentage of correctly classified applications (malware and benign) on the dataset.
- `false negative rate` — range: percent
  - Percentage of actual malware samples incorrectly classified as benign.
- `false positive rate` — range: percent
  - Percentage of actual benign samples incorrectly classified as malware.
- `distortion` — range: other
  - Average number of features added to an application during adversarial crafting.

## Input / output format

**Input**: Binary indicator vector X ∈ {0,1}^M representing static features of an Android application (permissions, API calls, components, intents).

**Output**: Binary classification label (malware or benign).

## Scoring recipe

```python
def compute_misclassification_rate(correctly_classified_malware, model, craft_adversarial):
    misclassified = 0
    for sample in correctly_classified_malware:
        adv_sample = craft_adversarial(sample, max_mods=20)
        if model.predict(adv_sample) != 'malware':
            misclassified += 1
    return misclassified / len(correctly_classified_malware)
```

## Common pitfalls

- Perturbations must only modify features representable in AndroidManifest.xml to maintain app functionality.
- A strict distortion bound of k=20 added features is enforced, limiting the attack's magnitude.
- Training malware ratio (MWR) heavily impacts the trade-off between detection accuracy and adversarial robustness.

## Evidence (verbatim from paper)

> As a measure of success, we consider the misclassification rate achieved by the adversarial crafting algorithm. The misclassification rate is defined by the percentage of malware samples that are misclassified after applying the adversarial crafting algorithm, but were correctly classified before that.

## Citation

```bibtex
@misc{grosse2016adversarial,
  title={Adversarial Perturbations Against Deep Neural Networks for Malware Classification},
  author={Grosse et al. (2016)},
  year={2016},
  note={arXiv:1606.04435}
}
```

- arXiv: 1606.04435

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.