当前位置:网站首页>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
边栏推荐
- LeetCode:221. 最大正方形
- Revit secondary development Hof method calls transaction
- [embedded] print log using JLINK RTT
- Browser thread
- The mysqlbinlog command uses
- Super efficient! The secret of swagger Yapi
- China polyether amine Market Forecast and investment strategy report (2022 Edition)
- Restful API design specification
- How to conduct interface test? What are the precautions? Nanny level interpretation
- @Jsonbackreference and @jsonmanagedreference (solve infinite recursion caused by bidirectional references in objects)
猜你喜欢
Crash problem of Chrome browser
软件卸载时遇到trying to use is on a network resource that is unavailable
生成器参数传入参数
Variable length parameter
【嵌入式】使用JLINK RTT打印log
[embedded] print log using JLINK RTT
个人电脑好用必备软件(使用过)
项目连接数据库遇到的问题及解决
Mobile phones and computers on the same LAN access each other, IIS settings
Simple use of promise in uniapp
随机推荐
C language double pointer -- classic question type
TCP/IP协议
China dihydrolaurenol market forecast and investment strategy report (2022 Edition)
vb. Net changes with the window, scales the size of the control and maintains its relative position
Simple use of promise in uniapp
sublime text的编写程序时的Tab和空格缩进问题
LeetCode:673. 最长递增子序列的个数
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
LeetCode:剑指 Offer 03. 数组中重复的数字
LeetCode:394. 字符串解码
角色动画(Character Animation)的现状与趋势
What is the role of automated testing frameworks? Shanghai professional third-party software testing company Amway
目标检测——Pytorch 利用mobilenet系列(v1,v2,v3)搭建yolov4目标检测平台
LeetCode:41. 缺失的第一个正数
Deep anatomy of C language -- C language keywords
Tdengine biweekly selection of community issues | phase III
Niuke winter vacation training 6 maze 2
个人电脑好用必备软件(使用过)
自动化测试框架有什么作用?上海专业第三方软件测试公司安利
LeetCode:236. 二叉树的最近公共祖先