Confirming Drop Rights Settings

Discussion in 'Sandboxie (SBIE Open Source) Plus & Classic' started by johnny_castle, Dec 20, 2022.

  1. johnny_castle

    johnny_castle Registered Member

    Joined:
    May 5, 2021
    Posts:
    79
    Location:
    USA
    I just installed Sandboxie Plus, and I'm loving it (life-long Sandboxie user here from the old days). I just wanted to verify something.

    I noticed "Drop Rights" wasn't checked by default, but was recommended. So I checked that. Is that better, worse or the same as far as functionality? My biggest thing is not having any issues pop up or compatibility settings go wrong.

    Also, does that follow I should also check the "Make applications THINK they are running elevated" for extra functionality?
     
  2. g17

    g17 Registered Member

    Joined:
    Sep 30, 2017
    Posts:
    120
    Location:
    MI
    I had no luck when I checked the drop rights option. Lots of errors and basic things did not work.

    A sandbox already drops the rights of most things so the drop rights only seems to affect things already isolated in the sandbox.

    I have had much better luck with restrictions, only allowing a very few programs to run in any given sandbox.
     
  3. simbun

    simbun Registered Member

    Joined:
    Jan 29, 2022
    Posts:
    71
    Location:
    United Kingdom
    "Drop Rights" is default in the more secure sandboxes so yes it should definitely be used. I use it not only for securing my browser but also to containerise a lot of other software and I've never had a problem.
    It appears (from the note in the Elevation restrictions section) that if you're running Windows with an admin account then it's more important to be running with Drop rights, but I could be wrong about that.

    I only enable this if I'm installing an application into a sandbox and it fails because it needs admin rights, but I'm not aware of any risk in opening this up by default.
     
  4. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,196
    Location:
    Nicaragua
    Hi johnny. For everyday regular use of Sandboxie, the functionality doing activities like browsing, reading webmail or watching videos, is the same whether you are using Drop rights or not. What you get out of using Drop rights is more security in the sandbox as Drop rights will not allow malware to install sandboxed.

    At the same time, as Drop rights don't allow malware or malicious programs to install in the sandboxed environment, it would also not allow good programs to install sandboxed. So, just remember when you want to install a program sandboxed, run the installation in a sandbox were Drop rights in not enabled since the installation will fail otherwise.

    Bo
     
  5. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,524
    Location:
    Viena
    About the application wont install, sone will with the fake admin privileges option:

    upload_2022-12-24_16-55-40.png

    So its worth a try to enable this before disabling drop rights.

    For classic users use notepad and add
    DropAdminRights=y
    FakeAdminRights=y
    to the appropriate Sandboxie.ini section
     
  6. johnny_castle

    johnny_castle Registered Member

    Joined:
    May 5, 2021
    Posts:
    79
    Location:
    USA
    Thanks for chiming in. As this also speaks to another question I had relating to installs. I often like to run unknown program installers in my sandbox first, just to see if I really want to keep them (and not let it gum up my system if it's something I really don't want). Will having both "Drop Rights" and the "Make apps think" option allow these to work better in the sandbox, while also keeping them contained from the rest of my system (and not ACTUALLY allowing them to install)?

    Also, would buying a token for one of the other dev boxes be a better option for this kind of thing?
     
  7. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,524
    Location:
    Viena
    Well the less isolation the better the compatibility, usually.
    So the expectation is that a green "Compartment Type" box will have the best chances of successfully running an installer.
    followed by a normal yellow box without drop admin rights and with special MSI Installer exceptions (if you are using a MSI based installer)
    followed by a normal yellow box without drop admin rights
    and least compatible would be a box with without drop admin rights and fake admin rights.
    In a box without real of faked admin rights most installers will not run (except those that install to a user folder and don't need services or alike)

    So yes for testing software that is not out right suspected of containing sophisticated malware a green box is the best choice.
     
  8. johnny_castle

    johnny_castle Registered Member

    Joined:
    May 5, 2021
    Posts:
    79
    Location:
    USA
    Thanks for all that info! Everything working great now!
     
  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