![]() |
| Re: comp-reg error |
|
majoMo
|
"hive path err" is related to "RegHive" file that wasn't able to be load by SandboxDiff. There are several reasons for, that you can check: . When starting the sandbox folder is empty; so "RegHive" file didn't exist to be analyzed. You need to do a dummy action to create it: e.g. open Notepad.exe sandboxed and close it. Start SandboxDiff after. . "RegHive" file was in use perhaps. You need to terminate all app. that are sandboxed firstly (when is asked by SandboxDiff). |
||||||||||||||
|
|
|||||||||||||||
|
Guest
|
Neither of those cases are true. It is reproducible. I looked, on initiation of sandboxdiff.exe Files_before reads everything in my c:\sandbox dir, but Reg_before also declares hive path err.
|
||||||||||||
|
|
|||||||||||||
|
Guest
|
I really don't know what I'm talking about here but I was able to see when the hive.bak files were being created I could peek in one that said HKEY_USERS hive or something...my reghive created when looked at in wrr starts with \Sandbox_<MyUserName_DefaultBox.
Anyway, if I run sandboxdiff before, during, or after a sandboxed app, it is not finding any reghive file which is at C:\Sandbox\DefaultBox |
||||||||||||
|
|
|||||||||||||
|
majoMo
|
When you have "hive path err" SandboxDiff was unable to load "RegHive" file for some reason. BTW, do you have "UserPath.bat" customized?
Can you describe in detail the steps that you do when install an app. sandboxed with SandboxDiff? I think that can allow a clarification.
No annoyance here. I can explain better further along (it's a form issue not a content question). BTW, WRR shows the registry status; SandboxDiff performs the registry changes between two status. |
||||||||||||||||||
|
|
|||||||||||||||||||
|
gyp
|
Well I have tried many different orders of operations now, including messing with the path declaration, but no avail.
My user path C:\Sandbox\DefaultBox My userpath line copy "C:\Sandbox\DefaultBox\RegHive" hive_1.bak /v /y > NUL 1. Sandbox "delete contents" 2. SandboxDiff.exe (re-read instructions see if i'm missing something) 3. Press OK (3.a.) Maybe look at Reg_before and see hive path err, continue anyway 4. Pick an app, right click, "run sandboxed" 5. Right click Sandboxie Control, pick "Terminate all programs" 6. SandboxDiff press "OK" 1d0 < hive path err \ No newline at end of file Same results if a RegHive exists or folder is empty. But also like I said my hive file key starts with Sandbox_Username_DefaultBox even though I have not set it to use a username My Sandboxie config is %SystemDrive%\Sandbox\%SANDBOX% I do not see a regdump.exe anywhere on my system. I have an nlited XP install. Thank you so much if you can explain |
||||||||||||
|
|
|||||||||||||
|
majoMo
|
Please try follows the sequence (notes in red):
- The "UserPath.bat" file (don't forget to rename "UserPath.bat.txt" to "UserPath.bat") needs to be in same folder that "SandboxDiff.exe". With your customized path: copy "C:\Sandbox\DefaultBox\RegHive" hive_1.bak /v /y > NUL 1. Sandbox "delete contents" --> When you do this you removes "RegHive" file also! ("C:\Sandbox\DefaultBox\RegHive") - Please add step 1A- and 1B 1A- Run Notepad.exe sandboxed. Close it after - so none app. is running sandboxed now. (this allows to create a "RegHive"). 1B- Check if a "RegHive" is in "C:\Sandbox\DefaultBox". It should be. 2. SandboxDiff.exe (re-read instructions see if i'm missing something) 3. Press OK (3.a.) Maybe look at Reg_before and see hive path err, continue anyway 4. Pick an app, right click, "run sandboxed" --> Don't do this step. For now don't run any app. sandboxed. 5. Right click Sandboxie Control, pick "Terminate all programs" 6. SandboxDiff press "OK" Please post the text that it is in "Comp-Reg.txt" file. Obs.: When you want work with SandboxDiff, you don't need to "delete contents". But if you do that you need to do a dummy action before (e.g. open/close Notepad), to create the "RegHive" file. |
||||||||||||
|
|
|||||||||||||
|
gyp
|
Still Reg_before gives hive path err
and Comp-Reg 1d0 < hive path err \ No newline at end of file Additionally, although these do exist, filemon reports: SandboxDiff.exe:3252 DIRECTORY C:\SANDBOX\ NO MORE FILES FileNamesInformation nircmd.exe:548 QUERY INFORMATION C:\Sandbox\UserPath.bat NOT FOUND Attributes: Error |
||||||||||||
|
|
|||||||||||||
|
gyp
|
Well like checking an alarm clock you set and already double checked 5 times, I made a new UserPath.bat and it is working now. Scratching my head, then I binary compared this new userpath.bat to the old one I deleted and they are binary = .
??? no clue what, maybe permissions or something??? Anyway, working good! Sorry to have wasted so much time. |
||||||||||||
|
|
|||||||||||||
|
gyp
|
I found the ***. The file name of my original UserPath.bat file had a SPACE before the U, at the beginning of the filename. lol
so sorry I will learn to work this *#! netbook touchpad! |
||||||||||||
|
|
|||||||||||||
|
majoMo
|
Good to see you found the annoyance. Because I couldn't find it never... Thanks for your time also and feedback. I appreciated that. |
||||||||||||||
|
|
|||||||||||||||
|
Guest
|
Thanks so much for sharing your work and not getting mad at me, this functions very well and is so useful. I do think that the instructions could be written a little bit more clear for dumber users like me, that an initial RegHive must be created first, through, for example, the 'notepad sandbox'.
so now how will we save the world economy next? |
||||||||||||
|
|
|||||||||||||
|
Guest
|
I put both SandboxDiff.exe and UserPath.bat to the main root of sandbox folder.
I configured the path inside the UserPath.bat. I doubled click on SandboxDiff.exe to start, running normally not being sandboxed! I saw a dialog and clicked ok. msgwait.exe crashed and reported the following error: AppName: msgwait.exe AppVer: 0.0.0.0 ModName: crtdll.dll ModVer: 4.0.1183.1 Offset: 000115ce The error report file: http://rapidshare.com/files/256737870/d098_appcompat.txt.html What's up? |
||||||||||||
|
|
|||||||||||||
|
majoMo
|
Something not easy to clarify. It seems that a google search for GRABMI_FILTER_PRIVACY produces tons of results. And isn't related to the app. itself like here.
|
||||||||||||
|
|
|||||||||||||
|
Guest10
|
Same msgwait.exe crash here. Not encountered with an older version of SandboxDiff.
Found this during Google search, so I assume that SandboxDiff is creating the msgwait.exe process: http://www.threatexpert.com/report.aspx?md5=077a9baf847b97696c9f82b2263cd4e0 |
||||||||||||
|
_________________ Paul XP Pro SP3 (Admin rights), Zone Alarm Pro Firewall, Malwarebytes Pro, Firefox 21, Thunderbird 17 |
|||||||||||||
| SandboxDiff - Registry/Files changes |
|
||
|


Use the RSS feed to watch this topic for replies