当前位置:网站首页>Alibaba cloud server mining virus solution (practiced)
Alibaba cloud server mining virus solution (practiced)
2022-07-06 08:49:00 【Xiao Li Xiao Liu】
1、cpu Too high , It's a virus


2、 Get into Linux Connect to Alibaba cloud server
3、 Use top Command dynamic view cpu Occupancy rate
Two cases
1、 No processes with high occupancy are found , Skip to step 7
2、 Found processes with high occupancy , Use kill -9 pid Killing the process will find that the virus continues to appear , useless , Skip to step four
4、 Check the address of the virus file
Input ls -l /proc/{
Viruses PID}/exe Check the virus path

5、 Enter the virus file , Delete them all

6、kill Kill process , complete , Look again cpu, Virus free process done
7、 If the Alibaba cloud server displays cpu Very high , however Linux The viewing process did not find cpu The process with a high proportion , Then it means that the process is hidden .
adopt cat /etc/ld.so.preload It's found that there are .so The file of , This is a virus hidden file
vim Enter this file and you will find many .so file , But it is a read-only file , Cannot modify file
So simply put the whole ld.so.preload File deletion .
8、 After deleting , Use top Check the process , appear cpu Processes with a high proportion

9、 Skip to step 4
10、 use crontab -l Check whether there are scheduled tasks
Delete scheduled tasks crontab -r

summary :
1. use top Check the process Get virus pid
2. hide Delete cat /etc/ld.so.preload .so file
3. Not hidden
4. ls -l /proc/{
Viruses PID}/exe Check the virus file path
5. Delete virus files
6. kill -9 pid Kill the virus process
边栏推荐
- JVM quick start
- LeetCode:劍指 Offer 42. 連續子數組的最大和
- hutool优雅解析URL链接并获取参数
- Roguelike game into crack the hardest hit areas, how to break the bureau?
- 目标检测——Pytorch 利用mobilenet系列(v1,v2,v3)搭建yolov4目标检测平台
- UnsupportedOperationException异常
- swagger设置字段required必填
- C语言深度解剖——C语言关键字
- Light of domestic games destroyed by cracking
- 【ROS】usb_ Cam camera calibration
猜你喜欢
随机推荐
广州推进儿童友好城市建设,将探索学校周边200米设安全区域
LeetCode:236. 二叉树的最近公共祖先
Mobile phones and computers on the same LAN access each other, IIS settings
R language ggplot2 visualization, custom ggplot2 visualization image legend background color of legend
LeetCode:39. 组合总和
@Jsonbackreference and @jsonmanagedreference (solve infinite recursion caused by bidirectional references in objects)
Current situation and trend of character animation
Research Report on supply and demand and development prospects of China's high purity aluminum market (2022 Edition)
随手记01
Indentation of tabs and spaces when writing programs for sublime text
项目连接数据库遇到的问题及解决
Swagger setting field required is mandatory
Sublime text in CONDA environment plt Show cannot pop up the problem of displaying pictures
Unsupported operation exception
What is the role of automated testing frameworks? Shanghai professional third-party software testing company Amway
Target detection - pytorch uses mobilenet series (V1, V2, V3) to build yolov4 target detection platform
Report on Market Research and investment prospects of China's silver powder industry (2022 Edition)
Problems in loading and saving pytorch trained models
Double pointeur en langage C - - modèle classique
企微服务商平台收费接口对接教程









