![]() |
|
#26
|
||||
|
||||
|
Yeah I do that every time.
__________________
|
|
#27
|
||||
|
||||
|
Try doing a:
Code:
Mine is at: http://www.box.com/s/9y55lmpb4djj9a7z95ec It's too big to post apparently. EDIT: should have done this: Code:
(i used google-chrome in place of chromium though) mine shows: Code:
__________________
E-Mail: og8oh@notsharingmy.info Last edited by x942 : March 12th, 2012 at 02:58 AM. |
|
#28
|
||||
|
||||
|
The logs are virtually identical save for my renderer profile. I've tried disabling, reloading all profiles, enabling the sandbox, reloading again, and then starting but the problem persists.
Still... I'm fairly satisfied. A rogue tab won't be protected by apparmor but the renderer is, which is satisfactory. The typical linux sandbox alone is at least powerful enough to stop en exploit. With seccomp on top of that I really don't see Chrome as viable attacks surface. I'd be much more worried about Java but Apparmor works with it and it's OpenJDK. Actually, the one thing I haven't got covered up is Flash. Though if it runs as a chrome process maybe I do? Not sure.
__________________
|
|
#29
|
||||
|
||||
|
Quote:
how does it break exactly? Not starting at all? Yeah that should be plenty, I mean you have chrome chroot sandbox + apparmor on the renderer + seccomp should be fine against 99.9% of exploits out there. i always use OpenJDK just because it's open so hoping it gets audited more. I also have apparmor protecting it. If it wasn't for libreoffice and minecraft I would just uninstall it all together. Flash should be covered, again im not sure because on windows it used to only sandbox the bundled flash and not the external flash plugin. I know you should be able to use apparmor on it though it you created a profile, I did this with SELinux on Fedora so I can't see why apparmor wouldn't work. Something I just remembered is Code:
__________________
E-Mail: og8oh@notsharingmy.info |
|
#30
|
||||
|
||||
|
Quote:
Quote:
Quote:
__________________
|
|
#31
|
||||
|
||||
|
EDIT: Success or so it would seem. I've got Google Chrome running in a really convoluted sandbox that I will likely scrap and recreate at a later time lol
EDIT2: Removed the really overly complex Chrome profile. I'm keeping the Java plugin profile though. I'll just add a renderer apparmor sandbox I think and leave it at that. The goal right now is to convert the Chromium renderer profile: Quote:
__________________
Last edited by Hungry Man : March 15th, 2012 at 06:56 PM. |
|
#32
|
||||
|
||||
|
Quote:
This is what I got: Code:
Work's for me on my XUbuntu 11.10 machine with Chrome Dev build. Not sure if I missed anything. Let me know if it works for you.
__________________
E-Mail: og8oh@notsharingmy.info Last edited by x942 : March 15th, 2012 at 09:13 PM. |
|
#33
|
||||
|
||||
|
I'll give it a try ASAP. I think it can probably be cut down with a few **'s.
__________________
|
|
#34
|
||||
|
||||
|
Quote:
LOL Probably I took some from online and running complain mode. I'm going to cut some stuff down.
__________________
E-Mail: og8oh@notsharingmy.info |
|
#35
|
||||
|
||||
|
When I had my Chrome sandbox setup I had app_armor status displaying sooooo many profiles being active so I turned it off lol It just... didn't look right. I think I had created some sort of infinite regression where I had child processes of themselves lol it was all very confusing but I definitely learned a lot about setting up profiles.
__________________
|
|
#36
|
||||
|
||||
|
I'm trying to make the Chrome sandbox again but I'm not sure how to treat the /chrome/chrome-sandbox. Should I run it in its own profile? Inherit? Child? No idea.
__________________
|
|
#37
|
||||
|
||||
|
Anyone using AppArmor with VLC?
__________________
|
|
#38
|
||||
|
||||
|
Quote:
I have VLC installed is there a profile? Do you want me to try and make one? :p
__________________
E-Mail: og8oh@notsharingmy.info |
|
#39
|
||||
|
||||
|
I don't think there is one. I started making one but it got very convoluted very quickly.
__________________
|
|
#40
|
||||
|
||||
|
Got a profile set up for Chrome, NaCli, and Chrome's Sandbox. It works but I'm leaving it in complain for a few more days just to be sure.
__________________
|
|
#41
|
||||
|
||||
|
Quote:
Awesome! Please post when your done! VLC is giving to many issues. I gave up on it.
__________________
E-Mail: og8oh@notsharingmy.info |
|
#42
|
||||
|
||||
|
I got it working.
All it should need is full write access, some GPU access, full screen/ screen saver access, and I went ahead and denied it read/write access to my passwords. With this it runs fine. It could use work (with ogl + aa profile it gives a few issues while moving the video around. edit: Already working on fixing this.) Code:
__________________
|
|
#43
|
||||
|
||||
|
Quote:
Thanks! I will run it on my Ubuntu Host. (I'm now using a Debian VM for web browsing + SeLinux + Chrome/seccomp. I think the VM adds even more security to the mix).
__________________
E-Mail: og8oh@notsharingmy.info |
|
#44
|
||||
|
||||
|
It's now working (seemingly) perfectly.
I'll probably reduce its read rights a bit. I also gave it IPC_Lock, which worries me a bit - though it seemed to function without it so I may take it away at a later time. Updated and very rough profile: Code:
__________________
|
|
#45
|
||||
|
||||
|
Quote:
Tightening the above profile up a bit.
__________________
|
|
#46
|
||||
|
||||
|
Quote:
The only thing I can think of to make seccomp + VM stronger is by creating an apparmor profile for Virtual Box. Do you think that would add security or just cause issues? I'm scared to try it lol. I just used your profile. Chrome won't launch for some reason now (with or with out the profile) I think I will have to reboot here.
__________________
E-Mail: og8oh@notsharingmy.info |
|
#47
|
||||
|
||||
|
Chrome? How odd... it shouldn't really effect Chrome as it's for VLC.
Are you using the VLC plugin for Chrome? That may be causing the issues - I don't use that. Or perhaps you accidentally set another profile to enforce via /etc/apparmor.d/* ? Quote:
Just do auto-dep and set it to complain and in a week you can set it up.
__________________
|
|
#48
|
||||
|
||||
|
Alright, here's what will likely be the final AppArmor for VLC. If you use nVidia you'll need to change a few things, different settings may also need more access.
I've explicitly denied areas of the file system that it doesn't need/ that I don't want it having access to (passwd, apparmor.d, etc) and the most of what it can do is read pieces of the file system and lock files. Code:
__________________
|
|
#49
|
||||
|
||||
|
Quote:
That was it. The VLC Plugin was causing some issues for me. I removed it (not sure why I even had it enabled) all is good now. The profile works for me. Ha. I think I will try it. Probably be one big profile though.
__________________
E-Mail: og8oh@notsharingmy.info |
|
#50
|
||||
|
||||
|
I'm trying to profile everything I possible can. I don't have that much installed though lol
edit: Working on a VM AA profile.
__________________
|
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|
|