当前位置:网站首页>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
边栏推荐
- [code analysis (7)] communication efficient learning of deep networks from decentralized data
- Decimal 格式化小数位/DateTime 转换处理
- 容差分析相关的计算公式
- Node接入支付宝开放平台的沙箱实现支付功能
- 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
- MySQL 修改主数据库
- L2-024 部落 (25 分)
- Un modèle universel pour la construction d'un modèle d'apprentissage scikit
- 1256: bouquet for algenon
- 2021年秋招,薪资排行NO
猜你喜欢
随机推荐
scikit-learn构建模型的万能模板
低频量化之明日涨停预测
Jenkins construction and use
神经元与神经网络
Go语言 RPC通讯
What is the difference between blue-green publishing, rolling publishing and gray publishing?
项目中遇到的问题(五)操作Excel接口Poi的理解
Android篇:2019初中级Android开发社招面试解答(中
mysql新表,自增id长达20位,原因竟是......
Jiannanchun understood the word game
leetcode--357. 统计各位数字都不同的数字个数
New关键字的学习和总结
smart-doc + torna生成接口文档
Programming travel function
The latest development of fed digital currency
微信小程序基于udp协议与esp8266进行通信
leetcode--977. Squares of a Sorted Array
大专的我,闭关苦学 56 天,含泪拿下阿里 offer,五轮面试,六个小时灵魂拷问
基于Ocelot的gRpc网关
Qt Designer怎样加入资源文件