What sort of security are you trying to provide?
The operating system scrubs pages before handing them to user applications. Only an administrator can subvert this, and an administrator has unrestricted, full control over the machine anyway.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of sergey pisarev
Sent: Thursday, January 28, 2010 12:40 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] wipe process memory on process exit
yes, it’s planned as a part of security software
so, i need to track all paging for my process during process execution
and manually zero pages before they will be marked as free ?
On Jan 27, 2010, at 9:13 PM, Tim Roberts wrote:
xxxxx@gmail.com wrote:
> i need all memory that contains data, not only mapped .data segment
> (it was just a bad example, sorry about this confusion)
>
Are you asking about this so you can wipe memory for security
purposes?
If so, you are missing the bigger picture. Pages get swapped in and
out
of memory all the time. There’s no guarantee at all that the pages in
your data segment have been at the same physical address for their
entire life, and there’s no way for you to track that at process
termination.
However, the operating system zeros free pages before assigning them
to
another process.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer