当前位置:网站首页>There is a mining virus in the server
There is a mining virus in the server
2022-04-23 14:02:00 【Rookie cat meow meow】
use top Command view , These two mining viruses , Really .
The two of us have the same solution , For example .
Find out PID
ps -ef | grep kdevtmpfsi
Delete process
sudo kill -9 [PID]
Can pass sudo crontab -l See if there are any suspicious planned tasks .
The virus will restart soon , Look at its daemon
systemctl status [ Viruses PID]
[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly ![(img-ujJmM3q4-1650554012207)(C:\Users\14470\Desktop\ newly build Text document .assets\image-20220421222135428.png)]](/img/f1/45124e181116c9af6857090dc9f441.png)
Delete virus daemon
sudo kill -9 30409 30985
Delete Suspicious documents ’
It's usually in tmp Under the table of contents
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-WOjXqpyF-1650554012208)(C:\Users\14470\Desktop\ newly build Text document .assets\image-20220421222539667.png)]](/img/1a/2b92e2ffe0987def48f71b3c80eb85.png)
You can see kdevtmpfsi, These two virus files
Decisive deletion :
sudo rm kdevtmpfsi
stay /tmp Look under the directory to see :

These are all deleted
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-BMTkVjlR-1650554012210)(C:\Users\14470\Desktop\ newly build Text document .assets\image-20220421223641155.png)]](/img/f8/e5f081aa2663d0e0f781ccd019577f.png)
Delete !
- adopt
find / -name "*kdevtmpfsi*"Does the command search have kdevtmpfsi file
No, just
Now? cpu It's down .


After the fact check
- adopt
find / -name "*kdevtmpfsi*"Does the command search have kdevtmpfsi file - see Linux ssh Log in to the audit log .
CentosAndRedHatThe audit log path is/var/log/secure,UbuntuAndDebianThe audit log path is/var/log/auth.log. - Check crontab Is there any suspicious task in the planned task
Later protection
- Enable
ssh Public key login, Disable password login . Virtual machine: Perfect security strategy , Inlet flow , Generally only open 80 443 Just port , The outlet flow can be unlimited by default , If there is a need to limit according to demand .The physical machine: Can passHardware firewallperhapsOn the machine iptablesTo open the flow rules at the entrance and exit .- This machine does not directly need to provide external services , You can reject all traffic at the entrance of the external network card , adopt
jumperMachine intranet login service machine .
- Prohibition ip
版权声明
本文为[Rookie cat meow meow]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231342343007.html
边栏推荐
- go 语言 数组,字符串,切片
- Record a strange bug: component copy after cache component jump
- YARN线上动态资源调优
- Quartus prime hardware experimental development (de2-115 board) experiment II function adjustable comprehensive timer design
- 生产环境——
- 项目中遇到的问题(五)操作Excel接口Poi的理解
- As a junior college student, I studied hard in closed doors for 56 days, won Ali offer with tears, five rounds of interviews and six hours of soul torture
- 微信小程序基于udp协议与esp8266进行通信
- Introduction to spark basic operation
- 微信小程序与低功耗蓝牙通信-往硬件端发送数据(三)
猜你喜欢

About note 1

visio安装报错 1:1935 2:{XXXXXXXX...

关于pthread多线程一些好文章

Record a strange bug: component copy after cache component jump

微信小程序进行蓝牙初始化、搜索附近蓝牙设备及连接指定蓝牙(一)

Program compilation and debugging learning record

What is the difference between blue-green publishing, rolling publishing and gray publishing?

低频量化之明日涨停预测

Express ② (routage)

浅谈基于openssl的多级证书,Multi-level CA的签发和管理,以及双向认证
随机推荐
go 语言 数组,字符串,切片
scikit-learn构建模型的万能模板
【报名】TF54:工程师成长地图与卓越研发组织打造
JS 烧脑面试题大赏
收藏博客贴
Express②(路由)
Record a strange bug: component copy after cache component jump
分库分表 & ShardingSphere
快捷键(多行)
Jenkins construction and use
[code analysis (7)] communication efficient learning of deep networks from decentralized data
1256: bouquet for algenon
Programming travel function
微信小程序setInterval定时函数使用详细教程
1256:献给阿尔吉侬的花束
Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
接口文档yaml
Express ② (routing)
mysql通过binlog文件恢复数据
生产环境——