Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Get rid of Desktop Gadgets and Windows Sidebar ASAP!  (Read 12113 times)

0 Members and 1 Guest are viewing this topic.

evilfantasy

    Topic Starter
  • Malware Removal Specialist


  • Genius
  • Calm like a bomb
  • Thanked: 493
  • Experience: Experienced
  • OS: Windows 11
Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« on: July 20, 2012, 01:56:26 PM »
Security blogs have lit up this week of a vulnerability in Windows Desktop Gadgets and Windows Sidebar.

If  you are using the Windows Sidebar there is new news going around about how new malware can easily exploit  the Windows Sidebar and everyone, including Microsoft, is advising to get rid of the Windows Sidebar ASAP.

More info…

The Fixit is offered part way down the page in this Sophos blog post. Disable Windows Sidebar and Gadgets NOW on Vista and Windows 7. Microsoft warns of security risk

Quote from:  Graham Cluley on July 12, 2012 | Sophos
Clearly Microsoft is worried about the security researchers’ findings, and has issued a “Fix It Tool” which will protect Windows 7 and Vista users by entirely disabling the Windows Sidebar and Gadgets functionality.
« Last Edit: July 20, 2012, 02:07:45 PM by evilfantasy »

evilfantasy

    Topic Starter
  • Malware Removal Specialist


  • Genius
  • Calm like a bomb
  • Thanked: 493
  • Experience: Experienced
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #1 on: July 20, 2012, 05:19:49 PM »
Here are some safe alternatives to replace the Windows Sidebar.

Thooseje is something I have used before (been many years ago) and it was probably the best alternative I could find at the time.



IMPORTANT! ALWAYS be very careful with Windows customization packs. Changing a Windows theme often also changes the Windows Shell. In other words. If something goes wrong, the only way out may be a complete re-install of Windows.

Be careful and no matter if you install custom themes or not. Always back up your important documents and pictures to another drive or online "cloud" service just in case!

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #2 on: July 20, 2012, 06:10:06 PM »
I think I shut off the windows sidebar first thing after I started using Vista.


To my recollection it's not even enabled by default with Windows 7, though I'm not sure about that.
I was trying to dereference Null Pointers before it was cool.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #3 on: July 20, 2012, 06:15:55 PM »
You're correct about Win7 BC...
" Anyone who goes to a psychiatrist should have his head examined. "

evilfantasy

    Topic Starter
  • Malware Removal Specialist


  • Genius
  • Calm like a bomb
  • Thanked: 493
  • Experience: Experienced
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #4 on: July 21, 2012, 08:52:34 AM »
Are they actually disabled by default or just not visible.

I already ran the fix it so can't tell. If someone has not run the fix it then you can find out easily with a HJT log and let us know.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #5 on: July 21, 2012, 09:54:44 AM »
Are they actually disabled by default or just not visible.


disabled. sidebar.exe is not in the process list.
I was trying to dereference Null Pointers before it was cool.

evilfantasy

    Topic Starter
  • Malware Removal Specialist


  • Genius
  • Calm like a bomb
  • Thanked: 493
  • Experience: Experienced
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #6 on: July 21, 2012, 10:14:55 AM »
Cool. Thanks BC!

evilfantasy

    Topic Starter
  • Malware Removal Specialist


  • Genius
  • Calm like a bomb
  • Thanked: 493
  • Experience: Experienced
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #7 on: November 29, 2012, 12:01:06 PM »
After reporting the severe vulnerability in the Windows Sidebar they still are making available Sidebar Gadgets with no warning of the Microsoft Security Advisory to remove the Windows Sidebar.
 
 Example: Windows XP End Of Support Countdown Gadget

Quote from:  "Microsoft Download Center"

 System requirements

 
 Supported operating systems: Windows 7, Windows Vista
 
 Windows 7 32-bit or 64-bit, any edition.

quaxo



    Guru
  • Thanked: 127
    • Yes
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #8 on: November 29, 2012, 07:22:12 PM »
Glad you reposted in this. I missed it the first time around. I've been having issues with that Sidebar for a while. Time to just junk it.

Looks like they've pulled the Gadget Gallery and put this notice in it's place:
Quote
Because we want to focus on the exciting possibilities of the newest version of Windows, the Windows website no longer hosts the gadget gallery.

Which is read:
Quote
Because we screwed up and created a huge vulnerability, we're glad this isn't a feature for Windows 8, and we're just going to let this kind of disappear as a huge mistake, like Windows ME.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #9 on: November 29, 2012, 08:57:56 PM »
Which is read:
Quote
Because we screwed up and created a huge vulnerability, we're glad this isn't a feature for Windows 8, and we're just going to let this kind of disappear as a huge mistake, like Windows ME.

I'm reading the Specifics of the vulnerability as presented at the Black Hat conference for which Microsoft was responding pre-emptively.
I found the actual Video and am Watching it now. At least I think I did, it's definitely from defcon and they seem to be talking about sidebar widgets.

I started to fast forward and skip parts of the presentation, then I realized I was watching the wrong one after all. This is the actual one in question that prompted numerous "security advisories"... this was surprisingly difficult to find, I had to actually search on youtube because google was filled with crap posts that talked about "omg you need to patch dis" but not actually showing the video or the actual security vulnerability in question. Such a vulnerability- even one labelled "remote code execution" could easily be mitigated, some of them require a very specific set of options, too. So I watched this. Or rather, am currently watching it.

So far, I've noticed a few things. I'll post notes here as I watch it.

At one point they talk about how Windows Desktop evolved. Their slide says "the technology and concept on which the sidebar widgets are based is based on the ideas from Active Desktop, introduced with Windows XP"... They say that "people have told them it existed in Windows 98 but they couldn't find any traces of it"... IMO this is pretty incredulous already... Windows 98 introduced Active Desktop and in fact a default install put a Channel bar on your desktop that was impossible to miss and you had to explicitly disable it. XP's implementation was disabled by default, I don't even remember if it worked properly, because a lot of DHTML related content was removed. Not sure why this is worth mentioning but I just found it a bit odd that such facts would be mixed up... Heck Active Desktop was on Windows 95 with the IE4 Update.

Continuing on....

Some of the points they make are that this vulnerability is not inherent in the sidebar, but is more a factor of the development model that the gadgets typically take, which is mostly that they are quick, one-off scripts designed for a purpose but not specifically with security in mind, particularly not using SSL for web queries. They explicitly say in the presentation that (not an exact quote, fwiw) "this isn't news, if you write bad code, you are going to get compromised. This type of thing will be far more useful for exploiting gadgets and other similar widget-based features on mobile platforms as well as on the web through container-based apps that are how smartphones typically approach application development"

Some further notes: The researchers (can we call them that? yeah, I think so, why not) note that they were impressed by both the security model documentation provided by Microsoft regarding how to properly secure gadgets, given what they found in third party gadgets.

The two things I have taken from this are that:

-the "vulnerability" is mostly social. In that most people don't bat an eye to installing gadget's anymore today than opening an E-mail or website, in that they don't really think of a ".gadget" file in the same way as a ".exe" file. Their "Proof of concept" of a malicious gadget should come as no surprise in that it did something malicious. Obviously, a precursor to such a malicious gadget doing malicious things is the installation of said gadget.

-None of the default Windows included gadget's have this problem. The one they demo'd, aside from their example of a malicious gadget, was a Man-in-the-middle attack on a "Piano" gadget that was part of the Windows Live gallery. It was particularly interesting since the MitM attack was able to leverage the Gadget platform and get a Powershell prompt that was controllable from the remote end.

-just having sidebar and gadget's running is not in and of itself enough to exploit this "vulnerability". the gadget itself needs to be coded with an ill-focus on security (the demonstration used the Piano App). Fundamentally they never really explained the "vulnerability" even in the Piano App; it seemed to rely on a MitM attack to work successfully at all, though I'm not sure about that. (They used a MitM attack to send crafted results to the Piano App when it was downloaded, which allowed arbitrary Javascript to run, download a powershell program, and then write a batch file to launch the powershell binary which worked around the default setting to not run powershell programs, and then launch said powershell script, with an active connection via ncat to a remote machine. This provides shell access at the user level to the remote user via a Powershell prompt. definitely not something you want.

It's the MitM thing I can't get around. The entire thing seemed to rely on that- even though they claimed it wasn't necessary, I don't see how you could intercept and change the HTTP response from a gadget's requests without either a MitM attack or otherwise already having control of the machine anyway, meaning you could probably perform the payload more directly since you have some modicum of control. Obviously gadget's can be vulnerable and exploited, but from where? I'm still skeptical this is really much of a security problem at all.

From what I could tell, the problems would lie with the gadget's themselves and how they don't use SSL to prevent a MITM attack from crafting responses. Since it is a problem with the gadget's themselves, Microsoft cannot really fix it. They provided (as the researcher's mentioned) a very well-documented set of security documentation on how to properly write gadgets, and the gadget' writers ignore it; can't be helped. The only real fix would be to disable the Gallery and that sort of makes gadget's pointless. (Though it's arguable whether they were much use to begin with, really).

This was the video, by the way. (41 minutes. I found it exceedingly boring, to be honest.):

http://www.youtube.com/watch?v=-Q8rDADin1s&feature=related

I figure the advantage from the malicious side is mostly that it's easier to get people to install a malicious gadget than a malicious application.
I was trying to dereference Null Pointers before it was cool.

evilfantasy

    Topic Starter
  • Malware Removal Specialist


  • Genius
  • Calm like a bomb
  • Thanked: 493
  • Experience: Experienced
  • OS: Windows 11
Re: Get rid of Desktop Gadgets and Windows Sidebar ASAP!
« Reply #10 on: November 29, 2012, 09:19:30 PM »
I would venture to say that most vulnerabilities addressed by MS Updates take a certain set of circumstances to actually be a vulnerability. Exploits/Malware takes a certain amount of user interaction to become "live".

Whenever Firefox updates and the add-on developers are not prepared then you get add-ons not working any longer. Mozilla patches holes, the add-on developers have to update their creation or be left behind. A theory of mine (strictly opinion) is that the Windows Sidebar was really just a fad and was abandoned as an attractive opportunity for developers years ago. Without developers developing, the gadgets are left open to exploit.

So instead of pulling abandoned gadgets and cutting the Gadget Gallery down to nothing they pulled the plug. The numbers probably don't add up to make the sidebar worthwhile. At least Google admits when an idea no longer constitutes time and money.