<!-- Canonical page: https://reversedwithai.com/p/agat-offline-malware-analysis -->
Canonical page: https://reversedwithai.com/p/agat-offline-malware-analysis

# Agat: Offline Analysis of Polymorphic Malware

> Claude-assisted static analysis heuristics for binaries that evade simple signatures.

An air-gapped Rust analysis tool looks for structural and behavioral features in polymorphic, metamorphic and AI-rewritten malware without relying only on file hashes.

## Key facts

- Target: Polymorphic, metamorphic and AI-rewritten malware
- Category: Malware (defensive)
- Platform: Rust, offline
- Models: Claude Opus 4.8
- Tools: Static binary analysis, Rust, SARIF
- Outcome: Partial
- Human effort: Mostly AI
- Checks: Source available: yes; Repro steps: yes; Real hardware: not reported; Verified by others: not reported
- Author: [Armur-Ai](https://github.com/Armur-Ai)
- Added: 2026-10-21
- Updated: 2026-10-21
- Sources reviewed: 2026-10-21 (editor)

## What was done

Agat is an offline, air-gapped Rust tool for defensive analysis of polymorphic, metamorphic and AI-rewritten malware. Its README describes an artificial-immune-system approach that looks for structural features and behavioral signals rather than relying only on byte signatures. It produces analysis output such as SARIF and is designed to run without network access.

### Analysis approach

The project documents signals for packers, high-entropy executable sections, suspicious section names and artifacts associated with AI-generated code. It also describes model packs and a workflow for comparing samples. The repository presents itself as a research and analysis tool, not as a malware payload or exploit.

### AI contribution and limits

Claude Opus 4.8 co-authored changes to AI-artifact detection rules and static danger signals, along with analysis and reporting code. The README discusses detecting AI-rewritten malware; that describes the tool’s target, while the commit records show Claude assisting with the defensive analyzer itself. No live sample is included in this directory entry.

## What the commit history shows

188 of 189 commits in the public repository credit an AI, over 11 days between 2026-05-19 and 2026-10-29. Credited: Claude Opus 4.8 (112), Claude Opus 5.5 (67), Claude Opus 4.7 (9).

Measured by this site from public git history.

## Questions about Polymorphic, metamorphic and AI-rewritten malware

### What is the Polymorphic, metamorphic and AI-rewritten malware project?

An air-gapped Rust analysis tool looks for structural and behavioral features in polymorphic, metamorphic and AI-rewritten malware without relying only on file hashes. It is listed under Malware (defensive) for Rust, offline.

### Which AI model was used on Polymorphic, metamorphic and AI-rewritten malware?

The entry names Claude Opus 4.8. The tools named alongside are Static binary analysis, Rust and SARIF.

### Did the AI reverse engineering of Polymorphic, metamorphic and AI-rewritten malware work?

Its author reports that it partly works. Human effort: mostly ai. Checks recorded: source available yes, repro steps yes.

### Is the source code for Polymorphic, metamorphic and AI-rewritten malware available?

Yes. The code, patches or tooling are public: https://github.com/Armur-Ai/agat. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/Armur-Ai/agat)
- [Write-up](https://github.com/Armur-Ai/agat)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Armur-Ai (2026). Agat: Offline Analysis of Polymorphic Malware. Reversed with AI. https://reversedwithai.com/p/agat-offline-malware-analysis
