Configure Ghost Free VPS: Complete Anonymity Techniques to Hide Servers from Shodan and Censys
A detailed guide on configuring a VPS without ghost traces to achieve complete anonymity from Shodan and Censys scanning tools, including system setup, customization, and...
Configure Ghost Free VPS: Complete Anonymity Techniques to Hide Servers from Shodan and Censys
In today's technical landscape, protecting your server from online scanning tools like Shodan and Censys is a critical part of security. These tools collect information about online servers based on traces such as hostnames, open services, and network communication details. A Ghost Free VPS is a server that leaves no detectable traces, helping you avoid attacks or surveillance. This guide provides a detailed walkthrough of how to configure a secure, completely anonymous VPS with no traces left on platforms like Shodan and Censys.
1. Understanding Ghost Free VPS and Its Importance
A Ghost Free VPS is not just a server without malware—it's a system designed to leave no detectable traces from external sources. This includes:
- No default hostname.
- No unnecessary open services.
- No exposed service banners.
- No public IP or domain names linked to the provider.
This is especially important when running sensitive services such as proxy servers, self-hosted applications, or high-security systems. Shodan and Censys often scan for indicators such as:
- Default hostnames (e.g.,
server1.example.com). - Service banners from SSH, HTTP, FTP, etc.
- Public IP addresses and provider-related domain names.
2. Steps to Configure a Ghost Free VPS
To create a Ghost Free VPS, follow these steps:
2.1. Change the Hostname
The default hostname often contains provider or server name information. Replace it with a random name.
bash\n# Change hostname\nsudo hostnamectl set-hostname \"random-server-01\"\n# Update /etc/hostname file\necho \"random-server-01\" | sudo tee /etc/hostname
2.2. Disable Service Banner Information
For SSH, disable banner information by editing /etc/ssh/sshd_config:
bash\n# Edit sshd_config\nsudo sed -i 's/#Banner none/Banner none/' /etc/ssh/sshd_config\nsudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin no/' /etc/ssh/sshd_config\nsudo sed -i 's/#PermitEmptyPasswords no/PermitEmptyPasswords no/' /etc/ssh/sshd_config\nsudo systemctl restart ssh
2.3. Disable Unnecessary Services
Run the following command to list running services:
bash\nsudo systemctl list-units --type=service --state=running
Disable unnecessary services such as:
- Apache, Nginx if not in use.
- MySQL, PostgreSQL if not needed.
- Unnecessary system monitoring services.
Disable a service using:
bash\nsudo systemctl disable
2.4. Disable System Information on Open Ports
Modify /etc/motd or /etc/issue to remove system information:
bash\nsudo echo \"\" | sudo tee /etc/motd\nsudo echo \"\" | sudo tee /etc/issue
3. Test Your VPS Anonymity
After configuration, verify whether your VPS is still detectable on Shodan and Censys.
3.1. Check on Shodan
Visit https://shodan.io and search for your VPS IP. If no results appear, your VPS is anonymous.
3.2. Check on Censys
Visit https://censys.io and search for your IP. If no information appears, your VPS is fully hidden.
4. Additional Security Tips
To further enhance security, consider these steps:
- Use a firewall (iptables or UFW) to block unnecessary ports.
- Run services on non-standard ports (e.g., 8080, 8443).
- Change SSH to a non-default port (not 22).
- Change public IP if possible (though not feasible on standard VPS).
5. Conclusion
Configuring a Ghost Free VPS is not just about disabling services—it's a comprehensive process to eliminate all detectable traces. With the steps outlined, you can create a fully anonymous server that leaves no footprint on Shodan and Censys. This technique is essential for users running sensitive or high-security services.
For more on high-performance VPS solutions, explore NVMe Cloud VPS for Docker, Nginx & Databases or zero-downtime VPS migration between providers.
3. Practical Verification of Ghost Free Configuration
To confirm the VPS is truly hidden from Shodan and Censys, perform the following non-destructive checks. These steps require only a terminal and public internet access; no GUI, GPU, or kernel modifications are needed.
3.1. Verify Hostname and System Information
Ensure the hostname and system banners are removed. Run this command to check:
hostname
The output should be the randomized hostname (e.g., random-server-01), not the provider’s default. To verify the absence of system info in login banners:
cat /etc/motd
Expected output: an empty line or no content. Repeat for /etc/issue:
cat /etc/issue
3.2. Check SSH Banner and Service Headers
Test the SSH banner by connecting via telnet to the VPS’s IP on port 22 (or the custom SSH port). Replace YOUR_IP and SSH_PORT with your actual values:
telnet YOUR_IP SSH_PORT
After connecting, the server should not display any system details (e.g., no "Ubuntu 22.04", no "OpenSSH 8.9"). If a banner appears, the configuration is incomplete.
3.3. Validate Service Port Visibility
Use nmap to scan open ports and check for service banners. Install nmap if needed:
sudo apt install nmap -y
Run a banner scan on your VPS IP:
nmap -sV YOUR_IP
Ensure no open services (like HTTP, FTP, or MySQL) are detected. If services are listed, disable them via systemctl disable as shown in the guide.
3.4. Test on Shodan and Censys
Visit https://shodan.io and search for your VPS IP. If no results appear, the server is not indexed. Repeat for https://censys.io. A blank result indicates successful anonymization.
Prerequisites: A working VPS with SSH access, internet connectivity, and a terminal. No root access is required for testing, but some checks need sudo for installing tools.
Limitations: This method only verifies the current state. Shodan and Censys may re-index the server later if new services are exposed. The IP address cannot be changed on standard VPS platforms, so full anonymity relies on hiding traces, not changing identity.
Related infrastructure & engineering guides: NVMe Cloud VPS for Docker, Nginx & Databases · Bacalhau Project: Processing Large Data with Compute Over Data Without Transferring Files Between VPS
Recommended NVMe Cloud VPS Plans to Deploy This Setup
Enterprise RAID 10 NVMe SSDs, CMC & FPT District 9 uplinks with Anycast Anti-DDoS and 99.99% SLA.
VPS-3E
10% VAT included
- CPU: 2 vCPU
- RAM: 4 GB
- SSD: 50 GB NVMe
