Hostxpeed Security Best Practices Checklist
Complete security checklist to harden your Hostxpeed VPS based on industry standards.
Search our knowledge base or browse by category below.
Complete security checklist to harden your Hostxpeed VPS based on industry standards.
Install free SSL certificate for your website using Let's Encrypt.
Configure unattended upgrades to automatically install security patches.
Set up SSH key-based authentication for passwordless and more secure logins.
Protect your VPS from brute force attacks by setting up Fail2ban intrusion prevention software.
Secure your VPS by setting up UFW (Uncomplicated Firewall) on Ubuntu/Debian.
Enhance security by changing the default SSH port to a non-standard port.
Step-by-step incident response plan for compromised VPS.
Quickly verify if your credentials have been compromised in data breaches.
Monitor if your credentials appear on dark web breaches using HaveIBeenPwned API.
Extract attacker IPs, commands, and patterns from honeypot logs.
Deploy a honeypot to detect and analyze attackers.
Email daily or weekly security reports to your admin address.
Automate security scans to run weekly using cron.
Automate vulnerability scanning with OpenVAS or Greenbone.
Apply security patches to fix known vulnerabilities.
Scan your system for known CVEs using built-in tools.
Enable FIPS 140-2 validated cryptography on your VPS.
Implement SSH CA for scalable key management.
Remove a compromised or unused SSH key from authorized_keys.
Regularly change SSH keys to improve security posture.
Manage SSH keys centrally using LDAP, SSH CA, or tools like Teleport.
Configure sudo to log every command executed with sudo.
Grant sudo rights for only specific commands to a user.
Create a custom sudoers file for specific user/command permissions.
Limit sudo privileges to specific groups or commands.
Allow only root to create or edit cron jobs on your system.
Prevent USB storage devices from being used on the server.
Blacklist unnecessary kernel modules to reduce attack surface.
Read SELinux denial messages for troubleshooting.
Turn on full SELinux enforcement after fixing denials.
Temporarily disable SELinux enforcement for troubleshooting.
Enable SELinux on CentOS/Rocky/AlmaLinux for enhanced security.
Enable and configure AppArmor to restrict program capabilities.
Use Docker or LXC to isolate user environments for security.
Use control groups to isolate and limit system resources for processes.
Set memory limits for users to prevent DoS conditions.
Prevent users from exhausting CPU resources using cgroups or ulimit.
Detect cryptocurrency mining malware on your VPS.
Detect reverse shell connections on your VPS.
Terminate malicious or unwanted processes safely.
Identify and investigate unusual processes running on your VPS.
Restrict login attempts and lock out attackers using plugins or system tools.
Disable or restrict XML-RPC in WordPress to prevent DDoS and brute force attacks.
Secure WordPress admin area using .htaccess or Nginx rules.
Prevent web servers from listing directory contents.
Prevent disclosure of PHP version to improve security through obscurity.
Hide server version information from HTTP responses.
Implement Content Security Policy to prevent XSS and data injection attacks.
Prevent cross-site scripting attacks using security headers and WAF.
Protect your web applications from SQL injection using WAF rules.
Comprehensive guide to setting up a WAF using ModSecurity or Cloudflare.
Set up ModSecurity WAF on Apache web server.
Install ModSecurity Web Application Firewall (WAF) for Nginx.
Automatically block IP addresses that perform port scans on your VPS.
Identify port scanning attempts using fail2ban or manual log analysis.
Close unnecessary open ports using UFW or iptables.
Check which network ports are open on your VPS and what services are listening.
Implement account lockout policy using faillock (modern alternative to pam_tally2).
Automatically lock user accounts after repeated failed login attempts using pam_tally2.
Force users to change passwords periodically using chage command.
Set up password complexity requirements using PAM.
Create secure passwords using command-line tools.
Enable HTTP Strict Transport Security to force HTTPS connections.
Ensure your Let's Encrypt SSL certificates renew automatically.
Secure your Hostxpeed control panel with Let's Encrypt SSL certificate.
Secure your backups using GPG or OpenSSL encryption.
Encrypt additional disk volumes using LUKS on your VPS.
Configure IPSec VPN using StrongSwan on your VPS.
Install and configure OpenVPN server on your Hostxpeed VPS.
Install and configure WireGuard VPN on your Hostxpeed VPS for secure remote access.
Hide your SSH port behind a sequence of connection attempts (port knocking).
Limit SSH connection attempts per IP to prevent brute force.
Multiple strategies to block brute force attacks on your VPS.
Configure SSH to send email alerts on successful logins using PAM.
Get email notifications whenever someone logs into your VPS.
Track failed login attempts using system logs and fail2ban.
Use auditd or inotify to monitor critical file changes in real-time.
Install and configure Linux Audit Daemon for system call monitoring.
Interpret and act on AIDE integrity check reports.
Install AIDE (Advanced Intrusion Detection Environment) to monitor file integrity.
Automate daily virus scans using ClamAV and cron jobs.
Verify that automatic security updates are working correctly.
Address common security warnings identified by Lynis audit.
Perform a comprehensive security audit using Lynis on your VPS.
Install Lynis security auditing tool for compliance testing and system hardening.
Execute a thorough rootkit scan using RKHunter on your Hostxpeed VPS.
Install Rootkit Hunter to scan for rootkits, backdoors, and local exploits.
Steps to manually or automatically remove detected malware from your VPS.
Use ClamAV to scan your VPS for malware, viruses, and suspicious files.
Install ClamAV open-source antivirus engine on your Hostxpeed VPS.
Add two-factor authentication to SSH for enhanced security using Google Authenticator.
Force SSH key authentication only by disabling password logins.
Prevent direct root login over SSH to improve security.
Remove an IP address from Fail2ban ban list to restore access.
Permanently ban an IP address using Fail2ban or manual iptables rules.
Customise Fail2ban settings for SSH protection, including ban time and retry limits.
Reset UFW firewall to factory default settings, removing all custom rules.
Block a specific IP address using UFW firewall on your Hostxpeed VPS.
Allow a specific IP address through UFW firewall for secure access.