[Paper Review] Preventing the attempts of abusing cheap-hosting Web-servers for monetization attacks
This paper proposes a dual-layered defense system to detect and prevent monetization attacks on cheap-hosted websites, using signature-based scanning and behavior-centric monitoring to identify malicious scripts and abnormal server activity. The system successfully rescued multiple compromised websites and blocked repeated attack attempts by detecting cryptojacking, phishing, and spam campaigns through real-time monitoring and automated alerts.
Over the past decades, the web is always one of the most popular targets of hackers. Today, along with the popular usage of open sources such as Wordpress and Joomla, the explosion of the vulnerabilities in such frameworks causes the websites using them to face numerous security threats. Unfortunately, many clients and small companies may not be aware of these serious security threats and call a rescuer only when the website is hacked, compromised, or blocked by the search engines. In this paper, we present an effective counter against such threats, including monetization attempts in the less valuable targets such as small websites.
Motivation & Objective
- To address the rising threat of monetization attacks on small, cheap-hosted websites using open-source CMS like WordPress and Joomla.
- To identify and mitigate common attack vectors such as SQL injection, remote code execution, and malicious add-ons in outdated or nulled components.
- To develop a practical, lightweight protection system deployable on shared hosting environments with limited system privileges.
- To detect and respond to malicious activities such as cryptojacking, phishing, and spam campaigns through real-time behavior monitoring.
- To provide actionable alerts and automated response mechanisms for website administrators to restore and secure compromised sites.
Proposed method
- A passive, signature-based scanning engine uses regex patterns and file hash lists to detect known malicious scripts and injected code.
- An active, behavior-centric monitor detects anomalies such as high CPU usage, excessive outbound network requests, and unauthorized file modifications.
- The system classifies suspicious activities using a decision tree model trained on execution time, protocol usage (e.g., SMTP), and network behavior.
- The detection pipeline integrates with shared hosting environments via PHP-based deployment for compatibility with common CMS platforms.
- For dedicated servers, a Python-based monitor runs as an independent process to provide deeper runtime inspection.
- Administrators receive detailed alerts when anomalies are detected, including file paths and behavioral descriptions for rapid response.
Experimental results
Research questions
- RQ1How do attackers commonly exploit vulnerabilities in low-cost, shared-hosted websites to enable long-term monetization?
- RQ2What behavioral indicators can reliably distinguish malicious scripts from legitimate website activity in resource-constrained environments?
- RQ3How can a lightweight, deployable system detect and prevent monetization attacks without requiring privileged server access?
- RQ4What combination of signature-based scanning and behavior monitoring provides optimal detection of evolving attack patterns?
- RQ5How effective is the system in rescuing already-compromised websites and blocking repeated attack attempts?
Key findings
- The system successfully detected and blocked automated attack scripts targeting known vulnerabilities in Joomla 3.7.x and WordPress Super Cache.
- Behavior monitoring identified malicious scripts with high CPU usage and abnormal outbound traffic, even when they bypassed signature-based detection.
- The decision tree classifier effectively distinguished between benign and malicious activities using features like execution time and protocol-specific request volume.
- Multiple compromised websites were rescued and protected, with repeated attack attempts from the same botnet failing due to the system’s detection mechanisms.
- The system’s real-time alerts enabled administrators to respond promptly, identifying malicious files and restoring site integrity.
- The deployment of the system in shared hosting environments proved feasible and effective, even with limited access to server-level configurations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.