Kayaker
November 17th, 2002, 20:46
Hi All,
I created a little "health-oriented" RE app designed to ease the eye strain of poring over those multi-thousand entry Regmon logs. You know the ones I mean, those created by apps that seem to enum everything in your Registry just for the sake of doing so. You stare at them long enough to try to find out if they're doing something bad like trying to access your poor old Mom's bank account records or something, and your eyes will start to bleed.
The app parses the Regmon log Registry Key "Path" string of each entry and cuts it off at a subdirectory (\) level set by the user (Filter Level). A CRC32 value is then calculated on the remaining string. Any further occurrences of the same CRC32 value are considered "duplicates" and are discarded.
The string the CRC32 value is calculated on is actually a combination of the Process, plus the filtered Path string, and optionally the Request (CreateKey, OpenKey, QueryValueEx, etc.). Entries with one or more CLSID {} values can be handled separately so unique values are preserved irregardless of the Filter Level chosen.
The results seem accurate, thousands of redundant Regmon entries can be reduced to a couple of hundred unique ones (depending on the settings chosen) in milliseconds. Of course only the first occurrence of a duplicate is kept and is really only the "root" of the entry, but by selecting a series of Filter Level settings you can choose the degree of detail you want to reveal.
The app works equally well on Filemon logs. Full ASM source is included, so if you don't like something, you can change it. Bug reports, inaccurate results or other comments are welcomed. Enjoy
Cheers,
Kayaker
EDIT: File updated for > Win2K
I created a little "health-oriented" RE app designed to ease the eye strain of poring over those multi-thousand entry Regmon logs. You know the ones I mean, those created by apps that seem to enum everything in your Registry just for the sake of doing so. You stare at them long enough to try to find out if they're doing something bad like trying to access your poor old Mom's bank account records or something, and your eyes will start to bleed.
The app parses the Regmon log Registry Key "Path" string of each entry and cuts it off at a subdirectory (\) level set by the user (Filter Level). A CRC32 value is then calculated on the remaining string. Any further occurrences of the same CRC32 value are considered "duplicates" and are discarded.
The string the CRC32 value is calculated on is actually a combination of the Process, plus the filtered Path string, and optionally the Request (CreateKey, OpenKey, QueryValueEx, etc.). Entries with one or more CLSID {} values can be handled separately so unique values are preserved irregardless of the Filter Level chosen.
The results seem accurate, thousands of redundant Regmon entries can be reduced to a couple of hundred unique ones (depending on the settings chosen) in milliseconds. Of course only the first occurrence of a duplicate is kept and is really only the "root" of the entry, but by selecting a series of Filter Level settings you can choose the degree of detail you want to reveal.
The app works equally well on Filemon logs. Full ASM source is included, so if you don't like something, you can change it. Bug reports, inaccurate results or other comments are welcomed. Enjoy

Cheers,
Kayaker
EDIT: File updated for > Win2K