check file in memory after launch

Just starting out? Need help? Post your questions and find answers here.
SeregaZ
Enthusiast
Enthusiast
Posts: 628
Joined: Fri Feb 20, 2009 9:24 am
Location: Almaty (Kazakhstan. not Borat, but Triple G)
Contact:

check file in memory after launch

Post by SeregaZ »

who knows it is passible made some check in memory? some viruses can inject in process in memory - it means CRC or MD5 or how it names of this process in memory will be change - it means i can catch this difference and made some alert for user.
and one more - this "CRC" in memory the same in XP and Vista and 7? or for each OS need each other this CRC?

i must use search on this forum, but i dont know how made this request rightly.
datachild
User
User
Posts: 11
Joined: Sat Jun 12, 2010 7:47 pm

Re: check file in memory after launch

Post by datachild »

SeregaZ wrote:who knows it is passible made some check in memory? some viruses can inject in process in memory - it means CRC or MD5 or how it names of this process in memory will be change - it means i can catch this difference and made some alert for user.
and one more - this "CRC" in memory the same in XP and Vista and 7? or for each OS need each other this CRC?

i must use search on this forum, but i dont know how made this request rightly.
The CRC checksum wont notice any injection but is the same on all OS...

For detecting injections u could hook the apis mostly used to inject files...
infos can be found here:
http://dspace.lib.fcu.edu.tw/bitstream/ ... 000144.pdf
Thorium
Addict
Addict
Posts: 1305
Joined: Sat Aug 15, 2009 6:59 pm

Re: check file in memory after launch

Post by Thorium »

Just don't do it.
Unless your app is a virus scanner its not your apps job to check for viruses. Implementing such a check would do nothing else than cause problems. There are a ton of apps that inject DLLs into other processes and are no maleware at all.

By the way, a app needs admin privilegs to inject a DLL, so you shoudnt care about it.
Post Reply