[Bug 308760] New: Sandbox templates
https://bugzilla.novell.com/show_bug.cgi?id=308760 Summary: Sandbox templates Product: openSUSE 10.3 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Security AssignedTo: security-team@suse.de ReportedBy: lyeoh@inter-touch.com QAContact: qa@suse.de Found By: Other The current "state of the art" security for Desktop Environment requires users to solve the equivalent of the "halting problem" e.g. will browsing this website/opening this email turn my machine into a worm infested zombie? How could anyone really figure it out? Apparmor is not bad, in my opinion it's not really desktop ready. What would be good would be something I call "sandbox templates". While there are thousands of apps, I believe there a far fewer categories of common/popular apps in terms of the permissions and privileges they require. So have a few preset sandbox templates (browser, email, guest game, etc). Then if an attempt is made to execute an untrusted application, the app would specify a template or a default safe minimally privileged one is picked, and the user gets a prompt like "Random Game Someone Emailed" requests "Temporary/Guest Game Privileges"- Allow? Yes/No/Yes and always/More... And "Guest Game Privileges" would provide temp storage (that's just for that app), sound access, windowed graphics (to always have a border - so you know whether it really exited or not guess why ;) ), no network access, no access to "My Documents", no access to microphone (eavesdropping). Then even if the "game" tried to do something strange the O/S will prevent it. For example if a "email game" requested "Full System Install Privileges" (with the associated big exclamation marks, and big red warnings, requirement of Admin password etc), I'm sure you can easily train your "Aunt May" to not ever click Yes to such stuff. Also if a browser tried to access the user's Documents whether due to a bug or it not really being a browser, it should fail to do so. A browser should only be able to save downloads to its downloads directory - you could have a symlink to it from /home/user/sharedfiles/, and read/write to its own assigned directories. Trusted apps (either signed, or user said "Yes Always") will run using the respective privileges without prompting. What I'm asking for is hard (there are lots of details to get right), but it's still easier than guessing what a random binary or perl script would do ;). It'll definitely be a lot better than Vista UAC ;). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=308760#c1 Crispin Cowan <crispin@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crispin@novell.com --- Comment #1 from Crispin Cowan <crispin@novell.com> 2007-09-12 17:55:16 MST --- It's true that AppArmor was designed more for the server than the desktop, but it does quite a bit for the desktop as well. In fact, AppArmor can actually do a fair amount of what you ask for here. To create e.g. a "mail client template", start by creating a small shell script mail_client_launcher. It prompts you for the mail client you would like to launch, or otherwise takes an argument of what mail client to actually launch. Then you build an AppArmor profile for mail_client_launcher. Give it ix permissions to run all of the mail clients you want to run. You could even give it "/usr/bin/* ix" at the risk of allowing other programs to run inside this profile. This solution is not perfect, and we are working on additional features for AppArmor to make it better able to handle this kind of stuff. Come join the AppArmor development list http://forge.novell.com/mailman/listinfo/apparmor-dev to help. My leading issue in this space is OpenOffice. When I launch OOo as a child of Nautilus, I want it to have access to at least all of the files and directories in the Nautilus view, and possibly to my entire home dir. However, when I launch OOo as a child of Thunderbird (or your favorite mail client) or Firefox (or your favorite web client) then I want it to have access to only the temp dirs necessary to view the document. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=308760 User krahmer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=308760#c2 Sebastian Krahmer <krahmer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krahmer@novell.com Status|NEW |RESOLVED Resolution| |LATER --- Comment #2 from Sebastian Krahmer <krahmer@novell.com> 2008-04-23 01:29:49 MST --- Its on our item-list. Nothing for short-hand. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com