Overview for rules released by Trustwave SpiderLabs in November for ModSecurity Commercial Rules package. The rules are available for versions 2.9.x and 3.x of ModSecurity.
ModSecurity Rules from Trustwave SpiderLabs include custom virtual patches for public vulnerabilities.
- WordPress Plugin Ninja Forms 3.3.17 XSS CVE-2018-19287
- WordPress Plugin Media File Manager 1.4.2 LFI + CSRF CVE-2018-19040 CVE-2018-19042 CVE-2018-19043
- WordPress Plugin Media File Manager 1.4.2 XSS CVE-2018-19041
- WordPress Plugin Custom Frontend Login Registration 1.01 XSS
Trustwave SpiderLabs also released 14 new rules to detect suspicious crypto-mining activity.
- Crypto-Mining Activity
Although crypto-mining can be done legitimately, when website owners deploy mining software as an alternative to advertisements, the inserted code is mostly used by hackers as malware to hijack and utilize the CPU power of website visitors to their own advantage.
In these cases, the presence of crypto-mining script is clear evidence that the website has been compromised.
Please note that the default action for these rules is LOG only and further action needs to be taken if your website has already been compromised:
- Inspect the compromised web page and remove the malicious script
- Validate all input received from clients and instruct developers to perform input validation wherever user input is provided
- Make sure that you are using the latest, non-vulnerable software and versions, and check that all security patches have been applied
For more information regarding crypto-mining, please refer to the Trustwave blog.