| Malware Scanners Missing Stuff – Procmon Install Spy To The Rescue… |
|
|
| Written by Darwin Sanoy |
| Monday, November 23, 2009 10:06am |
|
I had two different scenarios in two days where some of the top malware scanners completely ignored very concerning changes to systems I was working on…
Senario 1: hosts file redirections not removed In the first case I was removing malware from a friends infected machine. A notable top-level malware scanner removed all the bad stuff and gave a clean bill of health. However, when I visited Google from the machine it was obvious that one of the Google hijacks was still in place (Clicking a google search result takes you to an advertising or malware site). I installed and ran several other top rated malware scanners in deep scan mode– nothing to report. I used autoruns to investigate everything that was hooking IE – couldn’t find anything overly suspicious. Finally Spybot’s RunAlyzer tool happened to display the hosts file – and there I could plainly see several search sites redirected. One reason I hadn’t check here was because I figured malware scanners would flag and remove search sites from here – especially ones like Google. Apparently not. I reported this to one of the vendors and received an email stating “While this may appear simple to you, it is in fact not. We may in the future add a host file fix routine but right now it is not high on the list of 'things to do'.” OK… let’s review:
Maybe I’m missing something here, but to me it seems not only simple, but misleading to say a system is clean when host file redirects remain. I think some people will write this product off due to not being able to solve the most obvious external evidence that they have or had a malware infection. Scenario 2: Certificate Stores not scanned The second scenario was on one of my own machines. My son has a game which requires a CD to run. We paid for the game and own it, but I know how kids treat CDs – so I want to keep the original tucked away. The CD is, of course, copy protected. So I load up a popular tool for emulating a protected CD. This tool installs two things of grave concern – one is a service which protects its own service registry keys via in-memory monitoring of the key. This part is relatively well known and some research showed most malware scanners ignore this service because this software is so widely used and does not seem to have reports of being malware. (It also turns out that the restore point created during this install is unusable (at least on my machine). Attempting to use it generated the error: “An unspecified error occurred during System Restore. (0x80070057)” - a previous restore point did work properly.) But here is the concerning part… Procmon Install Spy Filter I have taken to monitoring everything I install with a filter I have created for Sysinternals Process Monitor (procmon.exe). Install monitoring on a live system is more challenging than on a clean reference workstation due to all the additional processes and activity. One of the reasons I use process monitor for this is that I can customize it to leave out all the processes on my system that I know are doing good work – it is also easy to update the filter when I add software that has active processes. I will eventually be posting this filter to the CSI Windows Toolkit once I’ve got it working a little more smoothly. (If you would like to know when it goes live, be sure to subscribe to our blog here: Keeping In Touch.) The monitoring showed a certificate being added to my certificate store. I investigated further and found a self-signed certificate added to my Trusted Root Certification Authorities store and flagged to be enabled for “All Purposes”. This means all future software and any websites that use this certificate will generate unalarming messages during UAC prompts and when I visit the websites. Some Googling revealed this certificate has probably had the same name for more than three years. I re-ran my malware scanners and (drum role please)… …you guessed it, nothing was flagged or removed. Within this second scenario I was obviously installing some shady software (and was taking extra precautions by monitoring the install) – however, since there are no additional controls on certificate installations (above those provided for software installs themselves) – this approach could be used by any installer. After this experience I feel some changes in malware scanners and Windows would be very helpful in protecting against these exploits:
If anyone out there has experience with either of these scenarios and knows of scanners that catch them, I would love to hear from you – please use our contact form. |
UAC has caused a lot of buzz ever since Vista was released. Sometimes even I wonder if the topic of UAC comprises a measurable amount of the total web and email conversations about...
This script code uses a fast and efficient method for determining whether the current session (process) has admin rights. The compact code is provided in VBS (9 lines) and CMD...
Maybe you have come across some of the UAC VBScript snippets for figuring out whether the current user is an administrator and even whether they are elevated or not. I wanted a...
I had two different scenarios in two days where some of the top malware scanners completely ignored very concerning changes to systems I was working on…
Senario...
RegScanner is a very cool little utility for finding things in the registry. RegEdit's built-in search functionality is similar to notepad. Type your search string and keep...
Disabling unnecessary Windows services can result in significant performance gains for production machines and virtual machines. This script helps you manage and share templates...
ACT 5.5 has been released. Microsoft has made sure that the entire toolset is Windows 7 ready. The help documents have been enhanced with more information on Shims - Microsoft...
Oh that sinking feeling after deleting a file that is your only good copy of a script. However, the second sinking feeling of knowing there is no recycler copy because the deletion...
Our Bginfo template has been updated to version 1.5. The template content is the same, but the installer now handles XP, checking for a copy of bginfo.exe next to script, checking...
The attached file contains a .bgi template for Sysinternals BGInfo and an installation shell script. It places all the security and UAC details of a Windows 7 (or Vista) machine...
If you are just getting started with using manifest files to configure UAC elevation prompts, it can be difficult to remember what the options are and what to do if there is already...