Secunia Logo
Netsikker nu! 2008
 
Windows Registry Editor Utility String Concealment Weakness
Secunia Advisory: SA16560
Release Date: 2005-08-24
Last Update: 2006-02-06
Popularity: 64,824 views

Critical:
Not critical
Impact: Spoofing
Where: Local system
Solution Status: Unpatched

OS:Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Igor Franchuk has discovered a weakness in Microsoft Windows, which can be exploited to hide certain information.

The weakness is caused due to an error in the Registry Editor Utility (regedit.exe) when handling long string names. This can be exploited to hide strings in a registry key by creating a string with a long name, which causes this string and any subsequently created strings in the key to be hidden.

Successful exploitation e.g. makes it possible for malware to hide strings in the "Run" registry key. However, these hidden strings created after the string with the overly long name will still be executed when the user logs in.

The same problem reportedly also exists for overly long registry keys.

The weakness has been confirmed in fully updated Windows XP SP2 and Windows 2000 SP4 systems. Other versions may also be affected.

NOTE: The "regedt32.exe" utility on Windows 2000 is also affected, but in a slightly different way.

NOTE: A virus is reportedly exploiting this method to hide in the registry.

Solution:
It's possible to see hidden registry strings with the "reg" command line utility.

Ensure that systems have up-to-date anti-virus and spyware detection software installed.

Provided and/or discovered by:
Igor Franchuk

Changelog:
2005-08-25: Added link to ISC and information about "reg" command line utility.
2005-08-29: Added information from Adam Boulton.
2006-02-06: Updated informaion about RegEdt32. Added information about virus utilizing this method to hide itself in the registry.

Other References:
ISC:
http://isc.sans.org/diary.php?date=2005-08-24


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. phpBB Avatar Script Insertion Vulnerability // 117 views
2. phpBB "gen_rand_string()" Predictable RNG Weakness // 110 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 79 views
4. phpBB Avatar Functions Information Disclosure and Deletion // 71 views
5. phpBB BBcode "url" Script Insertion Vulnerability // 69 views
6. phpBB Multiple Vulnerabilities // 54 views
7. Microsoft Windows Vista Page Fault Handling Denial of Service // 42 views
8. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 42 views
9. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 34 views
10. VMware VirtualCenter Multiple Vulnerabilities // 33 views