zoukankan      html  css  js  c++  java
  • wipefs进程

    wipefs进程是啥,占用了百分之90多的cpu

    wipefs进程是啥,占用了百分之90多的cpu,把这个进程干掉了,过了一天又自动启动了,很多朋友应该遇到过类似的问题。

    wipefs是linux自带的程序,用来擦除文件系统数据。正常的wipefs,路径在/usr/bin/wipefs,如果你没有做设置,不会自启动,也不会大量占用cpu。你可以看一下是否是 /bin/wipefs 进程,如果是,应该是你的机器被黑了,这是别人在你机器上放了挖矿程序。

    此程序会:
    1.进行挖矿计算,大量占用cpu。
    2.复制自己到/bin/wipefs,创建服务/etc/init.d/wipefs,在 /etc/rc*.d 和 /etc/rc.d/rc*.d 中创建链接以实现开机启动。
    3.释放子程序到 /bin/ddus-uidgen,创建服务/etc/init.d/acpidtd,并在 /etc/rc*.d 和 /etc/rc.d/rc*.d 中创建链接以实现开机启动。
    4.修改/etc/resolv.conf, 可能是为其连接矿机服务的域名做服务。
    5.修改/etc/crontab, 为自己创建定时任务,每天12点与0点开始执行。(所以你会发现第二天又启动了)

    你需要做的:
    1.删除 /etc/crontab 中的定时任务。
    2.删除以下文件:
    /bin/wipefs
    /etc/init.d/wipefs
    /bin/ddus-uidgen
    /etc/init.d/acpidtd
    /etc/rc0.d/S01wipefs
    /etc/rc1.d/S01wipefs
    /etc/rc2.d/S01wipefs
    /etc/rc3.d/S01wipefs
    /etc/rc4.d/S01wipefs
    /etc/rc5.d/S01wipefs
    /etc/rc6.d/S01wipefs
    /etc/rc.d/rc0.d/S01wipefs
    /etc/rc.d/rc1.d/S01wipefs
    /etc/rc.d/rc2.d/S01wipefs
    /etc/rc.d/rc3.d/S01wipefs
    /etc/rc.d/rc4.d/S01wipefs
    /etc/rc.d/rc5.d/S01wipefs
    /etc/rc.d/rc6.d/S01wipefs
    /etc/rc0.d/acpidtd
    /etc/rc1.d/acpidtd
    /etc/rc2.d/acpidtd
    /etc/rc3.d/acpidtd
    /etc/rc4.d/acpidtd
    /etc/rc5.d/acpidtd
    /etc/rc6.d/acpidtd
    /etc/rc.d/rc0.d/acpidtd
    /etc/rc.d/rc1.d/acpidtd
    /etc/rc.d/rc2.d/acpidtd
    /etc/rc.d/rc3.d/acpidtd
    /etc/rc.d/rc4.d/acpidtd
    /etc/rc.d/rc5.d/acpidtd
    /etc/rc.d/rc6.d/acpidtd
    3. 检查机器漏洞,ssh权限,防火墙等,避免机器再次被攻击

  • 相关阅读:
    sparksql解析流程
    推荐算法简介:基于用户的协同过滤、基于物品的协同过滤、基于内容的推荐
    数据中台
    拉链表
    大数据去重与布隆过滤器
    推荐算法简介
    java获取resources文件夹中文件的路径
    Flink中设置事件时间
    [转载]REDIS缓存穿透,缓存击穿,缓存雪崩原因+解决方案
    使用Gson或者jackson代替Fastjson
  • 原文地址:https://www.cnblogs.com/dpf-learn/p/7792806.html
Copyright © 2011-2022 走看看