Skip to content

lem0nSec/Alcatraz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alcatraz

🎯 Alcatraz is a basic self-replicating Virus I developed for educational and academic purposes.

🔨 I always wanted to create an 'old-school' program in pure Assembly, so here's the code!


Disclaimer

This code must not be used to cause damage. The author is not responsible for its usage or damages caused as a consequence of its usage. The goal of this repository is to explain how a basic PE-file infector works, as well as how it can be detected and stopped.

Bear in mind that although Alcatraz may crash at some point due to the fact that it's just not perfect (look at Characteristics below), running Alcatraz may cause harm to your system files.


Wiki

A detailed description of the most salient parts of this code can be found in the src directory.


Characteristics

✅ Dinamically resolves Kernel32.dll APIs and creates a 'function table' in memory;

✅ Searches for, proactively identifies and targets 64bit .exe files;

✅ Can recursively search for files (Directory_mode / File_mode);

✅ Self-replicates past the target entrypoint (.text section);

❌ The infection logic is not deterministic (some files might be unable to run Alcatraz code);

❌ Still crashes on some .dll files (I will fix this asap).

About

An example of Windows self-replicating malware.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published