Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello, I have a project where I have to erase a virus from an exe file but i don't know how to do a file that copies itself o inserts itself into another file.
Could help to do it? or do you have a harmless file that can do that so I can test my project?
Posted
Comments
Richard MacCutchan 5-Nov-15 4:12am    
Just add some data to an exe file that your application can recognise. For example a string or sequence of bytes that are unique in the file.

1 solution

I fear the answer is definitely NO.
You are unlikely to find a course for Hacker 101 here, but I may be wrong.

You know that even AV companies are accused to release new viruses in the wild from time to time just to maintain their business. And god know that they are also reputed for their clean hands and the sanitary service they provide.

[Update]
You need a deep knowledge of what is the virus.
- Detecting a virus involve a deep knowledge of how it install on the exe
- repairing the exe involve a deep knowledge of how it changed the exe and suppose no data was destroyed.

For an AV:
- the first step is to ensure that it is safe and don't contain a virus already.
- the second step is to ensure that the virus is not in memory and that scanning the HDD will not spread the virus everywhere.
 
Share this answer
 
v2
Comments
Member 12114427 4-Nov-15 18:26pm    
I do not want to know how to make an actual virus, actually i just want a "harmless virus" so i can test my project so even a file that just pop a message works for me :P
Patrice T 4-Nov-15 21:18pm    
See update.
By principle, nobody consider a virus harmless.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900