当前位置:网站首页>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
Delete virus daemon
sudo kill -9 30409 30985
Delete Suspicious documents ’
It's usually in tmp Under the table of contents
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
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 .
Centos
AndRedHat
The audit log path is/var/log/secure
,Ubuntu
AndDebian
The 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 firewall
perhapsOn the machine iptables
To 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
jumper
Machine intranet login service machine .
- Prohibition ip
版权声明
本文为[Rookie cat meow meow]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231342343007.html
边栏推荐
猜你喜欢
微信小程序进行蓝牙初始化、搜索附近蓝牙设备及连接指定蓝牙(一)
Crontab timing task output generates a large number of mail and runs out of file system inode problem processing
redis如何解决缓存雪崩、缓存击穿和缓存穿透问题
1256:献给阿尔吉侬的花束
基于ibeacons三点定位(微信小程序)
关于pthread多线程一些好文章
Postman reference summary
Jenkins construction and use
CentOS mysql多实例部署
JMeter pressure test tool
随机推荐
FDFS start
Nodejs安装及环境配置
接口文档yaml
蓝绿发布、滚动发布、灰度发布,有什么区别?
33 million IOPs, 39 microsecond delay, carbon footprint certification, who is serious?
【项目】小帽外卖(八)
CentOS mysql多实例部署
Express middleware ③ (custom Middleware)
容差分析相关的计算公式
Taobao released the baby prompt "your consumer protection deposit is insufficient, and the expiration protection has been started"
Oracle alarm log alert Chinese trace and trace files
freeCodeCamp----arithmetic_ Arranger exercise
Programming travel function
Basic knowledge learning record
腾讯根据ip解析地址
Quartus Prime硬件实验开发(DE2-115板)实验二功能可调综合计时器设计
leetcode--357. 统计各位数字都不同的数字个数
SPC简介
[VMware] address of VMware Tools
烟雾传感器(mq-2)使用详细教程(基于树莓派3b+实现)