A simpler version of the infamous zero kb virus written in C++. A few years back I was struck by the 'zero kb' virus, and so i decide to write my own zero kb virus as an act of vengeance ("kid you are an Avenger now").
This code was compiled using Dev-C++ IDE version 5, with an icon resource:
- A folder icon ('icon.ico')
Target system: Windows OS Platform
✔️ When the program is executed, it copies it-self to the windows startup directory (C:\Users<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup) thus, whenever the computer starts the code is also executed.
✔️ The program runs in background without any effect at first
✔️ Whenever an eternal storage device is connected, the program self-replicates into that drive and that triggers the harmfull part.
✔️ It deletes all the files present in the directories that are passed into the deleting function.
✔️ This Loop proceeds until the virus is detected and removed
Any helpfull ideas are welcomed on how to improve the virus, like:
🌟 Making the code Polymorphic
🌟 Self Network Propergation
Currenlty most of Anti-Virus programs can't detect this code as malware, but i believe it won't be long till my creation is put to quarantine or mercilesly deleted. 😇
- it is important to remember:
"With great power comes great responsibility."
😉