wipri (WiFi Privacy) - Privacy Disinfo Tool
A tool that turns your computer into an actor,which mimic other devices .
Can be useful because it sends fake information to routers and devices around.
I don’t believe that it will fool a serious network analyzer, but according to the recorded logs of my router, my room is like a corridor through which people are constantly passing, but in reality I am alone in the room and reading the Purism forum.
the installation of the script did not go smoothly, although on other debian based systems it is on the fly.
of course i don’t have time to research if the install script is buggy or if the PureOS team has introduced new security features, whatever:
Insttalations:
wget -o- https://github.com/RightToPrivacy/wipri/archive/refs/heads/master.zip
unzip master.zip
cd wipri-master
sudo chmod +x install.sh
sudo ./install.sh
------------>
Creating /etc/wipri directory…
mkdir: cannot create directory ‘/etc/wipri’: File exists
Copying OUI files into /etc/wipri…
Copying wipri executable to /usr/bin/wipri for command access…
Making wipri an executable command…
We are done installing the command!
Now creating first wipri-list mac address…
Public Blog/Tutorials + More: https://buymeacoffee.com/politictech
Example: wipri-list -a
[Above] generates NEW valid OUI mac address adding it to our file
Example: wipri-list -d eth0 -s
[Above] selects random address from list - MUST first use -a to add mac addresses]
Run wipri-list -a at least once to begin creating your mac address list (or single mac)
Example: wipri-list -l
[Above] lists current mac addresses from our list
Example: wipri-list -r fe:ed:de:ad:be:ef
[Above] removes fb:ee:de:ad:be:e1 from our list
Created And Added MAC: b4:34:96:c9:51:71
b4:34:96:c9:51:71 has been added to our Onion Memory
wipri-list has first quasi-permanent mac address option
wipri-list is a new optional command for either single mac address or as many as you make in the list
Running command wipri-list will display examples…
continuing install…
Simply type wipri -H to receive help.
Would you like to additionally have wipri change your identity at boot (systemd)?
This will start a new uniquely generated identity (mac/hostname) for your wifi device at each boot.
Start a new disinfo identity at each boot (yes/no)?: yes
(the following question below can use commands from wipri or wipri-list adding them to boot)
What wipri mac address command would you like to start at boot? (ex: wipri -d wlan0 -p):
wipri -d wlan0 -p
------------------>
if when running the script you have a permission error messages and you will (PureOS things or an error in the installation script) do the following:
cd /usr/bin
ls -l wipri
-rwxr-xr-x 1 root root 23804 Jan 8 17:28 wipri
if not x as above add
sudo chmod +x wipri
ls -l wipri-wipri-list
-rwxr-xr-x 1 root root 6232 Jan 8 17:28 wipri-list
if not x as above , then add
sudo chmod +x wipri-list
let’s test it with the help command
sudo wipri -h
------------>
Detected Devices:
DEVICE
eth0
wlan0
Usage:
wipri -d [device][any combination of below flags here]
-w [turn off wifi radio when you leave home automatically after x min to prevent saved SSID tracking] (can be used with other flags)
-a [anonymous/ghost mode: continuously change MAC/hostname/signal strength at
continuously changing [coordinated/simultaneous] times/addresses to mimic new devices
-p [static smartphone mimic] Set single static Samsung/Apple MAC identity
-P [changing smartphone mimics] continously changing Samsung/Apple at rand times/mac addr
-r [randomizes mac continually changing times/addresses]
-m [Static MAC (Your Choice) Here]
-i [rand (valid) MAC identity]
-h [rand hostname]
-R [restore to original hostname]
-s [random signals]
-S [continual changing random signal strengths, continually changing random time periods]
-A [generic randomized WiFi SSID (AP)]
-H help
To see multiple examples/descriptions see: wifi -H
---------------->
let’s test the variation -p [static smartphone mimic] Set single static Samsung/Apple MAC identity
sudo wipri -d wlano -p
to make a long story short restart the device, after booting you should see the new hostname and mac
purism@laptop:# sudo macchanger -s wlan0
----------->
Current MAC: d0:17:6a:06:49:22 (apple)
Permanent MAC: 38:2c:4a:bf:5e:87 (Spark Lan…)
--------------->
now we are visible as Apple Laptop.
…I think at first, the screen resolution would betray us…
explore further on your own and have fun
something useful:
Systemd
sudo systemctl start SERVICE: Use it to start a service. Does not persist after reboot
sudo systemctl stop SERVICE: Use it to stop a service. Does not persist after reboot
sudo systemctl restart SERVICE: Use it to restart a service
sudo systemctl reload SERVICE: If the service supports it, it will reload the config files related to it without interrupting any process that is using the service.
systemctl status SERVICE: Shows the status of a service. Tells whether a service is currently running.
sudo systemctl enable SERVICE: Turns the service on, on the next reboot or on the next start event. It persists after reboot.
sudo systemctl disable SERVICE: Turns the service off on the next reboot or on the next stop event. It persists after reboot.
systemctl is-enabled SERVICE: Check if a service is currently configured to start or not on the next reboot.
systemctl is-active SERVICE: Check if a service is currently active.
systemctl show SERVICE: Show all the information about the service.
sudo systemctl mask SERVICE: Completely disable a service by linking it to /dev/null; you cannot start the service manually or enable the service.
sudo systemctl unmask SERVICE: Removes the link to /dev/null and restores the ability to enable and or manually start the service.