diff --git a/content/posts/linux/Desktop Linux Hardening.md b/content/posts/linux/Desktop Linux Hardening.md index 8447809..d024d2b 100644 --- a/content/posts/linux/Desktop Linux Hardening.md +++ b/content/posts/linux/Desktop Linux Hardening.md @@ -124,6 +124,11 @@ Snap packages come in [two variants](https://snapcraft.io/docs/snap-confinement) Snap permissions can be managed via the Snap Store or Ubuntu's custom patched GNOME Control Center. +On Ubuntu, you can replace various .deb packages with strictly confined snaps to minimize the attack surface. Some examples of these packages are the printing stack or `ufw`: + +![Cups Snap](/images/ubuntu-cups-snap.png) +![UFW Snap](/images/ubuntu-ufw-snap.png) + One caveat with Snap packages is that you only have control over the interfaces declared in their manifests. For example, Snap has separate interfaces for `audio-playback` and `audio-record`, but some packages will only declare the legacy `pulseaudio` interface which grants access to both play and record audio. Likewise, some applications may work perfectly fine with Wayland, but the package maintainer may only declare the X11 interface in their manifest. For these cases, you need to reach out to the maintainer of the snap to update the manifest accordingly. ### Firejail diff --git a/static/images/ubuntu-cups-snap.png b/static/images/ubuntu-cups-snap.png new file mode 100644 index 0000000..cd9e1dc Binary files /dev/null and b/static/images/ubuntu-cups-snap.png differ diff --git a/static/images/ubuntu-ufw-snap.png b/static/images/ubuntu-ufw-snap.png new file mode 100644 index 0000000..bbad08c Binary files /dev/null and b/static/images/ubuntu-ufw-snap.png differ