N.E.P.T.R

I’m the Never Ending Pie Throwing Robot, aka NEPTR.

Linux enthusiast, programmer, and privacy advocate. I’m nearly done with an IT Security degree.

TL;DR I am a nerd.

  • 8 Posts
  • 474 Comments
Joined 1 year ago
cake
Cake day: November 20th, 2024

help-circle



  • The browser can’t create unprivileged namespaces because Flatpak blocks access to namespace creation. This DOES interfere with an important method of sandboxing used by browsers on Linux. It makes site isolation weaker, which could allow an attacker from a malicious site to steal information from any open tab, or possibly escape the sandbox. Browser sandboxes are multilayered for a reason, one less layer makes exploitation exponential easier. The Firefox Flatpak is official, but that doesn’t mean it is safe. Flatpak sandboxing is substantially less strong than a browser’s isolation strategy This because Flatpak is a general purpose sandbox mostly meant for making distribution of software easy by providing an identical environment across all Linux distros, not for rigid security. Browser’s provide a more fine grained sandbox that is designed around the threat model that the website is compromised/malicious and is attempting to hack you, since websites are effectively just apps. Don’t use Flatpak’d browsers at all, or the very least not as your default.




  • N.E.P.T.Rto196rule
    link
    fedilink
    English
    arrow-up
    4
    ·
    7 days ago

    Main reason I like DDG is that it acts as a proxy (meaning I blend into crowd of all DDG users) and the HTML frontend doesn’t require JS or ads.


  • To use Firefox, you need to use ujust with-standard-malloc firefox (or something like that). It also needs user namespaces (same with Mullvad VPN/Browser), run ujust set-unconfined-userns on

    Follow these steps to make Firefox run with standard malloc:

    For Firefox with no sandboxing …

    • cp /usr/share/applications/firefox.desktop ~/.local/share/applications/firefox.desktop
    • Edit the newly created file so any line that starts with Exec=firefox to Exec=ujust with-standard-malloc firefox

    For Firefox with Bubblejail, assuming you have already created a profile named Firefox and generated the desktop entry. Edit the file ~/.local/share/bubblejail/instances/Firefox/services.toml and add the following snippet:

    [debug]
    raw_bwrap_args = [
        "--ro-bind",
        "/dev/null",
        "/etc/ld.so.preload",
        ]
    

  • I recommend Secureblue.

    To install Firefox on Secureblue, run rpm-ostree install firefox To install Mullvad VPN, run ujust install-vpn, select Mullvad, wait for it to complete, and run rpm-ostree install mullvad-browser

    For browsers, you obviously are going to install Mullvad and Firefox, but no need to install a Blink-based browser because it comes with Trivalent (significantly security hardened Chromium). Since Trivalent only supports MV3 you will need uBl Lite and NoScript supports MV3.

    I recommend sandboxing your browsers (except Trivalent) using Bubblejail. For Mullvad/Firefox, create a Bubblejail instance using the config app, create a profile, give it access to Wayland, PulseAudio (sound), Pipewire (screenshare), and use slirp4netns, then run bubblejail generate-desktop-entry INSTANCE_NAME --desktop-entry /usr/share/applications/INSTANCE_NAME.desktop. I recommend adding access to ~/Downloads for the browsers.

    Consult the FAQ for more tips/tricks and security toggles. Also use the ujust command line utility to configure the system.


  • N.E.P.T.Rto196rule
    link
    fedilink
    English
    arrow-up
    25
    ·
    7 days ago

    I will never use Kagi because requiring an account makes associating search queries with you trivial, though I don’t doubt it is a useful service.

    Mullvad Leta was nice while it lasted, but an easy replacement is DuckDuckGo HTML. As the name suggests, it doesn’t require JS, reducing the attack surface and routes of browser fingerprinting. I do acknowledge that the search results suck about as much as Google, so I need to be creative with search queries.

    A better option is a self hosted meta search engine like SearXNG or 4get. I get that the branding of 4get is off-putting, but it doesn’t require JS for frontend and is much simpler/leaner/reliable than SearXNG. Self hosted search engines are also only useful (imho) if used by a large group (as a public instance) to blend in, or behind a VPN that rotates frequently. This is to avoid association to you.



  • I have been liking CachyOS as well. I reluctantly switched from Fedora after I kept getting weird problems (definitely a “my PC” thing, I wish I could upgrade).

    Features I like about Cachy:

    • Auto-setup of snapper btrfs snapshoting (my fav feature of openSUSE) on all bootloaders (I like the simplicity of limine)
    • Gaming ready fork of kernel-hardened, with some changes, including allowing use of unprivileged namespaces (needed by Bubblewrap/Flatpak/Firefox/Chromium to avoid the need of a SUID binary)
    • AUR (cus it is Arch)
    • Update service which updates from all installed sources (pacman, Flatpak, AUR)

    What I wish was different:

    • Inclusion of a full system Mandatory Access Control policy (SELinux preferably)
    • Compatibility with hardened_malloc (idk why but on Cachy, GTK apps crash because glycin bubblwrap commands fail)

  • N.E.P.T.RtoPrivacy@lemmy.mlPrusa Printers Firewall Logs
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    The point of my comment wasn’t that OP was in “real danger” if they showed local IPs, just that it doesn’t hurt to censor them. Never give more information than necessary. I censor usernames and filepaths on any screenshots of the terminal, even though if an actor has the kind of access to utilize that information I am probably already fucked. I think it is good practice to always scrutinize the information you give out willingly.






  • N.E.P.T.RtoPrivacy@lemmy.mlPrusa Printers Firewall Logs
    link
    fedilink
    English
    arrow-up
    16
    ·
    8 days ago

    I was taught in my IT Sec classes to avoid sharing any unnecessary information. Information on private IPs can be used to better understand your network, allowing a threat actor to better navigate your network without needing to do ip scans (which are very obvious and should trigger even basic detection). While it is most likely pointless (since OP probably isnt at risk of targeted attacks), it is still good opsec.


  • N.E.P.T.Rtolinuxmemes@lemmy.worldgot tired of dwm lmao
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    I much prefer the looks and feel of GTK4 libadwaita apps over Qt6. I switched to KDE Plasma after using GNOME for awhile because I wanted to see if I noticed any improvement in stability, I want to theme my apps, and I prefer to avoid extensions (it is a security risk). I still very much miss GNOME with the 3-4 extensions that I installed, it just felt so much more polished, consistent, and free of bugs and broken features (looking at you theme search and desktop animations installer).