Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any way to check if a process is injected? for example : explorer.exe / notepad.exe / hl2.exe / etc ?

In VB.Net / C# / C++ .

Thanks in advance.
Posted
Updated 1-Apr-12 3:16am
v2

 
Share this answer
 
Comments
Member 11781763 1-Aug-15 15:56pm    
I need C# code but its c++ can you help me ? :(
I think you are asking about, weather process is infected with virus (or wanting to see virus signature).
You need to use following steps for that,

1. First of all run any process, which you are sure not infected, may be copy from some other machine
2. Copy its binary content by opening in some editor, say notepad
3. Run exe
4. Again see content of exe, if you find its content are different than original one, then it could be affected by virus, because virus is attached with your exe
5. Virus attach either to starting or end of the program
6. See byte those are changed (now you can find signature of virus by seeing new bytes either at end or beginning of binary content)
7. Find same content in your exe for which you want to check weather it is infected or not, if exists then your process is infected otherwise not
 
Share this answer
 

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