Computer Tip
Up one levelA new vulnerability in Microsoft Windows
According to the Microsft security advisory 926043, a flaw in the Windows shell could allow remote execution of code. This vulnerability was first published on 28th September and was updated yesterday 2nd October 2006 as the websites that exploit this flaw have been identified. The ActiveX control called Microsoft WebViewFolderIcon ActiveX control (Web View) has been seen to exploit this vulnerability that exists in the Windows Shell.
The effect of this vulnerability is limited in scope given that there is no automatic execution of code. You have to infact visit the malicious website to be affected. Since there is no way an attacker can force you to visit a particular website other than persuading or tricking you into clicking on a benign looking link that in fact redirects you to the attackers website, you should be pretty safe provided you follow the basic tenets of safe computing and browsing:
- Keep you antivirus software updated
- Do not click on links in emails from untrusted sources
- Do not allow websites to install ActiveX controls on your computer without your consent
- Do not login with an user with administrative credentials unless absolutely necessary
Microsoft suggests some workarounds to protect your computer before Microsoft releases a security update during its monthly patch cycle on 10 October 2006.
Workaround 1: Prevent Internet Explorer from running the Microsoft WebViewFolderIcon ActiveX control by setting the kill bit in the registry for the control. To set the kill bit in registry, paste the following lines in your favourite text editor and save the file with the extension .reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{e5df9d10-3b52-11d1-83e8-00a0c90dc849}]
"Compatibility Flags"=dword:00000400
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{844F4806-E8A8-11d2-9652-00C04FC30871}]
"Compatibility Flags"=dword:00000400
To apply this registry file to individual systems simply double click it to run it. If you are an administrator with many computers to patch in one or more Windows domains, you can use Group Policy to distribute the registry settings.
Workaround 2: Set the security settings for Internet explorer to prompt you before running any ActiveX Control. To set that in your Internet Explorer follow the steps listed below:
- In Internet Explorer click on Tools --> Internet Options --> Security Tab
- Click Internet and click on custom level
- Scroll down to ActiveX control and plug-ins section and under Run ActiveX controls and plug-ins and click on either Disable or Prompt then click on OK.
- Follow the same steps for Intranet zone and click OK to close the window.
The same settings again can be deployed to multiple PCs across Windows domains using Group Policies
What is Web view?
Web View is one of two different formats provided by Windows Explorer for viewing file and folder information. This feature allows users to preview documents in a thumbnail view before opening. In addition, information such as title and author is displayed.
Notice: By disabling the above ActiveX control, the websites that make use of ActiveX control will stop functioning correctly. In addition you will no longer be able to preview your pictures in thumbnails in Windows Explorer.
Warning: Only expert users should modify registry settings if at all. Incorrectly modifying the registry may create other problems or render your Windows installation useless. I don't guarantee that the incorrect settings will not harm your computer and accept no liability for your actions. The tip here provided is as is and should be used at your own discretion and caution. I have tested these out on my own computer and found to be working correctly.
- Category(s)
- Windows
- Information Security
- Computer Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/msftsec/tbping
Keep your laptop and lap cool
I normally don't do this, but for this gadget I felt that I had to do it. I recently bought a Targus Chill Mat against my regular buying habits just because it was on sale and was available for $9.99. I have an old Dell C400 laptop which has of late started to heat up significantly making it very inconvenient to use. I used to balk at the claims of the product manufacturers which say that the heat may burn your lap or degrade performance until I experienced one with my laptop. The laptop running Linux and my website (this one) had slowed down considerably. I didn't know what to do and how to improve the performance of the system. It is a P-III with 256 MB of RAM which was quite sufficient for me so far.
I thought it would be a long shot, but worth it considering the price was just $9.99 and bought it. My wife was more skeptical than me. The best part is it does not have any power requirement and it draws power from the source computer and it requires just 1.05W of power. To learn more of the specification click here. So now for just about a month I am using it and I have hardly seen the laptop's fan kick in for cooling and the laptop remains pretty much cold. I think I have to disconnect it for sometime to get it warm a little.
I now feel that this product is worth it's full price of 29.99 just for the fact that it cools down and protects your laptop. I have not seen major performance improvements, but again I don't use the laptop very regularly so I can't say for sure. But there is some performance improvement for sure. For most of the people with laptop computers, I would recommend purchasing this (or other similar) product and save yourself some breakdowns in the future.
- Category(s)
- Technology
- Product / Service Reviews
- Computer Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/targus_mat/tbping
Speed up your computer
No matter how fast the processor becomes or how cheap the memory gets, software vendors always manage to build applications that consume all available processing power, memory and other computing resources and always demand for more. How can we as users keep on top of all this? Simple. Just run what is necessary on your computer and disable / uninstall everything else that you need. But how can normal Joe Users like us figure out what is necessary and what is not?
Here's where I try to help by providing some tips and suggestions to optimise the usage or computing resources and increasing performance of your computer. Windows installs and starts up many services that may not be needed in a normal home environment or even in enterprise environment. Windows OS out of the box, is a trade-off between usability and optimum performance and security. Every person should configure and lock the system down to improve performance and security. In addition the OEM manufacturers install a lot of software that automatically starts up and takes up a lot of resources. But that is a different story altogether. I will not venture there right now as it has to be tackled on a case by case basis.
To speed up the computers without a lot of effort some of services should be disabled. I will list and explain the services in a phased manner so as to ensure that your computer does not break down and keeps running properly after services are turned off. To disable the services, first we need to start the Services Management console. In Windows XP, to start the console click on Start --> Settings --> Control Panel. If you are using the newer Category interface, click on Perfomance and Maintenance and click on Administrative Tools. In that look for an icon that looks like two engaged gears and is named as Services. If you use the Windows Classic interface, then double click on Administrative Tools and double click on Services to start the console. A short cut to start the console is to Click on Start --> Run and type in services.msc in the dialog window that appears.
You can scroll through the services to find out which are automatic and I am sure you will be amazed to find out what all is running on your computer. To start with you can safely disable the following services.
| Service Name | Description | Suggestion | Remarks |
|---|---|---|---|
| Alerter | This service notifies selected users and computers of any administrative events or alerts | Disable | In a home environment, we don't run any applications that require receiving administrative alerts. |
| Application Management | This service processes installation, removal and enumeration requests for Active Directory IntelliMirror group policy programs | Disable | We do not use Active Directory (used only in enterprise environment) in home computers |
| ClipBook | This service enable clipbook viewer to store information and share it with remote computers | Disable | Even if you have more than one computer at home, this service should be turned off. This may give rise to some unknown security vulnerability |
| Computer Browser | This service maintains an up-to-date list of computers on your network, and supplies the list to programs that request it. The Computer Browser service is used by Windows-based computers that need to view network domains and resources. | Disable | Same as above. In case you need to browse other computers on your network, you can temporarily enable the service. |
| Distributed Link Tracking Client | This service ensures that shortcuts and OLE (Object linking and embedding) links continue to work after the target file is renamed or moved by maintaining links in the file system | Disable | This is more useful in a networked environment where documents, spreadsheets are shared and linked to other documents and spreadsheet. |
To disable a service, open the service's properties page by double clicking it and click on Stop to stop the service and select Disabled from the drop down menu next to Startup Type as shown. To start the same service, open the service's properties page by double clicking it and change the startup type to Manual and click on Start to start the service.
That's all for this edition. I will list down more services with additional tips in the next edition.
- Category(s)
- Technology
- Windows
- Computer Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/services1/tbping
Speed up your computer - 2
In this edition of this article, I will list down more services that can safely be disabled. These services can be disabled by opening the services snap-in and changing the startup type and status of the services.
| Service Name | Description | Suggestion | Remarks |
|---|---|---|---|
| Distributed Transaction Coordinator | This services coordinates transactions that span multiple resource managers, such as databases, message queues, and file systems | Disable | In a home based environment, it is highly unlikely that we have a full range of application that carries these type of transactions. There is no use in keep this up. |
| Error Reporting | This service collects, stores, and reports unexpected application crashes to Microsoft | Disable | Error reports will not get sent to Microsoft and error reporting will happen only for kernel type and some user mode faults |
| Event Log | This services allows event log messages to be viewed in the Event log in case of problems | Disable | Logs are invaluable tools in resolving any problem in an enterprise. In a home environment though, you hardly need it. |
| Fast User Switching Capability | This service enables management for applications that require assistance in a multiple user environment | Disable | I was tempted to keep the suggestion for this service as Enable, but how many users do you have in your home computer? Even if you have more than one, how many times, do you log off? |
| Help and Support | This service enables Help and Support Center to run on this computer | Disable / Manual | Who needs Microsoft help and support when there is Google. Seriously, the natural instinct is to open up the browser and search in Google whatever you are looking for. Why waste resources. |
- Category(s)
- Technology
- Windows
- Computer Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/services2/tbping
Email Spam - Is there a way against it?
If I have to answer this question, my answer would be no. You cannot fight spam. Spam has been there from the time someone found out that it is cost effective to send hundreds / thousands of unsolicited letters if even 2-5% of the recipients buy from them as compared to other advertising media. Remember catalog mails, flyers, store advertisement?
We don't realise it, but it is a kind of spam that gets in our way of daily activities. We do have to spend time to sort through it and throw it away. You could have spent that time with your kid or wife instead. Why email spam is more frustrating is because there is almost no cost associated with it when compared with cost of production and number of emails sent out and secondly there is no charge to send it. As of today the spam emails amount to more than 85% of total email and the number is set to increase. Believe me.
I have heard options like electronic stamps for sending emails. It's just not practical. What can you and I do to fight spam in a more effective manner? Spam is not going to go away. The best we can do is to use tools to make it a little bit bearable. Compared to 3 years ago, the tools today are much more sophisticated and better. But the spammers are even more smarter than the tools. They work their ways around the tools and still send SPAM emails. Like they put a space between obvious words that SPAM filters catch or use variations of common words like for 500 they will write 5OO. Both look almost the same to human eye, but are totally different to the computer eye. You know what I mean.
There have also been services that declared war on Spam and promised a spam free environment by using spammers methods and tools against them. Remember Blue Security? The Israeli firm that tried that approach. They grossly underestimated the power of spammers. One russian spammer spam them so badly that it brought their entire email infrastructure on its knees and Blue Security conceded defeat and folded its operations.
The point I am trying to make though is you have to accept the fact that spam exists and will continue to exist no matter what we try. The only way to combat it is to make our tools better and most importantly IGNORE the spammers message and advertisement even if the product they are advertising is good and something you always wanted to buy. Someone somewhere clicks through their emails and they earn enough money to send another million emails. If we make it unprofitable for them to operate their spam rings, then only it will stop.
Waitaminute!!! I am talking about every person on this good earth who has a email address to ignore spam emails. Is it even possible? I don't think so. If you hate spam, then it is better to buy some good tools and organise your email so that all good emails that you want to receive go in places other than inbox and spam and unknown emails go to inbox. We cannot define what is bad, but we can certainly define what is good. Once we define what is good, then sort the good things so that you know what is bad and what is not so good.
Next I will talk about some tools that we can easily employ in the fight against spam.
- Category(s)
- Technology
- Information Security
- Computer Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/email_spam01/tbping
Sending Auto response directly from MS Exchange Server
Recently one of my co-workers came to me asking me whether it was possible to send automatic response to message directly from the server. There are situations where it is necessary to send automatic response directly from the server. The preconfigured Out of Office rule is a working example of that. Only, it sends a Out of Office: preamble to every message and it sends response only to the first email received from a particular sender. It may be necessary to send response to every message and with a customised subject and message.
Step 1: In your Outlook Client click on Tools --> Rules and Alerts. If you are using Office XP or older, then you will see Rules Wizard instead of Rules and Alerts.
Step 2: In the Rules Wizard select the Start from a blank rule - Check messages when they arrive option and click Next. In Office 2003 and previous versions, the Start from a blank rule option is available at the top of the dialog window. This will apply the rule to messages as they arrive in the inbox. In the next screen don't select anything and click on Next. It will pop-up a warning that the rule will be applied to all incoming messages. Click Yes to proceed.
Step 3: In the next window, select the action have server reply using a specific message. Click on the specific message link in the lower pane and it will open up a new mail message window. Type in the subject and the message you want to send to all leaving the To: and CC: fields blank. Once you are satisfied with the message, click on Save and close at the top left of the message window.
Step 4: In the next window, select the appropriate exclusion option if any and click Next. Give the rule an intuitive name. Make sure that you don't check the check box next to Apply this rule to messages in Inbox folder. Click OK after turning on the rule.
For any message that you receive after this point, the server will send an automatic reply to sender whether or not your Outlook Client is running or not.
- Category(s)
- Windows
- Computer Tip
- MS Office Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/msexch_tip01/tbping
Kernel issues with FC6
The Fedora project released their newest offering of the linux operating system last week. Roughly 7 months after their last release of Fedora Core 5 which is phenomenal as compared to "You Know Who". The cumulative upgrade is also good apart from the eye-candy changes with respect to the contentĀ and applications included in the OS package. The newer kernel is XEN enabled by default. I understand that XEN was included in Fedora from its Core 3 release, but I never really paid attention to it.
This time it caught my attention during installation with the application support & inclusion to XEN virtualisation. It caught more than my eye when the computer refused to boot up. FC6 uses a PAE (Physical Address Extension) enabled kernel (version 2.6.18-1.2798) and somehow it fails to identify the limitation of the CPU that it is being installed on if the CPU does not have PAE. On booting, the kernel went in to panic with the following message
KERNEL PANIC: Cannot execute a PAE-enabled kernel on a PAE-less CPU!
I tried really hard to recover from this. Even reinstallting the OS and going into GRuB command line to try and load another kernel. But it failed. I could install FC5 and then upgrade to FC6 from there without any issues. The FC5 and earlier versions do not enable PAE. I am yet to check out how FC5 would behave if I put in the same PAE enabled kernel on it. Probably it would faile too.
Anyway, I did not like the idea of giving up on solving this and upgrading from FC5 to FC6. Because, if this is a kernel issue, then I would definitely face this issue sooner of later when I upgraded my kernel so I got books from the library and search on the internet for whatever I could for the kernel and the bug (?) that was troubling me. On searching exhaustively with no results, I finally found something which I felt would work. I knew that I had to set a kernel option. But which one and what?
I found one list on XEN which talked about the same issue that I was facing and it noted that a workaround to the problem I was facing was to use
swiotlb=force
as a kernel parameter when booting. Although it talks about DomU, I was ready to try it on my computer. So I started the installation in rescue mode and at the kernel prompt, I gave this as a kernel parameter and the kernel did not panic. The FC6 went through first boot steps and got me to configure everything and then promptly hung.
It took a reboot to get the computer back on track and start working smoothly. After that it has been working quite nicely and I have done some testing on it that I will post here.
I will also post a detailed installation write-up here in the Technology section.
- Category(s)
- Linux
- Open Source
- Computer Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/fc6_kernel/tbping
Re:Kernel issues with FC6
Re:Kernel issues with FC6
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 swiotlb=force
initrd /initrd-2.6.18-1.2798.fc6.img
I started the installation in upgrade mode and just gave this parameter at the time of kernel configuration, but I guess you can get achieve this by:
1. Pressing ESC while booting before the timeout
2. Starting the installation in rescue mode and mounting the fs from there.
Re:Kernel issues with FC6
I am not sure why you cannot select your boot option in grub (after installing - on booting new system) and edit it using e, append swiotlb=force to the line that mentions vmlinuz and then boot. But apparently you cannot because I just tried it ;-)
Is this where XEN comes in? I still have the default grub config:
kernel /xen. ...
module /vmlinuz ...
and it looks like you abandaned that in favour of:
kernel /vmlinux ...
I will post this and reboot to try it...
Re:Kernel issues with FC6
Well I tried to set the kernel options at the boot menu, but I couldn't because I didn't know how and what. I know now.
I noticed that the installation process did not install XEN enabled kernel when I tried to fiddle with the XEN virtualisation environment. The next TO-DO thing on my list is to use the XEN-enabled kernel and see what happens.
Re:Kernel issues with FC6
Your entry here cleared up the issue though. I was nearly steered away from further experimentation with this kernel/distribution - evaluating for a non-profit organization to determine whether it will meet the needs of their constituents. Although I am an avid FreeBSD user, I recognize the need for a lighter, mobile computing OS for this group. I've poured through several distributions using a list of criteria with emphasis on usability for fairly *nix illiterate end-users. Fedora really seems to bring the goods to the table and the setup is one of the best I've seen to date.
Thanks for the post!
Microsoft releases latest security advisory
Microsoft released a security advisory yesterday on 31st October 2006 to address public reports and POC code exploiting a vulnerability in an ActiveX control in Visual Studio 2005 on Windows that could allow Remote code Execution. This vulnerability affects all editions of Windows except those running Visual Studio 2005 on Microsoft Windows Server 2003 (with and without SP1) in their default configuration where Enhanced Security Protection is turned on by default. This vulnerability also does not affect users running IE7 until they choose to enable the control through the ActiveX Opt-in feature in IE7.
The ActiveX control is the WMI Object Broker control, which is included in WmiScriptUtils.dll.
Mitigating Factors
For the RCE to happen in a web based attach, the attacker has to trick the user to visit a malicious website. If the attacker succeeds in doing so and executes the vulnerability, the attacker will get the same privileges as the local logged on user. Whoever is running with minimum user privileges would be less affected than those who run with full system administrator privileges. In addition to this as mentioned earlier, this ActiveX control is disabled by default in IE7 and Windows Server 2003 in its default configuration runs in Enhanced Security mode. By default, Outlook Express 6, Outlook 2002, and Outlook 2003 open HTML e-mail messages in the Restricted sites zone. Additionally, Outlook 2000 opens HTML e-mail messages in the Restricted sites zone if the Outlook E-mail Security Update has been installed. Outlook Express 5.5 Service Pack 2 opens HTML e-mail messages in the Restricted sites zone if Microsoft Security Bulletin MS04-018 has been installed
Some Thoughts
- Given the amount of websites running today, it is very difficult to distinguish between a benign and a malicious website. With so many website promoting tools (Digg, Furl, Rss, Del.ici.ous, RSS) available, it would be very easy to get someone to visit a malicious website by giving a catchy title to the link.
- IE7 has been released very recently. It's unlikely that many of the home users would have upgraded it, let alone enterprise users. I suspect many of them are still on IE6.0 SP2. So saying that this is disabled in IE7 doesn't mean much.
- Nobody users Windows Server 2003 for their day to day browsing needs as it is highly unbrowsable with every website is needed to be added in the allowed zone. Whoever uses it does so in a non-default configuration which may very well be vulnerable to this threat.
- How many times have we enabled active content in email messages in Outlook or Outlook Express when it displays a notification that it has blocked some active content in the message?
- How many users do you know who run a simple user on their home PCs? I have seen many enterprises who give their users full administrator access on their computers because its easy and less of a headache.
Precautions
We can try as much as we can to defeat such threats using technology. However using safe browsing habits and security minded approach would easily defeat such threats. Some precautions I take are:
- Not click on any link from an email from untrusted sources
- Identify some trusted sources for information and visit those for all my information needs.
- Keep my computers up to date with all the patches.
- Run Anti-spyware on my computers (it really does a good job of identifying suspected malicious websites)
- Category(s)
- Windows
- Information Security
- Computer Tip
- The URL to Trackback this entry is:
- http://www.dharwadkar.com/weblog/mssecadv_110601/tbping

I checked out what Doug had said and what he (and probably you are also) was trying to do was a special case of this feature. I have posted another weblog entry to treat this special case (http://www.dharwadkar.com/weblog/msexch_tip02).
Carry out as instructed about and then make sure this is enabled on ESM:
1. Open Exchange System Manager
2. Select Internet Message Formats under Global Settings
3. Double click on DEFAULT in the Right pane of the MMC
4. Select the Advanced tab
5. Select "Allow Automatic Replies"
Thats it.