An advanced, all-in-one operational security (OPSEC) utility designed for ethical hackers, researchers, and privacy advocates.
- Overview
- Key Features & Modules
- Advanced OPSEC Hardening
- Prerequisites
- Installation
- Usage
- Under the Hood
- Frequently Asked Questions (FAQ)
- Troubleshooting
- Disclaimer
- License
In today's digital landscape, relying solely on a VPN is often insufficient for true operational security. Anon is a powerful Bash-based framework that forcibly routes your entire system's network traffic through the Tor network using strict iptables rules.
Beyond network routing, Anon actively hardens your machine's footprint by randomizing hardware identifiers (MAC addresses), blocking hardware tracking (Bluetooth), wiping volatile memory (Anti Cold Boot), spoofing OS fingerprints, and thwarting Man-in-the-Middle (MITM) attacks.
Anon is modular. You can toggle any combination of the following security layers:
- ๐ Anti-MITM (Man-in-the-Middle) Detects and blocks ARP spoofing and malicious packet injections on your local network.
- ๐งน Log Killer
Uses
secure-delete(srm) to overwrite and completely obliterate system logs (/var/log/*), ensuring no traces of your activities remain on the disk. - ๐ญ IP Changer (Transparent Proxy)
Configures
iptablesto drop all non-Tor traffic. Forces all TCP/UDP connections through Tor's transparent proxy, effectively masking your real IP address. - ๐ก DNS Changer
Prevents DNS leaks by modifying
/etc/resolv.confand forcing DNS resolution through Tor's isolated DNS port (Port 5300). - ๐ฑ MAC Changer Randomizes the physical MAC addresses of all active Network Interface Cards (NICs) to prevent device tracking on local networks (e.g., public Wi-Fi).
- ๐ท๏ธ Hostname Changer Temporarily changes your machine's hostname to a randomized string, masking your device's identity on local networks.
- ๐ต๏ธ Browser Anonymization Injects secure, anti-fingerprinting configurations into supported browsers to prevent Canvas fingerprinting and WebRTC IP leaks.
- โ๏ธ Anti Cold Boot
Wipes remaining RAM contents (
sdmem) upon system shutdown to protect encryption keys and sensitive data from Cold Boot physical attacks. - ๐ Kill Switch
In an emergency, instantly drops all
iptablestraffic rules, completely cutting off your machine from the internet.
These modules elevate Anon from a simple proxy router to a state-of-the-art OPSEC utility designed to counter deep-packet inspection and advanced tracking:
- ๐ Tor Bridges (Obfs4)
Bypasses Tor censorship (e.g., in China or corporate networks) by obfuscating your Tor traffic as random, meaningless data using obfs4 pluggable transports.
Note: If you live in a censored region, you MUST use bridges. To get them, visit bridges.torproject.org/options, select obfs4, get the bridges (ensure they are IPv4, not IPv6), and paste them into the Anon terminal when prompted. Anon will automatically remember your bridges for future sessions.
- ๐ป OS Obfuscation (TCP/IP Fingerprinting)
Modifies kernel
sysctlparameters (such as TTL and TCP Window sizes) so that network scanners (like Nmap) identify your Linux machine as a generic Windows 10 client. - ๐ด Bluetooth Disabler (Beacon Tracking Protection)
Actively blocks all Bluetooth receivers and transmitters using
rfkill, preventing passive beacon tracking and Bluejacking attacks. - ๐ป Process Obfuscation
Spoofs the process names of common hacking tools (e.g.,
nmap,sqlmap,tor) by wrapping them inexec -a "[kworker/u4:2]". They will appear as benign system background tasks in the process tree, hiding them from local malware or monitoring. - โ๏ธ Proxychains-ng Integration
Automatically configures
proxychains4.confto hook into Tor's Socks5 port (9050). This forces stubborn tools that ignore system proxies to route securely through the Tor network. - โณ Fake Timezone Synchronization
Defeats time-based fingerprinting by randomly selecting a global timezone (e.g.,
Asia/Tokyo,America/New_York) instead of just defaulting to UTC.
Anon features an Interactive Dependency Checker. If any core packages are missing upon launch, Anon will automatically prompt to install them for you using apt-get. Key dependencies include:
tor,obfs4proxy,proxychains4iptables,macchanger,network-manager,rfkillsecure-delete,python3-scapy,curl
# Clone the repository
git clone https://github.com/egnake/anon.git
cd anon
# Install dependencies and global shortcut
sudo make install
# Run the tool
sudo anonAnon fully supports Windows environments by leveraging the Windows Subsystem for Linux (WSL).
- Ensure WSL 2 is installed.
- Run the
setup.batfile as a standard user.- It will automatically set up your global Windows
PATH. - It will boot into WSL, install dependencies, and compile the tool.
- It will automatically set up your global Windows
- Open a new Command Prompt or PowerShell and type:
anonAnon features an interactive, user-friendly Command Line Interface.
Just type anon to open the interface. Type the number of the module you want to toggle. Green [ โ ON ] indicates the module is active. Once configured, press 0 to apply settings and route your traffic.
sudo anonYou can bypass the menu for rapid execution:
# Immediately start Anon with your last saved configuration
sudo anon --start
# Stop all anonymization and restore default network settings
sudo anon --stop
# Show system status and active modules
sudo anon --status
# Open the Live Real-time Dashboard
sudo anon --dashboard
# Launch a completely RAM-based disposable browser (Zero-Trace)
sudo anon --browser
# Show help menu
anon --helpWhen you trigger the IP Changer, Anon does not just set a local proxy. It actively flushes your current iptables and establishes a Transparent Tor Proxy. It sets up DNAT rules to redirect DNS requests to Tor's DNS port, and uses REDIRECT rules for all TCP traffic to Tor's TransPort. Any traffic that bypasses Tor is strictly DROPPED, ensuring zero leakage even if an application ignores proxy settings.
Q: Since all traffic is routed through Tor, couldn't someone reverse-engineer my Tor Exit Node IP to track me down?
A: If you were using a standard VPN, yesโthey could find you in seconds. However, with the Tor network (especially when combined with obfs4 bridges), this is mathematically and practically nearly impossibleโeven for state-level intelligence agencies.
Tor uses a 3-layer "Onion" routing architecture:
- Entry Guard (e.g., our obfs4 Bridge): Knows who you are (your real IP) but has no idea where your traffic is going or what data you are sending, as the payload is heavily encrypted. By using an obfs4 bridge, even your ISP cannot distinguish your Tor connection from random encrypted internet garbage.
- Middle Relay: This node only knows that encrypted data came from the Entry Guard and is going to the Exit Node. It knows neither your real IP nor your destination website. It is completely blind.
- Exit Node (e.g., the Luxembourg/Sweden IP): This node decrypts the traffic and connects to the final destination (e.g., facebook.com). It knows which website you are visiting, but it only sees the data coming from the Middle Relay. It has absolutely no way to know your real IP address or identity!
For an adversary to perform a "Timing Correlation Attack" (tracing the traffic backward), they would need to control or monitor both your specific Entry Node and your specific Exit Node simultaneously on a global scale. Furthermore, because our anon --browser module runs entirely in RAM and is securely wiped (shred) upon exit, it leaves zero browser fingerprints or cookies, rendering identity-correlation attacks useless.
Q: But the Entry Guard knows my real IP! Couldn't authorities seize the Entry Guard and trace me?
A: No, because in the Tor network, knowledge is strictly compartmentalized. No single node possesses the complete picture. If authorities seize the Entry Guard, the logs will only show: "IP X connected to me, and I forwarded encrypted data to Middle Relay Y." They discover WHO you are, but they have absolutely no idea WHAT you were doing (the destination, the data, the activity), because the payload is heavily encrypted. If authorities seize the Exit Node, the logs will show: "Someone from Middle Relay Y connected to this target website." They discover WHAT was done, but they have absolutely no idea WHO did it.
- Entry Node: Knows WHO, but not WHAT.
- Exit Node: Knows WHAT, but not WHO.
- Middle Node: Knows NEITHER (only acts as a bridge between the two).
Because of this cryptographic separation, your real IP at the Entry Node can never be mathematically linked to the actions at the Exit Node.
Anon is built for educational, research, and ethical hacking purposes only. The developers and contributors of this project do not endorse, encourage, or support any illegal activities. You are solely responsible for your actions and ensuring that your use of this tool complies with all local, state, and federal laws.
This project is licensed under the MIT License.



