Originally Posted by
JeenLeen
If you set up the other work, perhaps you could have a subroutine in your keylogger that scans for things of a certain format and deletes them from the record. Examples could be numbers that are as long as a credit card number, numbers in 555-55-5555 format for Social Security Numbers, and you could probably set up something like "if I type <my username here>, delete it and the next 15 characters" to delete usernames and passwords. You could of course hard-code for it for delete the passwords themselves, but that means having your passwords saved in a program, which seems a bad security idea; with the aforementioned, only your usernames are hard-coded.
*well, easy conceptionally. Actually programming the code to scan a text file, remembering where you are, deleting text, etc., then recombining it would probably take me a couple hours to write and debug. From the languages I know, it would be quite a pain to get the initial scan function written and acting as desired, but once it's figured out for one 'format for something you want deleted', should be easy to add additional targets. And, if you're lucky, the language you use's SCAN function (or equivalent) might be built to easily allow you to use it without much augmentation.
EDIT: after re-reading the post, I figured I'd note that I realize this doesn't make it 'reject' the sensitive info, but rather it saves the sensitive stuff then deletes it. Which probably has it somewhere in memory, at least until the equivalent to 'garbage is really recycled' happened. But at least it'd be harder to find. Maybe not worth the effort.