Skip to Content
BARE METAL EDITION v10.0 โ€” DEBIAN 13 TRIXIE VERIFIED

Tor Anonymity
Redefined.

The industry standard for deploying hardened Tor Hidden Services on bare metal. Featuring the Neural Sentry Engine, ModSecurity WAF with full unicode support, automated privacy monitoring, and kernel-level hardening โ€” all in a single installer.

Documentation
100%
Uptime
DEBIAN
Trixie Verified
0 LOGS
Anti-Forensic
WAF
ModSecurity v3

Core System Capabilities

Bare Metal Edition v10.0 modular components โ€” each independently toggled during install, each production-hardened.

Neural Sentry

Active Defense Daemon

A Python IPS daemon that monitors Tor circuit creation in real time using python3-stem. When circuit creation spikes โ€” a hallmark of DDoS or circuit flooding โ€” it sends a NEWNYM signal to the Tor control port, forcing a circuit rotation that severs the attack vector instantly.

Control Interface127.0.0.1:9051
Auth MethodCookie
Log Target/var/log/tor/sentry.log (RAM)
Systemd Unitneural-sentry.service

SSH Safety Valve

Cloud-Aware Ingress

The NFTables firewall defaults to dropping all inbound connections โ€” including SSH. On Cloud VPS deployments, losing SSH access mid-install is fatal. The Safety Valve prompts interactively and surgically inserts a tcp dport 22 accept rule only when explicitly confirmed, leaving the hidden service fully isolated.

Default stateCLOSED (safe default)
ActivationInteractive prompt
Mechanismsed -i nftables.conf
Tor impactZero

Balanced Firewall

NFTables v1.1 Stateful

Previous versions used aggressive rate limiting that strangled Tor's own directory fetches, causing "Onion Site Not Found" at launch. v10.0 uses ct state established,related accept โ€” stateful tracking that allows Tor's outbound replies while dropping all unsolicited inbound. Port scans see nothing. Tor sees everything it needs.

Default policyDROP all inbound
Tor outboundFully unrestricted
LoopbackAlways accepted
ICMP rate limit5/sec

Amnesic Logging

Volatile Memory Architecture

All Tor and sentry logs are mounted into a tmpfs RAM disk at /var/log/tor โ€” 10MB, mode 0700. Power loss or reboot physically destroys all evidence. No data ever touches disk. The Privacy Monitor sanitizer also strips IPs from any log lines before they're written, enforcing SafeLogging 1 at both layers.

Mount point/var/log/tor (tmpfs)
Size10MB
Permissions0700 debian-tor
SafeLoggingEnforced

ModSecurity WAF

Web Application Firewall v3

Full ModSecurity v3 via libnginx-mod-http-modsecurity. The installer downloads modsecurity.conf-recommended and its companion unicode.mapping from upstream, rewrites SecUnicodeMapFile to an absolute path, and sets SecRuleEngine On. Malicious requests are terminated at the nginx layer before they reach Tor.

Engine modeBLOCKING (On)
Config path/etc/nginx/modsec/
unicode.mappingAuto-downloaded
SecUnicodeMapFileAbsolute path

Traffic Obfuscator

Side-Channel Defence

A Lua script injected at the nginx body_filter_by_lua_file phase pads all HTTP responses to random block sizes and introduces 10โ€“50ms timing jitter. This defeats traffic-correlation attacks that rely on consistent response sizes or timing signatures. The Privacy Monitor additionally strips Server, ETag, and X-Powered-By headers.

Timing jitter10โ€“50ms random
PaddingRandom block sizes
Headers scrubbedServer, ETag, X-Powered-By
Lua modulelibnginx-mod-http-lua

Privacy Monitor

Automated Compliance

A systemd timer that fires every 10 minutes (and 2 minutes after boot). It verifies the tmpfs RAM disk is still mounted, checks nginx isn't leaking identifiers, scans for disk-backed log files that shouldn't exist, and runs privacy_log_sanitizer.py to scrub any IPs or hostnames from log entries in RAM.

Timer intervalEvery 10 minutes
Boot delay2 minutes
Systemd unitprivacy-monitor.timer
IP scrubbingAutomated

Tor Auto-Detection

Debian 13 Aware

On Debian 13 Trixie, tor.service is a dummy master with ExecStart=/bin/true. The real process runs under tor@default.service. detect_tor_service() reads the ExecStart property directly at install time and targets the correct unit throughout โ€” no manual intervention needed.

Detection methodsystemctl show ExecStart
Debian 13 unittor@default.service
Classic unittor.service
Fallbackis-active check

Traffic Analysis Shield

Correlation Attack Defence

traffic_analysis_protection.sh deploys as a RemainAfterExit systemd service, running countermeasures against timing and volume correlation. Works alongside the Lua response padding to ensure network-level traffic patterns don't reveal content or request frequency even to a Tor-exit observer.

Systemd unittraffic-protection.service
Typeoneshot (RemainAfterExit)
Starts afternftables + tor
Correlation defenceActive

System Topology

Every request passes through three independent defence layers before any content is served. No layer can be bypassed without triggering another.

Tor Browser

Anonymous Client

Encrypted
Tor Network

3-hop onion routing

Hidden
SERVER โ€” DEBIAN 13 TRIXIE
NFTables Firewall LAYER 1
ModSecurity WAF LAYER 2
Neural Sentry IPS LAYER 3
Nginx Hidden Service 127.0.0.1:80

Installer Execution Flow

Sanitize
Purge old configs & identity
Dependencies
apt + pip packages
Configure
Tor, nginx, WAF, Lua
Firewall
NFTables deploy
Bootstrap
Start all services

Anti-Forensic Architecture

Every layer is designed so that even a physical seizure of the hardware yields nothing useful to an adversary.

Response Manipulation

  • Response Padding: Lua body filter pads all responses to random block sizes, defeating content-length-based traffic correlation even inside encrypted Tor circuits.
  • Timing Jitter: 10โ€“50ms random delay injected per request. Timing-correlation attacks that rely on consistent server latency are defeated at the response level.
  • Header Scrubbing: Server, ETag, and X-Powered-By headers removed. Fingerprinting nginx version or platform from response headers is impossible.
  • server_tokens off: nginx version string suppressed at config level as a second layer of version concealment.

Amnesic Storage

  • RAM-only logs: /var/log/tor mounted as tmpfs. All Tor notices and Neural Sentry events exist only in volatile memory.
  • Power-loss destruction: Cutting power or rebooting irrecoverably destroys all log data. No forensic recovery is possible from disk after shutdown.
  • IP sanitisation: privacy_log_sanitizer.py scrubs IPs and hostnames from log lines before they land in the RAM disk โ€” even in-memory logs are pseudonymised.
  • AvoidDiskWrites: Tor configured with AvoidDiskWrites 1 to minimise state written to persistent storage.

Network Isolation & Identity Protection

Tor Configuration

  • HiddenServiceVersion 3 โ€” v3 addresses are 56-character ed25519 keys, computationally infeasible to enumerate or spoof.
  • CookieAuthentication โ€” control port requires cookie auth, no cleartext passwords.
  • Service binds to 127.0.0.1:80 only โ€” nginx unreachable from any external interface.

Firewall Rules

  • Default inbound policy: DROP. No service reachable from the internet directly.
  • Loopback always accepted โ€” Tor โ†” nginx communication over localhost never blocked.
  • Forward chain policy: DROP โ€” no packet forwarding, preventing routing attacks.

Identity Management

  • Interactive identity wipe โ€” type wipe at install to securely destroy old keys and get a fresh address.
  • SAVE_MY_ONION.sh backs up key material offline before any wipe.
  • nginx runs as www-data, Tor as debian-tor โ€” full process isolation.

System Initialization

One command. Interactive feature selection. Onion address generated in under 90 seconds on a clean Debian 13 system.

root@aegis:~

Verify WAF Status

Confirm ModSecurity loaded and unicode.mapping resolved.

nginx -t && systemctl status nginx

Bare Metal โ€” Debian 13

tor@default auto-detected. All modules toggled interactively.

chmod +x install.sh && sudo ./install.sh

System Requirements

OSDebian 13 Trixie ยท Parrot ยท Kali
Privilegesroot required
NetworkInternet (WAF config downloaded)
Packagestor nginx nftables python3 + modules
RAM512MB+ recommended
Storage2GB+ (logs stay in RAM)

Frequently Asked Questions

Real questions from real deployments.

๐Ÿ”’ SECURITY ACTIVE