当前位置:网站首页>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
边栏推荐
- Precise query of tree tree
- gcc动态库fPIC和fpic编译选项差异介绍
- 深度剖析C语言指针
- On the inverse order problem of 01 knapsack problem in one-dimensional state
- Screenshot in win10 system, win+prtsc save location
- sublime text的编写程序时的Tab和空格缩进问题
- Restful API design specification
- [embedded] print log using JLINK RTT
- Computer cleaning, deleted system files
- marathon-envs项目环境配置(强化学习模仿参考动作)
猜你喜欢

vb. Net changes with the window, scales the size of the control and maintains its relative position

swagger设置字段required必填

个人电脑好用必备软件(使用过)

pytorch训练好的模型在加载和保存过程中的问题

Deep analysis of C language data storage in memory

Deep analysis of C language pointer

【嵌入式】使用JLINK RTT打印log

使用latex导出IEEE文献格式

TP-LINK enterprise router PPTP configuration

JS inheritance method
随机推荐
@Jsonbackreference and @jsonmanagedreference (solve infinite recursion caused by bidirectional references in objects)
LeetCode:26. 删除有序数组中的重复项
hutool优雅解析URL链接并获取参数
Bitwise logical operator
egg. JS getting started navigation: installation, use and learning
Browser thread
Leetcode: Sword finger offer 42 Maximum sum of continuous subarrays
Marathon envs project environment configuration (strengthen learning and imitate reference actions)
vb. Net changes with the window, scales the size of the control and maintains its relative position
Generator parameters incoming parameters
poi追加写EXCEL文件
LeetCode:236. 二叉树的最近公共祖先
LeetCode:673. 最长递增子序列的个数
Using C language to complete a simple calculator (function pointer array and callback function)
Precise query of tree tree
查看局域网中电脑设备
Revit 二次开发 HOF 方式调用transaction
企微服务商平台收费接口对接教程
C语言深度解剖——C语言关键字
Using pkgbuild:: find in R language_ Rtools check whether rtools is available and use sys The which function checks whether make exists, installs it if not, and binds R and rtools with the writelines