Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

5 Pages V   1 2 3 > »   
Reply to this topic
 Raw Registry Editor, Edit registry hives without using Windows API functions
post May 16 2008, 09:30 AM
Post #1
Nuno Brito
Platinum Member   ******
Group: .script developer

  Joined: 13-July 06 From: Pittsburgh

Posts: 7,846
Thank(s): 341


Portugal


Raw Registry Editor


This was a project that started some time ago and intended to understand how the registry hives worked.

Today I can say that this goal was achieved and the registry hive can be edited without using windows registry functions.



Download link: http://nunobrito.eu/download.php?view.10


What is the advantage of not using Win32 API?

- No need to load a hive into the local registry
- Overcome any security restrictions imposed by Win32 API
- Works on every Windows platform (from Windows 9x all the way up to Vista)
- No UAC restrictions regarding hive load without administrator permissions
- More features can be added in the future.



--------------------------------


Things to expect from this Raw Registry Editor (RawReg for short name)


- Freeware
- Fast
- Gives a (huge) amount of details and information about any given hive


----------

What can it do?

- Browse the hive structure
- Edit the data on values
- Change the title of values
- Show a map with information of data inside each bin
- Show details about physical offset of any given key


Please note that unlike any other raw registry editors, this is the only program that can really add more data onto a given registry hive and manage the bin space properly. In the past, people were limited to only change data on keys that needed to have the exact same size, there are no such restrictions here and many things can be added - post your requests and I'll see if they can be included.



It is also the initial test version, more features will be added in the future.

Hope you like this tool.

smile.gif


--------------------
http://f0rums.com - grab a free forum to include inside your site.

The revenue from clicking on publicity at this post is given to Nuno Brito

.
+Quote Post
post May 16 2008, 09:54 AM
Post #2
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


GOOD!

I will test it as soon as I can and report.

smile.gif

jaclaz


--------------------
+Quote Post
post May 16 2008, 12:06 PM
Post #3
paraglider
Silver Member   ****
Group: .script developer

  Joined: 12-August 06 From: NC,USA

Posts: 855
Thank(s): 101


United States


It crashes when I load a none live software hive:

Unhandled exception at 0x772388f7 in RawReg.exe: 0xC0000005: Access violation writing location 0x00030fc4.
+Quote Post
post May 16 2008, 12:19 PM
Post #4
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


Hmmm, dubbio.gif as I see it not (yet wink.gif ) ready for anything but debugging.

Problems/reprts (on win2k):
1) by default the "open hive on start" is checked, thus if there is a problem with a hive, the program won't run EVER again until you have deleted rawreg.ini
2) Open a "default" hive, size 164 Kb in size - result OK
3) Open a "SAM" hive, size 32 Kb in size - result OK
4) Open a "SECURITY" hive, size 32 Kb - problems:
a. when clicking on "Policy" ERROR - Access violation error at address 0047F530
b. when clicking on the small + sign near "Policy" it opens the subtree correctly, but clicking on any folder below "Policy" results in "cannot access file <path>\SECURITY file is in use by another process
c. file seems to remain "in use" even if you open another hive and then try reloading "SECURITY"
d. if you DO NOT click on "Policy" and open the sub-tree clicking on the + sign, keys are accessed allright
5) Open "software" hive size 11.460 Kb, CPU goes 98 %, memory usage goes beserk, stepping up in 4 kb steps, each step every two seconds roughly, app does not respond, terminated after 5 minutes running and at 54.368 Kb memory occupied
6) Open "system" hive size 5.368 Kb as 5) above
7) Same for "software" and "system" hives sized respectively 2.756 and 1.840 Kb memory usage grows MUCH faster, after two minutes running around 240.000 Kb w00t.gif still not respondong, then dropped down to aout 11.000 kb, still not responding, starting growing again, after another two minutes back to around 240.000 Kb - killed-

sad.gif

Do you need any form of logging?

jaclaz


--------------------
+Quote Post
post May 16 2008, 12:31 PM
Post #5
paraglider
Silver Member   ****
Group: .script developer

  Joined: 12-August 06 From: NC,USA

Posts: 855
Thank(s): 101


United States


That was similar to what happened to me. Opened sam file ok then tried to open software. The program hung. Killed it, deleted the ini file, then restarted the program and attempted to load software. I now get the crash every time.
+Quote Post
post May 16 2008, 12:35 PM
Post #6
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


More probs:
Opened a ntuser.dat 192 kb in size
1) changing details to "hive map" gives a "Richedit insertion line error"
2) hive time stamp reported as 01/01/1601, I do have this machine since a long time, but NOT such a long time wink.gif

jaclaz


--------------------
+Quote Post
post May 16 2008, 03:54 PM
Post #7
Nuno Brito
Platinum Member   ******
Group: .script developer

  Joined: 13-July 06 From: Pittsburgh

Posts: 7,846
Thank(s): 341


Portugal


Interesting results, thank you for testing and posting the results.

My experiments up to this point have been done with setupreg.hiv and bcd files.

Will now pick on the other hives to see why they are different and improve the results.

Thank you!

smile.gif


--------------------
http://f0rums.com - grab a free forum to include inside your site.
+Quote Post
post May 16 2008, 05:24 PM
Post #8
MedEvil
Platinum Member   ******
Group: .script developer

  Joined: 29-December 06
Posts: 4,490
Thank(s): 113


Even though there are still a few initial problems.
thumbup.gif thumbup.gif thumbup.gif thumbup.gif thumbup.gif For finishing this Baby!!!

Great work Nuno!


--------------------
NaughtyPE - The Multimedia PE!
Requirements: WB072 or 077RC2, XPSP2/W2k3SP1 source, Pentium CPU, 128MB RAM (256MB to use video players)
+Quote Post
post May 16 2008, 09:01 PM
Post #9
Nuno Brito
Platinum Member   ******
Group: .script developer

  Joined: 13-July 06 From: Pittsburgh

Posts: 7,846
Thank(s): 341


Portugal


One detail:
If the program crashes while trying to load a hive (or non-hive) file - then the memory won't be properly disposed until the system is rebooted. Please forgive me as I'm still a bit unexperienced handling memory streams when things go wrong.. rolleyes.gif

For those who know delphi - I'm using TFileStream to map the file into memory. Have to learn a bit more about them or use a better way to open files and properly dispose the memory they use when the program crashes.

-------------------------------


One request:

Please send me as email attachments the problematic hives so that I can test them at home.

Thank you for the feedback.

smile.gif





--------------------
http://f0rums.com - grab a free forum to include inside your site.
1 user(s) said "Thank you!" to Nuno Brito for this fantastic post:
TheHive
+Quote Post
post May 17 2008, 01:37 PM
Post #10
paraglider
Silver Member   ****
Group: .script developer

  Joined: 12-August 06 From: NC,USA

Posts: 855
Thank(s): 101


United States


Registry hives tend to be quite large even when zipped. Are you sure you want them as an email attachment?They may also contain sensitive information that its not a good idea to trust to email.
+Quote Post

5 Pages V   1 2 3 > » 
Reply to this topic
2 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts Registry Editor
2 Mobius 187 20th January 2010 - 04:26 AM
Last post by: Mobius
No New Posts Registry parrameters
0 Résiliences 290 18th November 2009 - 10:13 AM
Last post by: Résiliences
No New Posts registry restore wizard
wizard
5 twindude 1,879 13th May 2009 - 12:55 AM
Last post by: Lancelot
No New Posts Registry entries continuesly deleted. HELP!!!
7 MedEvil 1,171 14th March 2009 - 04:48 PM
Last post by: MedEvil
No New Posts Registry settings to modify certain behaviors of windows.
direct download of .reg files.
0 Nuno Brito 788 16th January 2009 - 12:51 AM
Last post by: Nuno Brito