Nasty regedit bug



This is unusual, but it sounds like there is a bug in regedit (and regedit32) which prevents the displaying of unusually long registry keys. Now, that sounds innocent enough, it also prevents the viewing of keys entered under them. Again, ok not a crisis. Imagine if you had an extremely long registry key entered in the ….software/microsoft/windows/currentversion/run area? Annoying maybe? Ok, what if it were put there by malware? Oooooooh… that would be bad….



The handlers diary at Incidents.org is detailing this bug which has been reported by Secunia. Essentially the extremely long key can be added, just not viewed with regedit/regedit32. It sounds as though the command line, reg program can display it…

(BTW as of this writing the Secunia site seems down. 8/24 9:17PM EDT)

C:>reg query HKLMSoftwareMicrosoftWindowsCurrentVersionRun

the above for instance would display it, but a browse in regedit wouldn’t. Also note that items in the extremely long entry would run just as well. The Sans Institute also mentions another program that will find the “invisible” entries Sysinternals Autoruns.

They further point out how much fun removing one of these entries might be…

Once you’ve found them, getting rid of the offending registry entries isn’t too easy, either. What worked for us during the tests was again “Autoruns” from Sysinternals, presumed you use the current (8.13) version. Older versions seem to occasionally choke on the long keys. Another approach one of the handlers used successfully was to do a “reg export” on the command line of the entire “Run” key. Then he manually deleted the entire “Run” key from the registry, edited the exported file to remove the offending keys, and re-imported the reg file, thus recreating the “Run” key.

Of course, the usual disclaimer applies when you are monkey-wrenching the registry. You have been warned.

They are also soliciting information on any other registry editors/programs that can see these extremely long entries and or remove them. Most of the more familiar tools don’t see them there….

Update 20:21 UTC: Spybot S&D, AdAware and MS AntiSpyware Beta don’t seem to find anything offending with the long key. “Show Autostarts” of MS AntiSpyware Beta does not list the hidden keys. Spybot S&D TeaTimer will intercept the registry key from being added.

That would be REAL bad….

Related Posts

Blog Traffic Exchange Related Posts
  • Update on Long registry entries bug Incidents.org has an update on yesterdays story of very long registry entries not being visible in most registry tools (regedit among others.) They have an updated list of what does and does not read these long keys. They've alluded to nasties in the wild that are already taking advantage of......
  • Task manager has been disabled by your administrator The first problem I ran into in cleaning up after my infested Windows XP image was this error message. One of the first things I do in cleaning an infested system is try to kill off running process that look suspect (or at least identify them.) On using ctrl-alt-delete I......
  • How to Remove Antivirus 360 This should not be confused with Norton 360 which is a legitimate antivirus program (although if you need help removing Norton 360 to reinstall it or another antivirus program you may want to visit my antivirus removal tool list.) What we are talking about this time is a rogue security......
Blog Traffic Exchange Related Websites
  • how to get the maximum speed of your pc or laptop A pc or a laptop may take ages to respond to any command you feed into it. This is called performance. Your pc or laptop may take too long to load the information you need urgently. Sometimes it will crush when performing light tasks. You might have realized that the......
  • How to Install a Window Air Conditioner the Right Way As summer approaches, those of us without central air are getting ready to go through the annual ritual of installing our window air conditioners. However, were you aware that a bad installation can actually raise your electricity costs and make it harder to say cool? Here are some tips to......
  • How to Fix the Windows Blue Screen of Death Hopefully after reading this article I will have some light on this for you. I will give three steps you can do to help diagnose and repair the windows blue screen error. All these are tasks you can complete on their own before taking your computer to a repair shop.......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site