meltedinhex/analyst-ai-pack / skills/analyzing-wiper-malware
analyzing-wiper-malware
FlaggedAnalyzes destructive wiper malware by identifying raw-disk and MBR/VBR overwrite primitives, boot-record tampering, mass-deletion and backup-destruction behavior, and distinguishing wipers from ransomware. Activates for requests to analyze a wiper, identify destructive disk-overwrite behavior, or tell a wiper apart from ransomware.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 340 B |
| SKILL.md | skill md | 2.8 KB |
| references/api-reference.md | markdown | 1.4 KB |
| scripts/analyst.py | script | 3.0 KB |
references/api-reference.md
View on GitHub# API Reference: Analyzing Wiper Malware
## Overview
`scripts/analyst.py` scans a sample for destructive wiper primitives (raw-disk/MBR overwrite,
recovery denial, mass deletion) and weighs them against ransomware indicators to classify intent
as wiper, ransomware, or a destructive-with-ransom-facade hybrid. It reads bytes statically
(ASCII + UTF-16LE) and executes nothing.
## Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | regex, JSON, file IO |
## Core functions
### `scan(path)`
Returns destructive primitive groups, ransomware indicators, the two scores, and a classification.
## Classification logic
- `destructive_score` ≥ 3 and `ransomware_score` ≤ 1 → **likely_wiper**.
- `ransomware_score` ≥ 3 → **likely_ransomware**.
- Both present → **destructive_with_ransom_facade** (pseudo-ransomware wiper).
## Indicators
- Raw disk: `\\.\PhysicalDrive`, `DeviceIoControl`, `IOCTL_DISK`.
- Recovery denial: `vssadmin delete shadows`, `wbadmin delete`, `bcdedit /set recoveryenabled no`,
`wevtutil cl`.
## Usage
```bash
python scripts/analyst.py scan sample.bin
```
## Sources
- MITRE ATT&CK T1561 Disk Wipe; T1485 Data Destruction — https://attack.mitre.org/
- Raw-disk/boot-record APIs from Windows storage documentation
- Wiper recovery-denial command patterns from public destructive-malware analyses
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |