News for hackers. Stuff that matters.
Re:Apple Mac computers targeted by ransomware and spyware by legulere on Wednesday June 14, 2017 @05:45AM (#14551609)
AppArmor is completely useless for the scenario of malicious programs rather than exploitable programs, as you still need to write profiles for programs.

Ubuntu snaps are not sandboxed yet [1]

Containers just offer just the same environment as a normal unix. Kernel apis like e.g. Video4Linux or even more basic stuff like the filesystem are not designed for this. How does an app ask the user for permission to use the camera? How does an app ask to open a file outside of its sandbox? Basic things like that are just handwaved away or implemented with extremely complex systems that regularly have security holes.

[1] http://www.pcworld.com/article/3063134/linux/ubuntus-snap-pa...

Re:Apple Mac computers targeted by ransomware and spyware by kyrofa on Wednesday June 14, 2017 @12:13PM (#14553728)
> Ubuntu snaps are not sandboxed yet [1]

That's quite a blanket statement: of course they are. Snaps are sandboxed by a set of interfaces requested by the snap in question. If the snap requests networking, it gets networking. If it wants to access the sound card, it gets the sound card. Some of these interfaces are more powerful/dangerous than others. If the snap requests X, it gets X. That makes that particular snap certainly less safe, but it says nothing about snaps that don't use the X interface at all. The user can also disallow access to X (though that probably makes the application less useful) by disconnecting that interface: snap disconnect <snapname>:x11