Skip to content

graph90/metamorphic-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metamorphic-engine

Pure x86_64 assembly metamorphic engine demo. Outputs “Hello, world!” while the underlying binary changes on each run.

metamorphicEngine Screenshot

Overview

This project demonstrates a simple metamorphic engine written entirely in NASM x86_64 assembly. Each execution produces identical output (Hello, world!) but modifies its machine code using techniques like:

  • Register shuffling
  • Dead code sequences that clean up themselves
  • Control-flow variation
  • Instruction permutation

It’s designed for learning, experimentation, and demo purposes. Safe to run in a VM environment.

Ubuntu Setup

sudo apt install -y nasm build-essential

Demo

Build and run:

nasm -f elf64 metamorphicEngine.asm -o metamorphicEngine.o

ld metamorphicEngine.o -o metamorphicEngine

./metamorphicEngine

About

Pure x86_64 assembly metamorphic engine demo. Outputs “Hello, world!” with changing binary code on each run.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors