Skip to content
Educational virus written in Assembly that infects 32-bit ELF executables on Linux using the data segment infection method
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Cranky's Data Virus

(for educational purpose only!)

This application is used as my demonstration for: How to Create a Virus Using the Assembly Language


This is an educational virus meant for infecting 32-bit ELF executables on Linux. This virus uses the data segment infection method This virus only infects ELF executables in the same directory

To assemble:

> nasm -f elf -F dwarf -g cranky_data_virus.asm
> ld -m elf_i386 -e v_start -o cranky_data_virus cranky_data_virus.o
You can’t perform that action at this time.