“Task Manager cannot end this process” and Trojans

Written by Matthew on April 20, 2010 – 4:30 am -

Ran across a piece of malware today (known as Ixu.100 to TrojanHunter) that drops itself as C:\lsass.exe. One side effect of this, and undoubtedly one of the reasons for chosing the lsass.exe name, is that naming the trojan file this way makes it unkillable in Windows Task Manager. Here is what you see when you try to kill the trojan process in Task Manager:

Task Manager - Critical Process

Imagine you’re trying to manually clean a trojan from a system and you run into this dialog box when trying to terminate its process. Scary, right? You’d probably assume that you’ve run into a rootkit that is hooking the process termination functions to prevent itself being killed. The truth is however not quite so nefarious. You see, Task Manager contains a few hardcoded process names that it will refuse to terminate. This is meant to stop users from terminating critical system processes. The list of processes that Task Manager will refuse to kill is the following:

  • lsass.exe
  • csrss.exe
  • smss.exe

You can try this yourself. Simply make a copy of notepad (located at C:\Windows\notepad.exe) and rename it smss.exe. Then start it and try to kill it using Task Manager. You will get the dialog box displayed above.

The problem with this, of course, is that Task Manager does not check the full path of the executable. So instead of only preventing processes whose image path is C:\Windows\system32\csrss.exe from being killed, it will refuse to kill any file named csrss.exe.

The solution is to use an alternate process viewer tool to kill the process. The Process Viewer included in TrojanHunter will do this, or you can use the excellent Process Explorer from Microsoft to do the job.


Posted in General Security | No Comments »

TrojanHunter 5.3 Beta 1 Released

Written by Matthew on February 26, 2010 – 8:00 pm -

The first beta version of TrojanHunter 5.3 has been released:

http://www.misec.net/beta/TrojanHunterSetup530B1.exe

Please report any problems in the following forum thread: http://www.misec.net/forum/board/PublicBeta/1267141969 or via email to support@misec.net

New in this version of TrojanHunter:

  • Improved bug reporting
  • Fixed a problem where the presence of NTFS alternate data streams attached to directories was
    not being reported

  • Improved deletion of alternate data streams (now correctly removes directories and is also
    able to delete specific alternate data streams as opposed to all alternate data streams associated
    with a file)

  • THCL: Now states “No trojans found” or “%d trojans found” in scan report
  • THCL: Copyright year updated


Posted in General Security | No Comments »

Flash Cookie Remover 0.91 Beta Released

Written by Matthew on January 21, 2010 – 3:30 am -

I have released a new version, 0.91 Beta, of Flash Cookie Remover. This version adds an interesting new feature: Disabling the creation of Flash cookies. Basically, once you press the “Disable Cookies” button in the program and answer Yes to the confirmation question, all your Flash cookies will be deleted, and the creation of new Flash cookies will be blocked.

This should be useful for those who do not Flash cookies to be created at all. Also, as far as I know, no other program currently has this feature.

Download:

http://www.misec.net/products/FlashCookieRemover.exe


Posted in General Security | No Comments »

Flash Cookie Remover 0.9 Beta Released

Written by Matthew on January 20, 2010 – 12:00 am -

After the previous post about Flash cookies I decided to do something about the problem instead of just describing it. I’m therefore happy to present Flash Cookie Remover – a program which does exactly what you’d think: removes Flash cookies. And unlike Adobe’s utility, it removes all information associated with the cookies – not just the data.

Currently the utility has been tested and works on XP, Vista and Windows 7. You can download it here: Flash Cookie Remover 0.9 Beta.

Please leave any feedback as a comment here or email magnus@misec.net


Posted in General Security | No Comments »

Flash Cookies and How to Get Rid of Them

Written by Matthew on January 18, 2010 – 8:30 pm -

So you’re using Firefox and have cleared out your browsing history and cookies. Now no one can see where you’ve been on the web, right? Wrong.

A little known fact is that Flash movies and applications can store their own “Flash cookies” which are entirely separate from normal cookies. There is no way to delete or even view these cookies in your web browser, and they can be used to see what sites you’ve visited even if you’ve deleted all your history and normal cookies.

Some sites even use Flash cookies as a “backup” for normal cookies. What this means is that these sites are able to restore your regular cookies even after you’ve deleted them. The site simply reads your Flash cookies, notices that your regular cookie has been deleted and then proceeds to reinstate the normal cookies using the data stored in the Flash cookies.

So how can you delete Flash cookies? They are normally stored in C:\Documents and Settings\[Username]\Application Data\Macromedia\Flash Player\#SharedObjects\[Random Name]. This directory will contain sub-directories, one for each site which uses a Flash cookie. The cookie data is stored in files with a .sol extension. You can manually delete the directories for the sites which you don’t want to keep Flash cookies for.

Another options is to go the the Flash Player Settings Page at Adobe. This will start a small Flash application that allows you to delete Flash cookies. There is however a big problem with this method, and that is that this only deletes the .sol file that contains the actual data – the directory which contains the name of the site you’ve visited is retained. This means that anyone can still see which sites you’ve visited even if the actual data is gone.

The best way to remove this data is thus to manually delete the directories as outlined above. Note that on Windows Vista and Windows 7 C:\Documents and Settings is just a pointer (junction) to C:\Users. Most of the time you will not have permission to access C:\Documents and Settings on these Windows versions (unless you want to modify the permissions manually). Therefore, try the path C:\Users\[Username]\Application Data\Macromedia\Flash Player\#SharedObjects\[Random Name] instead.

If you find that you cannot get access to C:\Users\[Username]\Application Data you can run the “Take Ownership” .reg file available from here and then right-click on the folder and select “Take Ownership”. This should allow you to get access to the folder and hence view and delete the Flash cookie directories.


Posted in General Security | No Comments »

New Project in the Works

Written by Matthew on January 7, 2010 – 10:00 am -

Currently working on a new application that takes advantage of information “in the cloud” from a large number of users to identify malware. Can’t say too much at this point as the program is still in the development stage, but as soon as a testable version of it is ready I will post more information on this blog. Stay tuned for screenshots and more.


Posted in General Security | No Comments »

TrojanHunter 5.2 Released

Written by Matthew on August 27, 2009 – 10:00 pm -

TrojanHunter 5.2 has been released!

Download: http://www.misec.net/products/TrojanHunterSetup.exe

________________________________________________
TrojanHunter 5.2 Build 987 (Released 2009-08-27)

* Added detection of hidden Internet Explorer processes launched via COM automation
* Added trojan mutex detection
* Added bug reporting option if TrojanHunter crashes
* Added detection of suspicious svchost processes
* Added “This is a list of all the trojans TrojanHunter currently detects” label to Trojans page
* The Exit button is back
* Fixed bug with TrojanHunter Guard appearing at desktop center when using two monitors


Posted in General Security | No Comments »

Fake Adobe Flash Player Monitors Your Google Searches

Written by Matthew on August 25, 2009 – 5:30 pm -

We found a new one today that’s pretty interesting.

Detected by TrojanHunter as TrojanClicker.VB.395, this piece of malware purports to be an updater for your Adobe Flash installation. When run, it goes through the motions of updating the Flash player, and most users will think nothing of it. The installer for this seems to be spread via forum posts that use JavaScript to link to the malware.

Update: This is what the malicious pop-up looks like:

ExploitPopup

Cheekily, the malware asks you to shut down Firefox if it’s running during the installation. The reason for this is that it installs a Firefox plugin. Upon restarting Firefox after the malware is installed you will see this:

Fake Firefox Extension

This shows that a new Firefox extension has been installed. And it does look pretty legitimate, doesn’t it? The GUID for the extension is 191d3f14-ff4c-4895-bdea-db54526cb49a and the extension’s name and version number is “Adobe Flash Player 0.2″.

So what does this extension do? It, in conjunction with a trojan executable named smc.exe, monitors all your Google searches and sends them off to the server msjupdate.com where the keywords you search for will be stored in a database. The Firefox extension will inject ads into the web pages you view based on the keywords, but the bigger threat to privacy is of course that anything you search for will be recorded at a malicious server. Many users will Google their own name from time to time, which makes it possible to identify individual users along with their search queries.

So how do you know if you have this trojan on your system? Any of these signs indicate that you’re infected:

  • A running process named smc.exe Edit: Sygate Firewall also uses this process name so this is not a reliable indicator of infection.
  • A Firefox plugin named “Adobe Flash Player 0.2″
  • Having recently installed a file called install_flash_player.exe or Install_Flash.exe from an unknown source

Of course, TrojanHunter detects this as well so you can use it to check for and clean out any infection.

Update: Further research has shown that this malware also monitors all URLs you visit in Internet Explorer and submits them to the malware creator’s server. So this is worse than we initially thought. If you have this on your system then you basically have no privacy left.


Posted in General Security | No Comments »

TrojanHunter 5.2 Coming Soon

Written by Matthew on August 18, 2009 – 12:30 am -

Just a heads-up to let you know that TrojanHunter 5.2 will go into beta soon with a final version release hopefully before the end of August. Just to give you a taste of what’s changed, here’s an excerpt from WhatsNew.txt:

________________________________________________
TrojanHunter 5.2 Build 9xx (Released 2009-)

* Added detection of hidden Internet Explorer processes launched via COM automation
* Added trojan mutex detection
* Added bug reporting option if TrojanHunter crashes
* Added detection of suspicious svchost processes


Posted in General Security | No Comments »

“Image File Execution Options” is an Evil Registry Key

Written by Matthew on August 14, 2009 – 6:00 pm -

Came across a variant of Antivirus XP today that uses a particularly nasty way to ensure reinfection. It adds new subkeys to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options. The subkeys are the names of common programs such as notepad.exe or zonealarm.exe. It then adds a debugger value for each file, like so:

  HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\
    Image File Execution Options\zonealarm.exe\Debugger = "svchost.exe"

This means that everytime you try to launch ZoneAlarm.exe, svchost.exe will be launced instead – and in this case that is a trojan executable.

Thinking of adding TrojanHunter detection for any Image File Execution Options sub-key that has a Debugger value… it’s not that common on user systems.


Posted in General Security | No Comments »