🛡️ How to Check If Your VPS Is Compromised or Infected

If your VPS is behaving strangely, running slow, or using more resources than expected, it could be compromised. Here’s a simple step-by-step guide for Hosteons clients to help detect common signs of infection or unauthorized access.


✅ Step 1: Check for Unusual CPU or Memory Usage

Start by checking if any process is consuming excessive resources:

top

or use:

htop

Look for unfamiliar processes, especially those using a high percentage of CPU or memory.


🧠 Step 2: Check for Unknown Network Connections

You can inspect open ports and active connections with:

ss -tulnp

Also try:

netstat -antup

Check for unknown IP addresses or ports your VPS shouldn’t be using (e.g., cryptomining pools, spam servers, etc.).


🔍 Step 3: Scan Running Processes

List all processes with their command line details:

ps auxf

Watch for suspicious scripts, base64-encoded strings, or unfamiliar binaries.


🔐 Step 4: Check for New or Unauthorized Users

List all users:

cat /etc/passwd

Check recent logins:

last

Or failed login attempts:

grep "Failed password" /var/log/auth.log

Watch for users or login attempts you don’t recognize.


🕵️ Step 5: Inspect Cron Jobs & Scheduled Tasks

Malware often installs cron jobs to maintain persistence:

crontab -l
ls -la /etc/cron*

Look for unusual scripts or scheduled commands.


🐚 Step 6: Scan for Malware

Install and run a malware scanner like Chkrootkit or ClamAV:

Chkrootkit:

apt install chkrootkit   # Debian/Ubuntu
chkrootkit

ClamAV:

apt install clamav
freshclam
clamscan -r /

These tools help detect rootkits, backdoors, and trojans.


📁 Step 7: Check for Suspicious Files

Search for recently modified or hidden files:

find / -type f -mtime -2
find / -name ".*" -type f

Look especially in /tmp, /var/tmp, or /dev/shm — common hiding places for malicious scripts.


📜 Step 8: Check System Logs

Scan through /var/log/syslog, /var/log/auth.log, and /var/log/messages for any strange activity.

Example:

less /var/log/auth.log

Use grep to search for specific keywords like root, sudo, fail, etc.


🚨 What to Do If You Suspect a Compromise

If you suspect your VPS has been compromised:

1. Disconnect from the internet (disable the network interface).

2. Back up important data (be cautious with infected files).

3. Open a support ticket with Hosteons: https://my.hosteons.com

4. Consider wiping and reinstalling the OS for full peace of mind.

5. Change all relevant passwords and SSH keys.


🧯 Prevention Tips

• Use strong passwords and SSH keys

• Keep your software and OS updated

• Disable root login and use a non-root user with sudo

• Set up a firewall like ufw

• Regularly monitor your server


Stay secure,

The Hosteons Team

How to Set Up V2RaySSR on Your VPS – A Complete Guide

If you’re looking for a powerful, secure, and flexible proxy solution, V2RaySSR might be just what you need. It’s a custom fork of V2Ray that includes support for ShadowsocksR (SSR), allowing for more advanced configurations and better censorship resistance.

In this post, we’ll walk you through how to set up V2RaySSR on your Hosteons VPS step by step.


🔍 What is V2RaySSR?

V2RaySSR combines the flexibility of V2Ray with the popular ShadowsocksR protocol, offering:

• Support for multiple protocols (VMess, VLESS, SSR, SOCKS, etc.)

• Strong encryption

• Obfuscation methods like WebSocket, TLS, mKCP, and more

• Reliable bypassing of network restrictions

It’s a go-to tool for developers, privacy-conscious users, and tech enthusiasts who want full control over their internet traffic.


✅ What You’ll Need

Before getting started, make sure you have:

• A Hosteons VPS (Ubuntu/Debian/CentOS preferred)

• Root SSH access

• A domain name (optional but recommended for TLS/HTTPS)

• Basic familiarity with SSH


🔧 Step 1: Connect to Your VPS

Open your terminal or SSH client and log in to your VPS:

ssh root@your_vps_ip

Replace your_vps_ip with the actual IP of your server.


📦 Step 2: Download & Run the V2RaySSR Script

Use the following command to install V2RaySSR via a trusted script:

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/V2raySSRR/master/v2ray.sh && bash v2ray.sh

This script will guide you through setup options like:

• Choosing the protocol (VMess, VLESS, SSR, etc.)

• Selecting ports

• Enabling TLS (for secure encrypted connections)

• WebSocket and fallback options

Take note of the configuration it generates — you’ll need it later for your client app.


🧱 Step 3: Open Required Ports

Depending on your server’s OS and firewall settings, you might need to manually open the necessary ports.

For Ubuntu/Debian with UFW:

ufw allow 443/tcp
ufw allow 443/udp

For CentOS with firewalld:

firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --permanent --add-port=443/udp
firewall-cmd --reload

📲 Step 4: Set Up Your V2RaySSR Client

Once the server is running, install a client on your device:

• WindowsV2RayN

• Androidv2rayNG

• iOS: Shadowrocket (App Store)

Input the configuration details (UUID, address, port, path, protocol, TLS settings, etc.) provided by the script.


🚀 Step 5: Test Your Setup

After everything is configured:

• Open your V2Ray client and connect

• Visit https://ipinfo.io or https://whatismyipaddress.com to confirm your traffic is routing through the VPS

• Check logs in the client app for errors or connection status


🛡️ Pro Tips

• Use a custom domain with Let’s Encrypt TLS for added security

• Change your UUID regularly to maintain privacy

• Keep your script and configuration up to date

• Monitor usage to ensure smooth operation and avoid abuse


Start building your own secure proxy with V2RaySSR — all powered by a Hosteons VPS.

🚀 Exciting Update: Windows Server 2025 Now Available on Hosteons KVM VPS! 🎉

We are thrilled to announce that Windows Server 2025 has been added to our KVM VPS templates! 🎊 You can now install it with just one click directly from our VPS control panel, making server deployment faster and easier than ever.

🔹 What’s New?

✅ Windows Server 2025 – The latest and most powerful version for your enterprise needs

✅ One-Click Installation – No manual setup required, just select and deploy

✅ Optimized Performance – Designed to run seamlessly on our high-speed KVM VPS infrastructure

Whether you’re running applications, hosting websites, or managing remote desktops, Windows Server 2025 brings enhanced security, efficiency, and performance for your business.

💻 Ready to upgrade? Log in to your Hosteons VPS control panel and deploy Windows Server 2025 today!

📩 Need help? Our support team is here 24/7.

➡️ www.hosteons.com