by tobyeo » Mon Jan 15, 2007 1:54 am
One other mention is that even if the application is only sending the credit card numbers encrypted down the TCP stack they could still be in the memory dump and more than 1 could depending on if they are all stored in the same location.
This is because if the application for example is putting them in the same heap, lets say other data for example file data is also in this location. If the application then sends completely irrelevant data to a file driver and that file driver locks those user pages into memory and maps kernel pages then that page with the file data along with the possibly unencrypted credit card numbers could be in the dump. As a side note since the file system cache is so big usually any kernel memory corruption ends up trapping on a file system I/O which then makes the proability of having this information in the dump even higher. Again, this is even if the credit card number is being sent down the file stack encrypted, locking an entire page of the heap may contain other information such as 4k worth of credit card numbers unencrypted!