Mac Address, Hostname, Machine ID, Time Anonymization, DNS Leak Protection, & Wiping RAM at Shut Down Script For Solus OS
This will spoof your Mac Address, Hostname, & Machine ID for Solus OS everytime you reboot and startup your system again. Another side note is that we have also added Wiping RAM at Shut Down to prevent Cold Boot Attacks and other attacks as well with Time Anonymization and DNS Leak Protection.
-
Install prerequisite:
sudo eopkg install macchanger
-
Create the script:
sudo nano /usr/bin/randomize_mac.sh
-
Make executable:
sudo chmod +x /usr/bin/randomize_mac.sh
-
Create the service:
sudo nano /etc/systemd/system/randomize_mac.service
-
Enable and test:
sudo systemctl daemon-reload sudo systemctl start --now randomize_mac.service && sudo systemctl enable --now randomize_mac.service sudo systemctl status randomize_mac.service
Verify functionality with:
macchanger -s <interface>