OpenProtectedStorage and OpenCredentials

Discussion in 'Sandboxie (SBIE Open Source) Plus & Classic' started by Mr.X, Oct 14, 2022.

  1. Mr.X

    Mr.X Registered Member

    If my application works setting OpenCredentials=yes, is it more secure than opening full PStorage ie. OpenProtectedStorage=yes?
     
  2. DavidXanatos

    DavidXanatos Developer

    yes much more secure, in fact OpenCredentials is a rather unsecure preset as it is only enforced in user mode, OpenProtectedStorage has a drvier based enforcement and can those not be bypassed.
     
  3. Mr.X

    Mr.X Registered Member

    I think I don't quite understand your answer.
    Your answer tells me OpenCredentials=yes is less secure than OpenProtectedStorage=yes

    Gonna rephrase my question:
    Is it OpenCredentials=yes more secure than OpenProtectedStorage=yes?

    Cause opening full PStorage ie, OpenProtectedStorage=yes implies OpenCredentials=yes

    Take a look
    PStorage.png

    In my logic OpenCredentials=yes is less secure not more secure.
     
  4. DavidXanatos

    DavidXanatos Developer

    What I tried to say is that the restrictions provided by OpenCredentials is not enforced on the driver level,
    meaning a malicious application can bypass the user mode limitation in SbieDll.dll no mater what OpenCredentials is set to.
    So setting OpenCredentials=y is fine as it did not offer much protection in the first place anyways.

    While OpenProtectedStorage is driver enforced and setting OpenProtectedStorage=y reduces the isolation.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice