当前位置:网站首页>一大早支付宝来短信说你中“奖”了?处理服务器挖矿病毒 - kthreaddi
一大早支付宝来短信说你中“奖”了?处理服务器挖矿病毒 - kthreaddi
2022-07-28 15:22:00 【孙奋斗】
处理服务器挖矿病毒 - kthreaddi
- 当你服务器出现以下症状,恭喜你中奖了


今天一早打开服务器发现卡的不行,于是使用top命令查看了一番,果然不出所料,服务器被挖矿了,下面带来完整的解决办法!

由于比特币的疯涨,可能带动了其他挖矿病毒的产生,这个病毒不仅能疯狂占据cpu资源而且还能通过服务器的端口攻击其他服务器,可谓是损人不利己,十分恶毒!!!
先看看kthreaddi 丑陋面目
使用用 ll /proc/3436看看 哪里运行的
当看到是出现在www下面文件时并且[kthreaddi]进程用户是www 那就可能是通过web方式注入的,排除了我的第一个构思通过Redis端口进入的,然后切换到这个文件
还不现出原形!
里面有个链接打开竟然这么一条外国猛男的广告!
【 kthreaddi 】是挖矿病毒 不断的写入定时任务 执行操作
找到了你以为就解决了吗?
先是top命令查占用进程PID 3436直接杀死 但是过一段时间又会自动的建立进程,想想也是人家凭本事进来的岂能说走就走
这类杀不死并不是生命力顽强,而是有个任务在不停的跑
使用查看定时任务命令 crontab -e 果然有一条定时任务,更加可气的是找不到这个文件
那就只能 删除所有定时任务,那好说,宁可错杀一千,不能放过一个(过于鲁莽,建议先备份下定时任务的文件)
于是世界安静了!
边栏推荐
- Notes on October 22, 2021
- js 双向链表 01
- JS stack
- 2021 亚鸿笔试题
- 仅需三步 轻松实现远程办公
- SCI scientific paper writing Growth Camp (full version)
- 高精度绝对角度传感器应用高速度角度监测
- Image semantic segmentation practice: tensorflow deeplobv3+ train your own dataset
- Darknet training yolov4 record
- R language ggplot2 visually draws line plots, and uses gghighlight package to highlight the lines that meet the combination judgment conditions in the line graphs (satisfies both condition a and b)
猜你喜欢

Record doc

c语言编程当中两个!!的作用

Roson的Qt之旅#101 Qt Quick中的模型和视图

I'll show you a little chat! Summary of single merchant function modules

How to effectively conduct the review meeting (Part 1)?

Ethernet to RS485 serial port counter WiFi module LED light controller ibf165

leetcode 题目

NTC, PT100 thermal resistance to 4-20mA temperature signal converter

Installation points and precautions of split angle probe

2021 Kent interview question 3
随机推荐
疫情红利消失,「居家健身」泡沫消散
Set static IP in NAT mode of virtual machine
Fifth uncle's thinking
百度编辑器ueditor,编辑内容过多时,工具栏不可见,不方便编辑或上传问题
[wechat applet development (VII)] subscription message
R language uses ggpairs function of ggally package to visualize pairwise relationship graph of grouping multivariable, set alpha parameter to change image transparency, diagonal continuous variable de
2021 肯特面试题2
Record Clearfix clear float
JS linked list 01
js 数组(总结)
跳表的实现
Play dead prototype chain
A good start
JS queue
Redis系列4:高可用之Sentinel(哨兵模式)
Advantages of optical rain gauge over tipping bucket rain gauge
One channel encoder, two channels Di speed measurement, RS485 serial port connected to one channel do alarm module ibf151
2.855 billion yuan! Qingdao Xinen completed the capital increase: Xingcheng Jidian became the largest shareholder, holding 57.10%
Data real-time feedback technology
激光测距仪非接触式地表裂缝监测仪