Re:Show HN: Picosnitch – a reliable and lightweight security...
by sliken on Monday January 03, 2022 @06:40PM
(#29788687)
Not sure what your goals are specifically, but even apparmor and selinux can do things like block access to the network, limit read and/or write access to certain directories, limiting what system calls can be made, and notify you of failed attempts.
I didn't (at the time) know that PDFs could "phone home" to report details of the system reading a PDF. A selinux profile denied access to the internet, and it was many months (and 100s if not 1000s of PDFs read) before one attempted network access and denied it. Ubuntu and Redhat (and I'm sure others) have reasonable defaults, so much of the work is already done for you.
Re:Show HN: Picosnitch – a reliable and lightweight security...
by Anonymous4272 on Tuesday January 04, 2022 @03:49AM
(#29792726)
>I didn't (at the time) know that PDFs could "phone home" to report details of the system reading a PDF. A selinux profile denied access to the internet, and it was many months (and 100s if not 1000s of PDFs read) before one attempted network access and denied it. Ubuntu and Redhat (and I'm sure others) have reasonable defaults, so much of the work is already done for you.
And does this happen on android aswell? Because a lot of custom rom/ root users run selinux as permissive for compatibility, so these pdfs would have full network access
Re:Show HN: Picosnitch – a reliable and lightweight security...
by pabs3 on Monday January 03, 2022 @05:43PM
(#29788088)
Look at things like firejail, bubblewrap (which Flatpak uses) or switch to an OS like Qubes.
Re:Show HN: Picosnitch – a reliable and lightweight security...
by tskx2003 on Monday January 03, 2022 @07:40PM
(#29789351)
I use opensnitch, is mentioned above as well.
https://github.com/evilsocket/opensnitch
This is reasonable. Can someone recommend a tool (preferably in the Ubuntu repos) for doing that?