Malware broke through Sandboxie

Discussion in 'sandboxing & virtualization' started by RCGuy, Jul 31, 2011.

Thread Status:
Not open for further replies.
  1. wat0114

    wat0114 Guest

    Yes, too bad. And too bad it would not work properly for some of us. I really wanted to see how it would proceed after allowing the re-direct to TCP port 8080 :(
     
  2. m00nbl00d

    m00nbl00d Registered Member

    Joined:
    Jan 4, 2009
    Posts:
    6,623
    The second link worked for me. But, I couldn't go any further than letting AVG LinkScanner block it, though.

    I'm using a secondary laptop, because the HDD of the main one broke a few weeks ago. The secondary laptop is weak, and no chance to run VMs. :(

    I'd be interested to know what exactly would happen as well.
     
  3. x942

    x942 Guest

    I have a sample of the malware still. Attempting to run it on a clean x64 install with nothing configured or installed results in nothing. No error. Nothing. Process starts and exits immediately Avast! only detects it as a PUP so maybe it's a new variation or something. Either way it doesn't appear to work on x64 machines.

    RCGuy can you run an F-Secure Live CD on your machine and post what it comes out with?
     
  4. mick92z

    mick92z Registered Member

    Joined:
    Apr 27, 2007
    Posts:
    548
    Location:
    Nottingham
    I have tried those links, the first does nothing. The second appears non mailicious. I think , you should not make statements, like " Malware broke through Sandboxie" without proof. You obviously have no concept about the program, you do not even know how to access its settings.
    You mentioned infected emails, were you running your email program sandboxed ?
    I seriously doubt your claims.
     
  5. Page42

    Page42 Registered Member

    Joined:
    Jun 18, 2007
    Posts:
    6,961
    Location:
    USA
    I thought the exact same thing... that this thread title is now "out there" to be crawled by every search engine and read (often without further investigation) by people looking for info on Sandboxie.
    A more responsible thread title would have read as a question...
    Did malware break through Sandboxie?
    Maybe the OP can edit the title in the spirit of fairness.
     
  6. Dark Shadow

    Dark Shadow Registered Member

    Joined:
    Oct 11, 2007
    Posts:
    4,553
    Location:
    USA
    I agree with mick, and not knowing some sandboxie settings by the op,makes me think email was read outside the box,just saying.
     
  7. Cudni

    Cudni Global Moderator

    Joined:
    May 24, 2009
    Posts:
    6,963
    Location:
    Somethingshire
    can malware break through if SB is/was badly configured
     
  8. Dark Shadow

    Dark Shadow Registered Member

    Joined:
    Oct 11, 2007
    Posts:
    4,553
    Location:
    USA
    I think its more likely that malware can get out at defaults,rather then a tightly restricted sandboxie.Small holding cell vs maximum lockdown.
     
  9. Page42

    Page42 Registered Member

    Joined:
    Jun 18, 2007
    Posts:
    6,961
    Location:
    USA
    Badly handled, perhaps.
    If I recall correctly.... if immediate recovery is invoked (of downloaded process) and the Sandboxie user then allows the action in the subsequent popup dialog, that could be a problem.
    I am unsure if immediate or quick recovery are default settings.
    I believe immediate is not default and quick is.
    Hope I've got that right.
     
  10. HAN

    HAN Registered Member

    Joined:
    Feb 24, 2005
    Posts:
    2,098
    Location:
    USA
    There was also the question of whether all programs should be allowed to run in the sandbox or just certain ones. Wouldn't the safest be the default of allow all to run inside? Then if something becomes infected and an app is called to run (like Windows Media Player for eg.), it won't be outside the sandbox??
     
  11. Sully

    Sully Registered Member

    Joined:
    Dec 23, 2005
    Posts:
    3,719
    By default the sandbox keeps what happens within it segregated from the real OS. If a malware ran, which could be allowed, it would still remain within the sandbox without user intervention.

    User intervention would come in the form of opting to "recover" things placed at either MyDocs or Desktop, the default locations. This would not be a likely cause for infection of the real system.

    User intervention would also come in the form of special settings, such as allowing direct access. Most of the pre-existing settings SBIE includes deal with profiles for applications, like keeping bookmarks. I don't recall seing one to choose that allows anything insecure.

    User intervention would also come in the form of the user manually choosing to "recover", but not by the default recovery assistant pop-up.

    Running the email app outside of the sandbox sounds like the most logical conclusion, but depending what version is being used, it might be the account creation bug that is a known exploit but that is also supposed to be fixed.

    It could also be, theoretically, that the malware actually exists within the sandbox and because there are no restrictions, it is free to operate almost as normal.

    But one thing is for sure, my time with SBIE has shown me that at straight up defaults, nothing should get into the real OS without the user intervening somehow.

    Sul.
     
  12. Page42

    Page42 Registered Member

    Joined:
    Jun 18, 2007
    Posts:
    6,961
    Location:
    USA
    All internet-facing programs (browser, email, pdf reader, media player) should be sandboxed. Then, restrictions can/should be set inside each box that allow only certain programs to run. If no restrictions are set in the browser sandbox, for example, then everything that comes into your machine via the browser is allowed to run (in the sandbox). If, on the other hand, just chrome.exe or iexplore.exe (or whatever browser you use) is permitted in the sandbox, then a keylogger or other piece of malware cannot start (in the sandbox). Point being, until a user enters some program's name into the restrictions list, all programs are allowed to run (in the sandbox). I don't want keyloggers to run, so I only give internet and start/run access to the programs I want to run in that particular sandbox.
     
  13. bo elam

    bo elam Registered Member

    Joined:
    Jun 15, 2010
    Posts:
    6,195
    Location:
    Nicaragua
    The safest is to allow only the necessary apps to run. If WMP is not allowed
    to run and is called upon, then WMP wont do nothing as it will not start or
    run in or out of the sandbox. If using default settings, WMP would run inside
    the sandbox if called upon by malware.

    Bo
     
  14. ExtremeGamerBR

    ExtremeGamerBR Registered Member

    Joined:
    Aug 3, 2010
    Posts:
    1,350
    99.99% chance of error in using the program.

    If the guy can not even access the settings of the program, meaning it may have run the malware out of the box by "Fast Recovery (I do not remember the name right)" and it infects your system.

    Topic useless.
     
  15. Scoobs72

    Scoobs72 Registered Member

    Joined:
    Jul 16, 2007
    Posts:
    1,113
    Location:
    Sofa (left side)
    Not entirely useless. It's a reminder that you need to learn how to use SBIE properly, and not assume it's an 'install it and forget it' application like an anti-virus.
     
  16. ExtremeGamerBR

    ExtremeGamerBR Registered Member

    Joined:
    Aug 3, 2010
    Posts:
    1,350
    But to set it there are trillions of other threads about it.

    And, once properly configured, this is an application "install and forget".
     
  17. crofttk

    crofttk Registered Member

    Joined:
    May 15, 2004
    Posts:
    1,979
    Location:
    Eastern PA, USA
    Totally disagree! For me it's a flag for users to take care that they know SBIE's settings, capabilities, and limitations. Regardless of OP's expertise, or lack thereof, with SBIE, it raises the question of whether SBIE is the silver bullet out-of-the-box that some seem to think it is or whether there is a minimum knowledge level required to get the protection you think you're getting.

    ETA: Yeah, scoobs beat me to it. Among the trillions of threads, this one stands out to me as a sanity check, at least while it's near the top of the thread list.
     
  18. Scoobs72

    Scoobs72 Registered Member

    Joined:
    Jul 16, 2007
    Posts:
    1,113
    Location:
    Sofa (left side)
    Very well said. You wouldn't give SBIE to your granny/children/[insert average computer user] and expect them to never get infected.
     
  19. Sully

    Sully Registered Member

    Joined:
    Dec 23, 2005
    Posts:
    3,719
    Why would you expect granny to trust SBIE if she did not understand what to do? It is good enough for granny, but only if she has a certain level of comprehension about SBIE.

    It is no silver-bullet unless you desire it to be, but that is true of any software. I can make it bullet-proof if I choose to. But then, I have a certain intention about what I want it to do.

    If you leave it at defaults, and understand what it will or will not do, then it is bullet-proof for its intended purpose.

    But this is all not important really, as it goes without saying that you should understand it to use it properly. More importantly, is it STILL a silver-bullet? Or, is this exploit factual, and thus threatens the users who actually know how to use SBIE?

    Sul.
     
  20. Page42

    Page42 Registered Member

    Joined:
    Jun 18, 2007
    Posts:
    6,961
    Location:
    USA
    You're definitely right that it is not a silver bullet out-of-the-box, but I question who is saying that it is?
    When I first purchased SBIE, I was overwhelmed by what I perceived to be a very steep learning curve, and I asked the developer for my money back. He refunded it, but then I relaxed a bit and decided maybe I had overreacted. ;) I took a calmer, more studied approach to it and soon determined that I could make sense of it all. Point being, there certainly was no out-of-the-box magic happening for me! :)
     
  21. Sully

    Sully Registered Member

    Joined:
    Dec 23, 2005
    Posts:
    3,719
    And once you took the time to learn about the software you wanted to use, and then went further and configured it for what you desired it to do -- is it now bullet-proof? Does it become something you trust so much you would like it if granny used it?

    I think SBIE is pretty easy to use, but many don't. I have set it up on many machines, and people just don't know what it will do, which seems to make them not interested in learning. Pity really, but that is the way it is. I know one guy who calls me up about once every 2-3 months with a new problem, and SBIE has been on his machine since he got it. He could have saved himself problems if he had just started the browser sandboxed, even at default settings. But, he gives it no thought, so I take his money when he offers and buy some beer.

    Maybe I am crazy to even suggest people use it, since it is hot and beer is good ;)

    Sul.
     
  22. m00nbl00d

    m00nbl00d Registered Member

    Joined:
    Jan 4, 2009
    Posts:
    6,623
    I don't think anyone can say I believe that malware broke out of Sandboxie or that Malware didn't break out of Sandboxie.

    As I previously told user wat0114, whatever happened is now with the gods, as there's no way of reproducing this situation.

    All I can do is give the benefit of the doubt. And I give the benefit of the doubt, having under consideration a recent past with Sandboxie. It's something I already mentioned.

    Some time a user mentioned at Sandboxie forum that an application he/she installed inside Sandboxie was able to break out of Sandboxie and create a user account in the real system. I have my doubts the application's developer(s) did it purposefully.

    That report went unnoticed for a long time.

    Quite some time after, some other user came with a PoC that would purposefully exploit a bug in Sandboxie, and create a user account in the real system.

    So, sometimes, even if something wasn't developed to intentionally bypass something, it may unintentionally do it.

    And, some folks are talking about hardening Sandboxie. Yes, that true, the sandboxes should be hardened.

    BUT, don't forget one thing... And, that thing is that one of Sandboxie features, and it's stated at the official website is:

    Source: http://www.sandboxie.com/

    Unless the application is going to be installed to user space, the user will have to install it, by giving Administrative privileges to the installer.

    As it happened before, it may happen again that due to a bug in Sandboxie, this installer will be able to break out of Sandboxie.

    It happened already folks, so let's not say that it can't. And, when it comes to installing apps in Sandboxie, there's no hardening the sandbox. DropRights doesn't come into play, as we need it disabled, and so we need to have other access available for the application to install properly inside a sandbox.

    So, a hardened sandbox doesn't really come into play, if something will break out of Sandboxie, intentionally or unintentionally. I say this, again, because it's a feature in Sandboxie.

    And, I'm not writing what I'm writing to bash Sandboxie. I'm a proud paid user. ;)

    A user related something about malware. It could have been about an application that was installed in a sandbox, but managed to break out and modify the real system, and for some reason corrupt the system, due to the application installer being buggy or even conflicting with some other application.
     
  23. noway

    noway Registered Member

    Joined:
    Apr 24, 2005
    Posts:
    462
    From this thread, post #6:

    https://www.wilderssecurity.com/showthread.php?p=1842262#post1842262

    RCGuy, I don't think you should necessarily be blaming SBIE for these troubles if you are using it like this. The computer may have been loaded with malware even before this "incident" happened. Formatting was a good idea but if nothing changes in methodology the same thing could very well "happen" again.

    Trust completely no web site, including this one.

    Also I know you've heard this before, but a good imaging program would help you with these issues and save you the hassle of formatting when things go wrong.
     
    Last edited: Aug 1, 2011
  24. Page42

    Page42 Registered Member

    Joined:
    Jun 18, 2007
    Posts:
    6,961
    Location:
    USA
    Hi Sul
    I don't think it is bullet-proof, but I feel it is stronger protection than anything else I have ever had on my machine, with the possible exception of DefenseWall... which I may go back to for a 2nd look. :)

    As for Granny, I think she would have a tough time with Sandboxie.
    I think she would not understand the pop-ups.
     
  25. Peter2150

    Peter2150 Global Moderator

    Joined:
    Sep 20, 2003
    Posts:
    20,590
    I know a Granny who does just fine with Sandboxie.
     
Thread Status:
Not open for further replies.
  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.