VX Heaven

Library Collection Sources Engines Constructors Simulators Utilities Links Forum

Source code of computer viruses

Pestilence - Virus for Windows by fAMINE

Virus for Windows

Show all viruses by this author


Download (2788 bytes) or browse online

Author's comments

Windows Encrypted Non-Fractioned Cavity Virus

Well, here's my tiny, optimized, Win32 non-fractioned cavity virus: Pestilence. The idea here was to have a small Windows virus that did not change the size of its host, and took few enough bytes to fit into the average PE cavity. The virus encrypts itself with a random new key every time that it infects a new host, and Displays a message box (the payload) when it infects a new file. In total, the full virus amounts to 355 bytes, however with the payload it ends up being 427. It uses no hardcoded addresses, works on all NT systems and infects one MZ binary in the current directory per execution.

If an executable does not have enough space in its code cavity to accomodate the virus, it is skipped.

Prequisites: main executable must have the system attribute, and must have the write-privilege flag set on its code segment

By accessing, viewing, downloading or otherwise using this content you agree to be bound by the Terms of Use! aka