HomeCybersecurityPolymorphic Malware: Mutation Engine vs Signature Detection (2D)

Polymorphic Malware: Mutation Engine vs Signature Detection (2D)

Interactive 2D simulator of polymorphic malware: watch a flat 8x8 byte genome mutate each generation while a fixed payload core survives, and track the exact Hamming-distance timeline against a live signature threshold and heuristic-detection history.

Cybersecurity2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-types-of-cyber-threats ↗ Open standalone

This 2D companion to the 3D polymorphic-malware simulator drives the exact same byte-mutation model — a 64-byte genome with a fixed 12-byte core payload and a 52-byte polymorphic shell that rewrites itself generation by generation — but lays the genome out as a flat grid and adds a second panel the rotating 3D view has no room for: a live timeline plotting the genome's Hamming distance against the signature threshold, with every generation's detection outcome (signature catch, heuristic catch, or evasion) marked as a coloured dot. Raise the mutation rate and watch the distance line climb past the threshold within a handful of generations; raise the heuristic sensitivity and watch orange catches appear even while the shell is still well outside the signature's reach.

⚙ Under the hood

Watch a flat 8x8 malware genome mutate generation by generation while its 12-byte core payload stays fixed, and track the exact Hamming-distance timeline against a live signature threshold and a running heuristic-detection history.

cybersecuritymalwarepolymorphicantivirusdetectionalgorithms

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)