Wednesday, October 03, 2007

Internet Explorer Pop-Up Blocker Settings

In tracking down the Google cache for Jeff Davis' Favicon blog post, I also found his old writeup on pop-ups. Since the information is still useful, I have rescued it from the Google cache and copied it here for preservation.

on pop-ups

Date: Wednesday, 08 Mar 2006 15:35

I get a lot of e-mails from Internet Explorer users asking why they still get pop-ups even though they have turned on the Pop-up Blocker. Barring user error, there are three possible reasons discussed below.

Note: I will discuss several Pop-up Blocker settings. These settings can be accessed from Tools->Pop-up Blocker->Pop-up Blocker Settings.


Reason: You clicked (or otherwise initiated a user action) on the page and your Pop-up Blocker Filter Level is set to Medium.

Discussion: When we wrote the specification for the Pop-up Blocker feature, one of our primary goals was to allow pop-up windows that were legitimately useful to the user. The only piece of information we have by default is "did the user click something which ultimately was the cause of this attempted pop-up?" This works great most of the time: bank sites, stock trade sites, merchandise ordering sites, etc. It also gives the bad guys an opportunity if they can trick you into visiting their site and then into clicking on something. To mitigate this we did two things: 1) we limit the number of pop-up windows that can be opened as the result of any given user initiated action to one, and 2) we added the High setting. When you set your Filter Level to High, we block all new windows, even those that result from user actions.

Solution: Set your Filter Level to High; make use of the Allow List and the override key (CTRL) to allow desired pop-ups.


Reason: You have spyware or other malware installed, either with or without your knowledge.

Discussion: There are a huge number of software packages which, once installed, drive revenue to their creators by constantly spawning pop-up windows. Sometimes they are installed on your computer by exploiting known security holes, sometimes they come hidden in other software packages that (may or may not) perform other useful functions. If you experience an avalanche of pop-ups, especially if you have not even launched Internet Explorer yet, then this is probably your issue. If you are simply experiencing the occasional one-off pop-up while browsing the web, then one of the other reasons is the likely culprit.

Solution: Acquire and use reputable anti-spyware software. Microsoft has a Beta version of Windows Defender available for download here. A few minutes spent researching on the web should lead you to several other popular packages as well. Keep your computer up-to-date with regard to the latest security patches by visiting Microsoft Update on a regular basis and enabling automatic downloads of security patches.


Reason: The web site is making use of a Pop-up Blocker unaware Active X control that provides a mechanism for opening a new Internet Explorer window.

Discussion: Active X controls, when you get right down to it, are just COM objects running in the Internet Explorer process. They can do anything that any other program running on your computer can do. Any control installed on your computer, even ones that come pre-installed before you get your computer home, can be instantiated and run by any website. If the control exposes a method that opens a new Internet Explorer window, then malicious web sites can use it to open unwanted pop-ups. For application and web site compatibility reasons we cannot intercept and block these; the control must opt-in to Pop-up management. We are working with other teams and providers to patch these as they are brought to our attention.

Solution: Use Tools->Manage Add-ons to disable suspect controls. When you visit a web site and get unwanted pop-ups, open Manage Add-ons and see what controls are currently loaded by Internet Explorer. Through process of elimination, you should be able to disable controls that are being used to open Pop-ups. This may cause legitimate sites to stop working correctly and you will need to re-enable the control when you want to use it. (A balloon tip and blocked-control icon will appear on the status bar in Internet Explorer when a control is blocked. You can click the icon to quickly access Manage Add-ons and re-enable the control.)

Furthermore, do not install Active X controls from sites you do not trust 100%.

http://blogs.msdn.com/aggbug.aspx?PostID=546419

Author: "jeffdav"






Remember - "A day without laughter is a day wasted."
May the wind sing to you and the sun rise in your heart...

Missing Favicon in IE7?

As illustrated by the rose in the address bar for Security Garden, a favicon is a small image associated with a website. The rose I use is a miniature version of the rose avatar I use in the help forums.

I have had Jeff Davis' mini-FAQ on Favicons in IE7 saved in my RSS feed for many months. As I attempted to go to the source today, I discovered that in May Jeff Davis left Microsoft to pursue other opportunities. As a result, links to http://blogs.msdn.com/jeffdav/ returns "Defunct Blog".

Having retrieved the mini-FAQ from the Google cache, it is copy/pasted below for preservation purposes.

why doesn't the favicon for my site appear in IE7?

Date: Thursday, 01 Mar 2007 21:03

Today I have a mini-FAQ on Favicons.

Q: How do I make a favicon appear for my site in IE7?
A: There are two ways. The first is to put a file in the root of your domain called favicon.ico. The second is to use a <link> tag with the rel="shortcut icon" value and the href value set to the URL for the Icon you wish to display.

Q: How often does IE download the favicon?
A: IE will download the icon when a user first visits the site. The icon is stored in the Temporary Internet Files folder on the client machine. Additional metadata about the favicon is stored in the user's Url History database. If either store is cleared, or items relating to the favicon have naturally expired, then the icon will be downloaded again on the next visit. If more than one page (or site) shares the same favicon, it is only downloaded once. IE takes great pains to download the icon as few times as possible to reduce load on the server.

Q: I see the wrong favicon for some sites I visit. How do I fix this?
A: If the history database has become corrupted in some way, this can happen. The simplest solution is just to use Delete Browsing History (on the Tools menu) to clear the cache and the history store.

Q: I put a favicon.ico on my site as you described, but it still doesn't appear.
A: It must actually be a .ico (an Icon) file. Bitmaps, pngs, gifs, etc, will not work. IE7 will download your favicon to the Temporary Internet Files folder and call ExtractIcon() on the file. If this fails, we will show the default icon instead of your favicon.

Q: I verified that my favicon really is an icon, but it still doesn't appear.
A: Since IE loads your icon out of the Temporary Internet Files folder, it must be able to actually store it there. If you are setting the no-cache directive for the icon file, then IE will not be able to display your icon and will display the default icon instead. You can use Fiddler to verify.

Q: How do I create a different favicon for every page on my site?
A: Put a different tag on each page, pointing to a different icon.

Q: I changed my site's favicon to a different icon, but the old one still shows in IE. How do I force IE to update?
A: If you just put the favicon.ico file in the root of your domain, IE doesn't have any way of knowing if it changed. To force an update, you need to use a tag and point to a different filename than you previously used. The current filename is compared against the known filename stored in the Url History database. When IE sees the filename has changed, it will download your new icon. Alternatively, you can ask your users to clear their history and cache (Tools->Internet Options->Delete Browsing History), which will also force IE to download the new file.

That should cover most of the questions I've received about favicons in IE7. If you have more questions, feel free to ask.

Updated on Monday, 5th March to fix a spelling error and add some additional questions.

http://blogs.msdn.com/aggbug.aspx?PostID=1781537

Author: "jeffdav" Tags: "internet explorer, favicons"






Remember - "A day without laughter is a day wasted."
May the wind sing to you and the sun rise in your heart...

Tuesday, October 02, 2007

Botmasters Take Heed – You Are Being Put On Notice

Active members of the security community as well as those who frequent such forums for education and help most likely vividly recall the DDoS (Distributed Denial of Service) attack on Castle Cops in February.

Most times, the perpetrators escape unscathed, but not always! Read about the arrest of the alleged perpetrator in Robin Laudanski's report at Castle Cops: Botmasters Take Heed – You Are Being Put On Notice.




Remember - "A day without laughter is a day wasted."
May the wind sing to you and the sun rise in your heart...