exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

registryHiding.txt

registryHiding.txt
Posted Aug 25, 2005
Authored by Igor Franchuk

Microsoft Registry Editor for Windows 2000 and XP has a nice design flaw that allows for the hiding of registry information.

tags | advisory, registry
systems | windows
SHA-256 | c896ffe333e77dd73bc446724ae93cef2d2918ef54a1c493db3c3ec04bf68e02

registryHiding.txt

Change Mirror Download
Hello All,


PRELUDE

/*
Registry Element Size Limits
The following are the size limits for the various registry elements.
The maximum size of a key name is 255 characters.
The maximum size of a value name is as follows:
Windows Server 2003 and Windows XP: 16,383 characters
Windows 2000: 260 ANSI characters or 16,383 Unicode characters.
Windows Me/98/95: 255 characters
Long values (more than 2,048 bytes) should be stored as files with the file names stored in the registry.
This helps the registry perform efficiently. The maximum size of a value is as follows:
Available memory.
Windows Me/98/95: 16,300 bytes. There is a 64K limit for the total size of all values of a key.
*/


DESCRIPTION

Microsoft Registry Editor for 2K and XP (Regedt32.exe) has a nice design flow
that is naturally allows to hide registry information from viewing and
editing even from users with administrative access. (really handful, thanks guys)


POC

To reproduce the desired behavior:

- run Regedt32.exe
- create a key, let it just be
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Empty
- in this key create any string value with the name exceeding 256
symbols (260 is the max) or just copy-paste:

helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworl

Press F5 (refresh) and you will see how the key magically disappears.

Now create ANY key within
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Empty
and press refresh again - it will NOT BE SEEN by regedt32.



PRACTICE
There is a tremendous implementation field for this behavior.


TESTED
On XP SP2 Eng, SP1 and 2K RUS. The testing is by no
means complete but I hope it is working on all 2K and XP systems.
Sorry if it is not.

SUGGESTED FIX
Make it possible to mange visibility by specifying (_?_) (_$_) and
(_._) in the key names.




--
www.rol.ru
Best regards,
Igor mailto:sprog@online.ru

























NOW SOME REALLY SERIOUS STUFF

Q:
What does boot progress mean?
A:
Bugs, they're warming up.

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close