![]() |
|
Achieve maximum Anonymity with NixOS - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Whitehat • Blue Team • Defensive Security (https://hackforums.net/forumdisplay.php?fid=448) +---- Forum: OpSec and OSINT (https://hackforums.net/forumdisplay.php?fid=322) +---- Thread: Achieve maximum Anonymity with NixOS (/showthread.php?tid=6299060) |
Achieve maximum Anonymity with NixOS - Infinity. - May 28, 2025 Hi, so in this thread we won't be going over what's nixos and how does it work, but why I am using it because
keep in mind that to keep this setting unchanged Code boot.loader.systemd-boot.configurationLimit = 2;to avoid cluttered rollback history (OPSEC risk). or use init.d like a real man, what's systemd? TOR EVERYTHING 👽 Code services.tor = {then under the networking configuration specify the tor config and use iptables + transparent proxying to capture all leaks: Code networking.proxy = {Code networking.firewall.extraCommands = ''NOTE: for all your CLI apps you might need to use, use torsocks or even proxychains-ng Code proxychains-ng nmap -sT -Pn example.comQubes + Whonix Integration 🤖 This assumes you are:-
How the network flows:- sys-whonix --> Tor gateway nixos-whonix --> Isolated NixOS VM Disposable VMs --> For risky tasks 🔧 Pro tip:
Code qvm-run --dispvm=nixos-dvm xtermNO LOGS 🤑 Code services.journald.extraConfig = ''Code fileSystems."/tmp" = {🔧 Pro tip: services.syslogd.enable = false; You can also mount /home and /var/log as tmpfs , and use auditd only to monitor integrity, not log. Code fileSystems."/var/log" = { fsType = "tmpfs"; options = [ "noatime" ]; };Code security.auditd.enable = true;enforce MAC 🫣 Code security.apparmor = {🔧 Pro tip: Write per-app AppArmor profiles for Firefox, GPG, and SSH. E.g. profile for firefox Code /usr/bin/firefox {Encrypted Swap + No Hibernation 🥴 Code swapDevices = [{🔧 Pro tip: Consider full LUKS + detached header setup. Kernel Hardening 🤯 Code boot.kernelParams = [Clarifying what the settings are mentioned above are beyond the scope of this tutorial. Network isolation Code programs.firejail.enable = true;even blacklist the drivers Code boot.blacklistedKernelModules = [ "bluetooth" "iwlwifi" ];Just fucking isolate everything Code programs.firejail = {🔧 Pro tip: Use USB tethering via burner phone for network (with USBGuard). Code services.usbguard = {Verification Checklist
Final notes: The chances of getting caught are very minimal for the above, but if you make 1 simple mistake, all the hard work is done for. Gl: Pro Tip: Use your neighbor's wifi. Let me know in the thread if you want an advanced level tutorial for anonymity RE: Achieve maximum Anonymity with NixOS - HerrWinston - May 31, 2025 Holy shit this thread is good, well done man i just gotta understand first how to use everything. RE: Achieve maximum Anonymity with NixOS - Infinity. - May 31, 2025 (May 31, 2025 02:25 AM)HerrWinston Wrote: Holy shit this thread is good, well done man i just gotta understand first how to use everything. Thanks man, let me know if you have any doubts. I am looking forward to creating a LUKS encryption thread as well, just trying to find some time. RE: Achieve maximum Anonymity with NixOS - TheMightyKnighty - Sep 14, 2025 Thanks a lot man, this was very useful! :) |