Outlook in Sandboxie

Discussion in 'Sandboxie (SBIE Open Source) Plus & Classic' started by n8chavez, Feb 24, 2022.

  1. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Is it possible to run Outlook 2021 in Sandboxie? I know there's a template for it, but I cannot seem to get it to work right. When I execute outlook.exe, after applying the template, nothing launches.
     
  2. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    I was able to get outlook to run. But it cannot connect, and I'm not sure why. I can't see any restriction to internet access that would be causing the problem.

    sbieout.png

    Here is my outlook sbie config.

    Code:
    Enabled=y
    AutoRecover=y
    RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
    RecoverFolder=%Personal%
    RecoverFolder=%Desktop%
    BorderColor=#00ffff,off,6
    Template=Office_Outlook
    Template=OpenBluetooth
    Template=SkipHook
    Template=FileCopy
    Template=qWave
    Template=BlockPorts
    Template=LingerPrograms
    Template=AutoRecoverIgnore
    ConfigLevel=9
    ForceProcess=OUTLOOK.EXE
    ForceProcess=<Office_Outlook>
    PromptForInternetAccess=y
    ProcessGroup=<InternetAccess>,OUTLOOK.EXE,OfficeC2RClient.exe,<Office_Outlook>
    ProcessGroup=<StartRunAccess>,waterfox.exe,OfficeC2RClient.exe,<Office_Outlook>
    Template=OfficeLicensing
    Template=OfficeClickToRun
    FakeAdminRights=y
    CopyLimitKb=81920
    BlockNetParam=n
    DropAdminRights=y
    AutoDelete=y
    AllowRawDiskRead=y
    ClosedIpcPathDisabled=!<StartRunAccess>,*
    Any ideas?
     
  3. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Really? No one's been able to get it working? It's not like it a niche program; it's the most popular email client in the world!
     
  4. henryg1

    henryg1 Registered Member

    Joined:
    Jun 14, 2020
    Posts:
    411
    Location:
    uk
    I still can't get Thunderbird to work either.
     
  5. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    Is there any reason for you to run Outlook in Sandboxie?
     
  6. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,920
    you are advertising your problem since 3? - 4? month now and still no solution?
    maybe you really should uninstall "AVG Internet Security" and use its cleaner afterwards, of reinstall win10 from scratch or use a proper image where such crap was not installed.

    image from latest (upcoming) TB 91.7.0 x64 in SBIE latest classic and win10 21H2 19044.1566
    no problem here, must be your broken windows or interfering software (dll injections, wrote about before)
     

    Attached Files:

  7. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Yes. Any application that accesses the internet gets run in SBIE on a RAM disk, or I don't use it.
     
  8. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,920
    famous last words ^^
     
  9. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    But I'm trying to understand the reasoning behind it. Can't you configure it in a way that attachments open inside the sandbox? Because I suppose you are worried about this, right? And what good is the RAM disk for?
     
  10. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,920
    very simple - its deleted after usage. nothing left over after a (windows) restart. thus his settings file must be full with exceptions and a lot of other restrictions. too much trouble in little china from my view.
     
  11. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,807
    Location:
    .
    Do you know what it is and how it works?
    If you can answer yes then you automatically can figure out the benefits of a RAM disk + sbie
     
  12. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    It's simple. I want control over any application that has write permissions to my harddisk(s) and also has access to the internet. That way I can regulate the permissions of any application that meets those criteria. Having those applications have access only to an isolated RAM drive further limits the possibility that anything will happen to my system because of those applications. Don't forget, applications write to the disk more than you think. In the case of Outlook, you're talking about database files, messages, cache, etc. It's more than attachments. Essentially, anything even remotely possibly infectious gets vetted by with; with permission to write to the real disk granted only by me.

    All of this is kind of the point of Sandboxie.
     
    Last edited: Mar 8, 2022
  13. Alexhousek

    Alexhousek Registered Member

    Joined:
    Jul 25, 2009
    Posts:
    662
    Location:
    USA--Oregon
    I have tried for a long time (years) to figure out how to get Outlook to run in Sandboxie and I've given up. In fact, getting Office 365 to work in Sandboxie has never worked for me. I've stopped using Sandboxie for this reason. I still use Outlook and Office 365, and I just do my best to not open attachments in Outlook unless I know who sent them and I'm expecting them.
     
  14. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,920
    i dont use MS Office products for 20 years now, in private, too much bloated, too much money for nothing except issues. sandboxie itself is used daily, most times in background, not active. regular used programs are save and secured to let the work without.
    the issue between outlook/ms office and sandboxie is quite long. giving up is no option but at some point people need to accept that there exist no solution - or drop software. thats quite simple to understand.
     
  15. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    8,644
    Location:
    USA
    The idea of running any recent version of Outlook in Sandboxie seems unworkable. I've attempted for the challenge of it but like others have stated I have not been able to get it to work with reasonable or even slightly unreasonable means. I just use Outlook as intended and it something gets by that's what my daily system backups are for. Even if you could get it to work the risk of losing email you didn't want to by emptying the sandbox or having it get corrupted just seems more likely than actually getting infected or exploited. I understand the idea of why someone would want to do it but I can't see it being worth the effort. About the time you would get it to work Microsoft would probably update Outlook (or Windows) in such a way as to break it again.
     
  16. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,920
    the problem is that outlook is part of ms office and anytime in progress. just read an article where outlook is again breaking up and reformatting elements in its UI
    https://www.microsoft.com/en-US/microsoft-365/roadmap?filters=&searchterms=88848

    its somehow like Edge - chrome works in sandboxie, edge not or not really. there are a lot of dependencies and these force david to maybe unwanted actions in time plans. maybe it gets resolved, maybe not.

    building usage on sandboxie is not the right way i say - i ever said and wrote.
     
  17. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    The truth of the matter is that running Outlook or MS Office in SBIE has been problematic for many yeas. I remember well the struggles Alex went thru trying to get Outlook to work with SBIE, (during tzuk's era). I also remember other's (I still remember some of the users names) struggling with Office. This struggles went for a year plus, so they tried for a long time to get this programs working together and it did not happen, it did not happen despite the fact that they had quality help from the developers.

    If I recall correctly, in the case of Office, the problems started right around the time C2R was introduced. The problem perhaps has something to do with C2R connecting to the internet but I am not sure. I never tried C2R. During XP, I ran Outlook Express under SBIE, that worked perfectly, never an issue but never tested Outlook, then or later.

    Personally, if something doesn't work with SBIE, I just don't use that program and switch to something else. Fortunately, for me, I try (when I am choosing what programs to use) using simple programs. The reason being that the simpler the program, the better the chances that the program will work well with SBIE. We should not forget that Sandboxie is a restrictive program. It allows as little as possible. Some programs want to do more than SBIE allows, When this happens, compatibility breaks. Sometimes fixing compatibility issues is easy and can be done without opening big holes in the sandbox but this is not the case always.

    So, if I was you guys, who historically have had issues with a particular program and Sandboxie, don't push David. After doing a lot of work, he might fix the issue today but it is very likely that compatibility will be broken again by an update in the very near future. So, in the end, his work it ll end up being a waste of time and effort trying to fix something that historically (almost forever) has not worked. And you ll be annoyed and frustrated.

    Bo
     
  18. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,920
    OE/Outlook Express (thanks for hint) is/was a single application, a basic mailer. dont know when they abandoned it, "OE Classic" is the successor, or was it windows live mail?

    C2R/click2run
    i read an article where c2r and parallel msi installations dont not really work together. C2R is an onoline installation, required parts are loaded as long MS offers it.

    Alternatives? running Office/outlook inside a VM, or another virtual environement

    the question
    you did not wrote where you have office installed, it seems that for real. then you need updates for real. i dont see evidence to run outlook inside sandboxie when the whole program is installed outside.
     
  19. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,147
    Location:
    Nicaragua
    Office can not be installed in a sandbox (trying to do it would fail a 100 times out of a 100). Nate is a SBIE veteran, I am sure he knows Office has to be installed out of the sandbox.

    I am going to point something out about EMail clients. EMail clients in general should be installed out of the sandbox. You do that, and then run the program sandboxed. Installing an EMail client in a sandbox and using it that way is unsafe. It is unsafe because if you get hit by malware, the malware is not gonna hurt the system but it can read your Address book and mails, steal sensitive information and send it home. So, even if installing the EMail client in a sandbox is possible, it should not be done.

    For security reasons, you should also delete sandbox contents after using the client in a sandbox. Your EMail client ought (my opinion) to be run in a dedicated sandbox that is set to delete on closing (a must). A few days ago I read someone in this thread say that he ran or use to run his email client in a sandbox that was not set to delete on closing. His reason for not deleting contents was so mails would not be deleted when the sandbox is deleted. He did not know but his EMail client was not setup properly to be run with SBIE. He needed to set up the client with Sandboxie in a way so mails get saved when you delete sandbox contents. EMail clients store emails to a PST file. So, you need to allow access to the PST file. In the old days, there were templates that came with SBIE, that were developed by SBIE developers that would setup the access and would get the client to communicate with SBIE. Keeping this templates up to date is difficult and takes a lot of time.

    I used to think of the mails that were sent to me like this. It was like I never opened them. Mails would come in, I would read them, and after the sandbox was deleted, mails would be stored in the client and it was like they were never opened. That is how I felt. It was a good feeling.

    Bo
     
    Last edited: Mar 11, 2022
  20. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    The only reason I hoped it could be done with, with all the recent changes and improvements, was because the template is still there. I know the templates have been updated at tweaked so I thought the one for Outlook was too, or at least hoped it had. I got Office 2021 only to ensure there are no compatibility issues with document collaboration. $50 @ stacksocial was kind of a no-brainer. It would be nice to use outlook too, though not required. I can continue to use PopPeeper Pro as me default.

    As far as installing something in a sandbox, if I wanted it "temporarily installed" I'd use Shadow Defender or just restore a recent image. It's idiot to assume that a program installed in a sandbox should and will function properly. That won't happen.
     
  21. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    17,559
    Location:
    The Netherlands
    OK I see, personally I don't see the need to run an email client sandboxed. Like I said, you can always force attachments to run sandboxed if I'm correct.

    No I don't know anything about this, never really understood it. I personally wouldn't use it.
     
  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.